53 Commits

Author SHA1 Message Date
jeanlf
98da8ecbb2 Align module documentation with the rest of the code, bump interface 4CCs and added libcaca output module 2023-07-17 17:39:20 +02:00
jeanlf
c18349ea27 Deprecate GF_Terminal and code reorganization
- remove terminal.c and related includes
- removed mp4client, osmo4ios, Osmo4 Android and MP4Box android
- added old mp4client features in gpac -mp4c
- iOS build now uses gpac directly
- added GPAC android (GUI, MP4Box and gpac command line) and cleanup android build
- fixed threading issues in android (audio, mediacodec)
- prevent JSRuntime destruction for android
- added display orientation handling for mobile devices
- fixed potential gl shader setup bug on iOS and android
- mobile camera support through libavdevice
- fixed bugs dealing with ttc font collection
- inspect filter can now dump to GPAC log system
2022-05-13 11:05:56 +02:00
Romain Bouqueau
258381ec41 typos 2021-06-02 12:59:31 +02:00
jeanlf
76c2c01d5a more cppcheck fixes 2020-06-08 11:23:11 +02:00
jeanlf
853c918e94 more cppcheck fixes 2020-06-05 18:22:00 +02:00
jeanlf
238bff0d5b fixed android vout 2020-02-11 21:32:19 +01:00
jeanlf
430ef287be deprecated old broken gl offscreen mode in output modules, only hybgl+fbo now supported 2020-02-11 20:17:35 +01:00
jeanlf
b631bb33a1 more cppcheck fixes 2019-07-19 18:33:49 +02:00
jeanlf
0840ed7da7 cleanup variable scope (cppcheck) 2019-07-18 17:00:09 +02:00
jeanlf
a745e319dd fixed warnings on android build 2018-11-23 11:26:39 +01:00
nguyen-viet-thanh-trung
41975ec254 fixed conflicts while merging PR #424 2016-03-04 16:38:11 +01:00
Romain Bouqueau
b5e51f8812 prepare for GPAC 0.6.0 release 2016-02-19 14:01:44 +01:00
emmanouil
443c337a4f added some error checking 2016-01-18 15:10:17 +01:00
emmanouil
bbbefba5c1 texture size and image for ES2 2016-01-18 15:02:34 +01:00
emmanouil
2fd97da536 parse gfVertex and gfTexCoord 2016-01-18 14:59:31 +01:00
emmanouil
3ffa7537cd ES2 texturing 2016-01-18 14:54:00 +01:00
emmanouil
8aba2920fb fixed orthographic projection matrix 2016-01-18 14:43:26 +01:00
emmanouil
73b19c20fe simplified fragment shader 2016-01-18 14:42:35 +01:00
emmanouil
427ba3e73f ES2 fullscreen mode 2016-01-18 14:42:11 +01:00
emmanouil
5d62a9fe7b removed GLES_FRAMEBUFFER_TEST code 2016-01-18 10:57:52 +01:00
emmanouil
e556e7ce98 minor tweaks (mostly to remove compilation warnings) 2016-01-14 18:50:12 +01:00
emmanouil
68181e6c22 completely decouple initGL and initGLES2 2016-01-14 16:58:23 +01:00
emmanouil
973769bdfd use different log tag for ES2 2016-01-14 16:55:46 +01:00
emmanouil
ebe0d8b73e oooops 2016-01-14 16:55:29 +01:00
emmanouil
3b2e6ff42e removed code for texture matrix from vertex shader (not need in disable mode) 2016-01-13 17:51:33 +01:00
emmanouil
ce3763242f uniform and attribute parsing functions 2016-01-13 17:18:44 +01:00
emmanouil
5fe6353dc6 added precision qualifiers in shaders (we are using medium) 2016-01-13 14:58:14 +01:00
emmanouil
7cfdb4542f wrong variable names 2016-01-12 18:50:00 +01:00
emmanouil
0ffee110d9 added load matrix and calculate projection functions 2016-01-12 18:22:25 +01:00
emmanouil
9444626798 GLES2-specific defs 2016-01-12 17:02:24 +01:00
emmanouil
a5e77cc73d added compile shader function
similar to the one in:
https://github.com/gpac/gpac/blob/master/src/compositor/visual_manager_3d_gl.c
2016-01-12 17:01:57 +01:00
emmanouil
ddf413c4de modified initGLES2 function 2016-01-12 17:00:37 +01:00
emmanouil
4a416ede1a more defs needed for GLES2 2016-01-12 16:15:10 +01:00
emmanouil
f50fdc37e8 first shader drafts 2016-01-12 13:36:17 +01:00
emmanouil
981ce95009 added function for initializing GLES2 programs 2016-01-12 13:36:05 +01:00
emmanouil
4b56408848 added program ids in AndroidContext struct 2016-01-12 13:35:14 +01:00
nguyen-viet-thanh-trung
dd18757af0 forward keyboard events to terminal to process 2015-11-02 16:26:39 +01:00
emmanouil
7fac2e0142 destroyed droid_vout.c 2015-05-06 16:23:36 +02:00
Damien Merenne
a4f3ae442b [Android] Do not call glDisable when it is not needed.
In the Android video out driver, glDisable is called at init and then
for each rendering step. As per the glEnable man pages, the capability
flags that are disabled in the driver are disabled by default:

    The initial value for each capability with the exception of
    GL_DITHER and GL_MULTISAMPLE is GL_FALSE.

So there is no need to call glDisable for those. Besides, it causes
spurious log messages on some Android devices:

    W/Adreno-ES20(24368): <process_gl_state_enables:519>: GL_INVALID_ENUM

which slows down the rendering process.
2015-04-02 10:41:04 +02:00
nguyen-viet-thanh-trung
ce9ea0512c force player in fullscreen in Android 2015-03-31 16:01:38 +02:00
Jean Le Feuvre
cde8be14f6 Fixed typo in static module macro
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5461 63c20433-aa62-49bd-875c-5a186b69a8fb
2014-10-16 14:00:10 +00:00
Romain Bouqueau
ab67e334fd enforce automatic coding style
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5225 63c20433-aa62-49bd-875c-5a186b69a8fb
2014-04-26 20:08:43 +00:00
Jean Le Feuvre
a9d511ef71 Reorganized 3D compositor to be GL stateless (preparing GLES2 support)
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5198 63c20433-aa62-49bd-875c-5a186b69a8fb
2014-04-10 18:33:34 +00:00
Jean Le Feuvre
31f60c212d Fixed potential crash in soft YUV stretcher
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@4947 63c20433-aa62-49bd-875c-5a186b69a8fb
2013-12-12 16:17:48 +00:00
Jean Le Feuvre
002d636b9e Update of iOS version (Ivica Patches #3), SDL2 support, cleanup of remaining modules not using static declaration macros
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@4358 63c20433-aa62-49bd-875c-5a186b69a8fb
2013-03-08 15:45:27 +00:00
Jean Le Feuvre
963b5456ee Moved all JLF coyright to TPT copyright
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@4109 63c20433-aa62-49bd-875c-5a186b69a8fb
2012-07-27 15:42:35 +00:00
Romain Bouqueau
47b9accb48 [bouqueau] export interface symbols for all modules
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@3973 63c20433-aa62-49bd-875c-5a186b69a8fb
2012-03-28 12:43:41 +00:00
Romain Bouqueau
f7e6dc8285 [bouqueau] fix smartphone 2003 / msvc9 inconsistencies
[bouqueau] end-of-lines hell strikes back


git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@3146 63c20433-aa62-49bd-875c-5a186b69a8fb
2011-05-17 16:47:02 +00:00
Pierre Souchay
191e33c909 Try to improve a bit performance by avoid logs on very used operations such as rendering audio and video
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@2944 63c20433-aa62-49bd-875c-5a186b69a8fb
2011-04-19 09:33:45 +00:00
Pierre Souchay
3fd5616ac7 Fixed JNI table of symbols full
git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@2891 63c20433-aa62-49bd-875c-5a186b69a8fb
2011-04-11 13:39:40 +00:00