summaryrefslogtreecommitdiffstats
path: root/opengl/libs
Commit message (Collapse)AuthorAgeFilesLines
* am 0ecf0b8d: Merge "Additional parameter validation for EGL functions"Jean-Baptiste Queru2013-06-251-6/+11
|\ | | | | | | | | * commit '0ecf0b8db74682222bf095a235e28edefff871a5': Additional parameter validation for EGL functions
| * Merge "Additional parameter validation for EGL functions"Jean-Baptiste Queru2013-06-251-6/+11
| |\
| | * Additional parameter validation for EGL functionsMichael Chock2012-09-121-6/+11
| | | | | | | | | | | | Change-Id: I841d005647559799edbc2c4824c61ea5791cf893
* | | EGL: expose the EGL_KHR_create_context extensionJamie Gennis2013-04-251-0/+1
| | | | | | | | | | | | | | | Bug: 8616866 Change-Id: Ic60f9f21397a1760c552b6f141d5177d1cbaf1f8
* | | fix "traceGpuCompletion" debug featureMathias Agopian2013-04-161-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | eglCreateSyncKHR requires a call to glFlush which we were not doing. fixed by moving the code above eglSwapBuffers(), which both fixes the problem and gives us a slightly better idea of when the GPU is done drawing. Change-Id: Ic826ef1fe25a6247742c3d49d0cb69f4031e3593
* | | Add liblogYing Wang2013-04-092-4/+4
| | | | | | | | | | | | | | | Bug: 8580410 Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
* | | fix local include pathsMathias Agopian2013-04-0411-22/+20
| | | | | | | | | | | | Change-Id: Icb921fa796ec08612dbb2feb7e7161bcb0cf4a99
* | | Fix MIPS assembly variable names to not conflict with GL API parameter namesJesse Hall2013-03-303-22/+22
| | | | | | | | | | | | Change-Id: I8e93fb55018de53a596cb176d48dbfdf1fd396e4
* | | Merge "don't use compile-time configuration of libgui as much as possible" ↵Mathias Agopian2013-03-291-4/+19
|\ \ \ | | | | | | | | | | | | into jb-mr2-dev
| * | | don't use compile-time configuration of libgui as much as possibleMathias Agopian2013-03-291-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now detect at runtime which sync features to use, which allows us to remove a lot of the compile-time configuration options. There is still one option though, to disable KHR_fence_sync on some devices (which are more efficient without it). - added a backdoor to get the vendor's EGL strings the new logic is: - use always ANDROID_native_fence_sync if available - fallback to KHR_fence_sync if available and not disabled by the compile-time option - use KHR_wait_sync if available and either of the above is enabled Change-Id: I9c4b49d9ff1151faf902cc93bd53ea5f205aaabf
* | | | am 111d920b: am d3b2c029: Merge "[MIPS] Add MIPS architecture support to ↵Keun-young Park2013-03-284-1/+116
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | opengl framework" * commit '111d920bb588669006bdd8699e786d6305f14c36': [MIPS] Add MIPS architecture support to opengl framework
| * | [MIPS] Add MIPS architecture support to opengl frameworkDuane Sand2013-03-284-1/+116
| | | | | | | | | | | | Change-Id: Id7704d35bed14d96a85dc1f29db0566cd03872b5
* | | replace eglWaitSyncANDROID by eglWaitSyncKHRMathias Agopian2013-03-282-18/+34
| | | | | | | | | | | | Change-Id: I22f1b3588011c88389e249f738f1e6915cc97e72
* | | cleanup EGL extensions strings and entry-pointsMathias Agopian2013-03-283-40/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move all the code related to EGL extensions in one place - add missing extension strings: EGL_KHR_lock_surface EGL_KHR_reusable_sync - add public extensions strings and entry-points EGL_ANDROID_wait_sync EGL_ANDROID_presentation_time - add missing entry-points for EGL_KHR_reusable_sync Change-Id: Ifd98966b549e8efd8ef5385eba0efde8c4cbc77b
* | | improved CallStack a bitMathias Agopian2013-03-212-6/+2
| | | | | | | | | | | | | | | | | | | | | - added a ctor that updates and dumps the stack immediately - added a "logtag" parameter to dump() Change-Id: Ie51c256071d282591752243bdb4f68cf9ff8829d
* | | Add eglPresentationTimeANDROIDAndy McFadden2013-03-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added EGL extension to set a timestamp on a surface. Also, fix JNI encoding of "long" in glgen. Bug 8191230 Change-Id: I38b7334bade3f8ff02bffe600bb74469ef22c164
* | | Merge changes Ic344ef63,If9bb02be,Ic8f94634Jesse Hall2013-02-2421-124/+6622
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Symlink /system/lib/libGLESv3.so -> libGLESv2.so Add ES3 support to libGLESv2 and tracing tools Import OpenGL ES 3.0 headers from Khronos SVN
| * | | Symlink /system/lib/libGLESv3.so -> libGLESv2.soJesse Hall2013-02-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The platform has a unified GLES2/GLES3 wrapper in libGLESv2.so, which is what bundled binaries should link against. The NDK will have separate GLES2 and GLES3 libraries so that applications will get a link error if they accidentally use GLES3 entry points in a GLES2 application. This symlink allows GLES3 NDK apps to load using the unified wrapper. Change-Id: Ic344ef63c334047fccebb55b7cb2fb23a4c2d61b
| * | | Add ES3 support to libGLESv2 and tracing toolsJesse Hall2013-02-1220-124/+6608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ES3 is backwards compatible with ES2, a new wrapper isn't necessary, and the Khronos implementation guidelines recommend supporting both versions with the same library. Change-Id: If9bb02be60ce01cc5fe25d1f40c4e7f37244ebf6
* | | | Merge changes I45836219,I70a4075eJesse Hall2013-02-235-5/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * changes: Regenerate API/trace files for constness change Import constness fix from gl3.h into gl2.h.
| * | | Regenerate API/trace files for constness changeJesse Hall2013-02-114-4/+4
| | | | | | | | | | | | | | | | Change-Id: I45836219fc0e97607d83d458de9babb44f4c7534
| * | | Import constness fix from gl3.h into gl2.h.Alistair Strachan2013-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change has been made in Khronos SVN for GLES2 already, however it is mildly controversial and discussion is on-going. This change is necessary for Android because otherwise applications cannot include both GLES2/gl2.h and GLES3/gl3.h as the glShaderSource() prototype mismatches. Native programs may include framework headers (which now include GLES3 headers only) but already have included GLES2 headers, creating an incompatibility. Change-Id: I70a4075e079ee063e76cef5a227abb0ae70aebb4
* | | | am 45b0e435: Merge "Simplify OpenGL TLS access on ARM."Elliott Hughes2013-02-145-56/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | # Via Elliott Hughes (1) and Gerrit Code Review (1) * commit '45b0e4350d3404bd194edc569e36ecca017c3d76': Simplify OpenGL TLS access on ARM.
| * | Simplify OpenGL TLS access on ARM.Elliott Hughes2013-02-135-56/+3
| | | | | | | | | | | | | | | | | | bionic now assumes the TLS register is available, so OpenGL can too. Change-Id: If2b56a4c08de9f887759b78f70022026a181dc47
* | | Force a specific locale for sortingJesse Hall2013-02-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Avoids irrelevant output differences based on the user's locale. The current output files were generated with a C or POSIX locale, and sort differently under en_US.UTF-8. Change-Id: I0dd85475e9ee2d58e7fa9fe2a4f86ad5c8142e00
* | | am 873ab60e: am 75b83e4d: Merge "Gfx-3d: fix GetProcAddress in egl extention"Jesse Hall2013-02-011-1/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | # By luliuhui # Via Android Git Automerger (1) and others * commit '873ab60e94811488caea1906eb98133329a3e28f': Gfx-3d: fix GetProcAddress in egl extention
| * | am 75b83e4d: Merge "Gfx-3d: fix GetProcAddress in egl extention"Jesse Hall2013-02-011-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | # By luliuhui # Via Gerrit Code Review (1) and Shuo Gao (1) * commit '75b83e4dc7d8055a70e590f868f7307fdaf656a7': Gfx-3d: fix GetProcAddress in egl extention
| | * | Gfx-3d: fix GetProcAddress in egl extentionluliuhui2013-01-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch can fix issue when Proc address return NULL. Glbench10, egl-ext and conformance test need this patch to run pass. Change-Id: I275c7cb6f77cb334c3ee7fa23cd696bba1c5a458 Author: Liuhui Lu <liuhui.lu@intel.com> Signed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 52622
| * | | am c859084c: am a9a4cd48: gltrace: Make sure device is debuggable.Siva Velusamy2012-11-201-0/+6
| |\ \ \ | | |/ / | |/| | | | | | | | | | * commit 'c859084ca303ca1ab69bdc78f864d39c9c81ab0b': gltrace: Make sure device is debuggable.
| | * | gltrace: Make sure device is debuggable.Siva Velusamy2012-11-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 6482fa4db0a7ac99cd3503d6bf170f80b26fb695) Change-Id: I205aabcab1932025c12e7ba3d1b3cf94684f6758
* | | | gltrace: Add support for tracing running applications.Siva Velusamy2012-12-205-47/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, to activate OpenGL tracing, an application has to be start with --opengl-trace option (or have a debug prop set). This CL adds support for tracing an application which may already be running. This is implemented as follows: - DDMS initiates a JDWP message to the VM indicating that opengl traces be enabled. - When that message is received, a flag is set that indicates that tracing should be enabled. - The trace flag is checked during every eglSwap() operation, and if it finds that tracing should be active and it isn't, then it starts the tracing component. Change-Id: I3347fe89fc06c7404d7aa9360f4b21e5bf36ebcb
* | | | Use LOCAL_REQUIRED_MODULES to establish dependencyYing Wang2012-12-041-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of using the tricky order-only dependency on a phony target module name. Change-Id: I691f2d352d1bd7f619bdb0b75070709e1b8222c0
* | | | gltrace: Make sure device is debuggable.Siva Velusamy2012-11-201-0/+6
| | | | | | | | | | | | | | | | Change-Id: Icc22ff823a2f56733b232b927dd1fa494e9e1e81
* | | | am 168dfe71: am 5e530e02: am a151a19d: Merge "Fix return type of ↵Andrew Hsieh2012-11-066-14/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | glGetAttribLocation and glGetUniformLocation" * commit '168dfe71bfafebaa26b6f75df553f5fad7607669': Fix return type of glGetAttribLocation and glGetUniformLocation
| * | | am a151a19d: Merge "Fix return type of glGetAttribLocation and ↵Andrew Hsieh2012-11-066-14/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | glGetUniformLocation" * commit 'a151a19db2fa07295837027fb5d84c02401cc78d': Fix return type of glGetAttribLocation and glGetUniformLocation
| | * | | Fix return type of glGetAttribLocation and glGetUniformLocationAndrew Hsieh2012-11-066-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from int to GLint. See: http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetAttribLocation.xml http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetUniformLocation.xml Change-Id: I4a9f8e9e34b8c3cca239ae84bfe8f3cdfd94802a
| | * | | Merge "egl: Reintroduce eglGetRenderBufferANDROID"Jean-Baptiste Queru2012-10-051-1/+17
| | |\ \ \
| | | * | | egl: Reintroduce eglGetRenderBufferANDROIDBjorn Andersson2012-08-271-1/+17
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | eglGetRenderBufferANDROID was removed as it had no users. This commit reintroduces this extensions as it's used by Qualcomm graphics HAL. Change-Id: I493306830a0d4f8722a42bcc84fb49236afdabeb
* | | | | am f58475b5: am 60393d45: Merge "Add runtime debugging capabilities to ↵Romain Guy2012-10-183-42/+137
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | OpenGL" into jb-mr1-dev * commit 'f58475b5ae4ccb3a31c05c79da8b2914c62a3510': Add runtime debugging capabilities to OpenGL
| * | | | am 60393d45: Merge "Add runtime debugging capabilities to OpenGL" into ↵Romain Guy2012-10-183-42/+137
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | jb-mr1-dev * commit '60393d45207b6548e1f61ca104fa59aecee87d30': Add runtime debugging capabilities to OpenGL
| | * | | Add runtime debugging capabilities to OpenGLRomain Guy2012-10-183-42/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shell property debug.egl.trace can now be set to: 0 disables tracing 1 logs all GL calls error checks glGetError after every GL call, logs a stack trace on error systrace logs each GL call to systrace Change-Id: I34a2a2d4e19c373fd9eaa1b0cd93e67c87378996
* | | | | am 23bcd8d2: am 825a9a2d: Merge "Update comments to reflect what the code ↵Romain Guy2012-10-161-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | actually does" into jb-mr1-dev * commit '23bcd8d298597659622919027c9ea921d5eed513': Update comments to reflect what the code actually does
| * | | | am 825a9a2d: Merge "Update comments to reflect what the code actually does" ↵Romain Guy2012-10-161-2/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr1-dev * commit '825a9a2dcd1b3e139dd0677ff46f966fb23f963c': Update comments to reflect what the code actually does
| | * | | Update comments to reflect what the code actually doesRomain Guy2012-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I2613aa32c29eddc52a00090656c1bd11f9f5732b
* | | | | am 49fe8add: am b96fe085: Merge "Add new debug option to force 4x MSAA in ↵Romain Guy2012-10-151-0/+53
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | OpenGL ES 2.0 apps" into jb-mr1-dev * commit '49fe8addbfe52bf9a3e69e6250e462a70332235c': Add new debug option to force 4x MSAA in OpenGL ES 2.0 apps
| * | | | am b96fe085: Merge "Add new debug option to force 4x MSAA in OpenGL ES 2.0 ↵Romain Guy2012-10-151-0/+53
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | apps" into jb-mr1-dev * commit 'b96fe08540dcf7e90be56919ea9863f687da779c': Add new debug option to force 4x MSAA in OpenGL ES 2.0 apps
| | * | | Add new debug option to force 4x MSAA in OpenGL ES 2.0 appsRomain Guy2012-10-151-0/+53
| | | | | | | | | | | | | | | | | | | | Change-Id: I53ac91a9ce07b5dd5f2ee0e3cc5b65b6402f9229
* | | | | Merge "gltrace: Do not start gltrace from early_egl_init."Siva Velusamy2012-10-101-1/+0
|\ \ \ \ \
| * | | | | gltrace: Do not start gltrace from early_egl_init.Siva Velusamy2012-10-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debugging and tracing levels are initialized both during early_egl_init and egl_display_t::initialize(). For apps this has no effect since early_egl_init is called in the context of zygote. This CL removes the unnecessary call from early_egl_init. Change-Id: Ibc55c26228cd197f2e2623fbfb2d1a63d0722401
* | | | | | am 8b75830c: am 8d5d2019: Revert "Add GL Error logs (temporary)"Chet Haase2012-10-102-13/+1
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | * commit '8b75830c5ce5e0097909c11c559d50d7f6f7303b': Revert "Add GL Error logs (temporary)"