summaryrefslogtreecommitdiffstats
path: root/opengl
Commit message (Collapse)AuthorAgeFilesLines
* Gfx-3d: fix GetProcAddress in egl extentionluliuhui2013-04-211-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
* Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-devAndy McFadden2012-11-271-10/+11
|\
| * DO NOT MERGE - native_fence_sync: fix an enum nameJamie Gennis2012-11-261-10/+11
| | | | | | | | | | | | | | | | | | | | | | This change replaces all references to the "EGL_NO_NATIVE_FENCE_ANDROID" enum with "EGL_NO_NATIVE_FENCE_FD_ANDROID". Bug: http://code.google.com/p/android/issues/detail?id=40295 (cherry-pick from master) Change-Id: Ie25d4ab9721d8b69b8d4afcf18e902ef8e3ad911
* | gltrace: Make sure device is debuggable.Siva Velusamy2012-11-201-0/+6
|/ | | | | | (cherry picked from commit 6482fa4db0a7ac99cd3503d6bf170f80b26fb695) Change-Id: I205aabcab1932025c12e7ba3d1b3cf94684f6758
* 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
* Update comments to reflect what the code actually doesRomain Guy2012-10-151-2/+2
| | | | Change-Id: I2613aa32c29eddc52a00090656c1bd11f9f5732b
* Add new debug option to force 4x MSAA in OpenGL ES 2.0 appsRomain Guy2012-10-151-0/+53
| | | | Change-Id: I53ac91a9ce07b5dd5f2ee0e3cc5b65b6402f9229
* Revert "Add GL Error logs (temporary)"Chet Haase2012-10-102-13/+1
| | | | This reverts commit 2da2c15068327a4fdad411f638905abcb2209d8a.
* Add GL Error logs (temporary)Chet Haase2012-10-042-1/+13
| | | | | | Adding logs to tell which specific methods throw OpenGL errors. Change-Id: I1d73c7566ed1ea6610392020411762c6255a0ede
* Re-enable FAST_TLS in gl2 codeChet Haase2012-09-281-1/+1
| | | | | | | Temporarily changed USE_FAST_TLS_KEY ifdef during debugging. Changing it back now. Change-Id: I7c2fcf7265b3d545e31ff7683bd7614100fad3e5
* New compile-time flags to make debugging easier for us poor soulsRomain Guy2012-09-271-1/+11
| | | | | | Bug #7195815 Change-Id: I23e7ac991891b9586cb8ed20b1305c8b1b3e2b43
* assert -eng builds when calling a GL function without a contextMathias Agopian2012-09-261-2/+7
| | | | | | Bug: 7241626 Change-Id: I0f1f9361e75e9186af8cff8d98a7d2224b266765
* Merge "EGL: add the EGL_ANDROID_framebuffer_target enum" into jb-mr1-devJamie Gennis2012-09-242-0/+8
|\
| * EGL: add the EGL_ANDROID_framebuffer_target enumJamie Gennis2012-09-242-0/+8
| | | | | | | | Change-Id: Id8b1b114e2a7a88956b857c63a0429e9b33fdb5c
* | Merge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-devJamie Gennis2012-09-242-0/+11
|\ \ | |/
| * EGL: expose the EXT_create_context_robustness extJamie Gennis2012-09-242-0/+11
| | | | | | | | Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e
* | log an error when eglCreateContext() fails in an inconsistant wayMathias Agopian2012-09-241-0/+6
|/ | | | | | this will help debugging bug: 7216919 Change-Id: I54ac65f20c5ed55cc93a5cbc5350fadfb0fcb804
* Add a spec for EGL_ANDROID_framebuffer_target.Jamie Gennis2012-09-212-5/+108
| | | | | | | This change adds a new extension for EGL implementations to indicate the EGLConfigs that support use as a HWComposer framebuffer target layer. Change-Id: Ia7c8fbe8da09d57b4ec8bf1d9ddb67ca21aa2885
* am 516efc1b: am 8a2b5423: Merge "libagl: Transform the vertex if using eye ↵Mathias Agopian2012-09-191-0/+7
|\ | | | | | | | | | | | | space lighting with point lights" * commit '516efc1bea1c05492c5d4636a589cfc686661842': libagl: Transform the vertex if using eye space lighting with point lights
| * Merge "libagl: Transform the vertex if using eye space lighting with point ↵Mathias Agopian2012-09-191-0/+7
| |\ | | | | | | | | | lights"
| | * libagl: Transform the vertex if using eye space lighting with point lightsMartin Storsjo2012-07-121-0/+7
| | | | | | | | | | | | | | | | | | | | | This fixes lighting when using point lights, when eye space lighting is used (which is the default). Change-Id: I0cd0d2329893d6b5f8af3b1e595274c2076fc322
* | | EGL: fix an extension string bugJamie Gennis2012-09-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug where initializing EGL multiple times (eglTerminate followed by eglInitialize) would cause extensions to show up in the extension string multiple times. Change-Id: I707a3da62ed30ef13835087167f84a08bc6addd7
* | | EGL: make max cache key size BoardConfig-ableJamie Gennis2012-09-122-1/+9
| | | | | | | | | | | | | | | | | | | | | This change makes the maximum EGL blob cache key size configurable via a BoardConfig. Change-Id: Ic669cd25fc743662bd4f13aab62354fc3d54560c
* | | EGL: Add the EGL_ANDROID_wait_sync extensionJamie Gennis2012-09-093-0/+27
| | | | | | | | | | | | Change-Id: Ie9a78e07fcaf27c5c13797141ad3c692217607fb
* | | EGL: add the native_fence_sync extensionJamie Gennis2012-09-065-4/+34
| | | | | | | | | | | | | | | | | | | | | This change adds support for the EGL_ANDROID_native_fence_sync extension to the Android EGL layer. It also fixes a couple minor issues with the extension spec. Change-Id: Ic8829d21f37b701f33aa9c72c3d25e88e03fa3cd
* | | EGL_ANDROID_native_fence_sync: fix the versionJamie Gennis2012-09-051-1/+1
| | | | | | | | | | | | Change-Id: Ib43b8fec8f37bb847d7bcdbf7607fd56f19a0563
* | | EGL_ANDROID_fence_sync: make it more genericJamie Gennis2012-09-041-61/+73
| | | | | | | | | | | | | | | | | | | | | This change updates the extension spec to refer to generic "native fence sync objects" rather than "Android fence sync objects." Change-Id: I15a79f08571586431845b54c58c8420b652f40ef
* | | am 6e820eec: am 6f89ebde: Merge "EGL: do not use sparse files for shader"Jean-Baptiste Queru2012-08-201-14/+15
|\ \ \ | |/ / | | | | | | | | | * commit '6e820eec21917f8e25c40dbc8b972468535af0e8': EGL: do not use sparse files for shader
| * | EGL: do not use sparse files for shadervijay gupta2012-07-231-14/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | - Process is killed by system with SIGBUS signal if it writes data to mapped sparse file on full filesystem. - Allocate space using write() function instead of ftruncate() to avoid creation of sparse files on full filesystem. Catch write() errors to handle out-of-space case during allocation. Bug: http://code.google.com/p/android/issues/detail?id=35376 Change-Id: Ifc366454f34e71a43a0973eda4f591a920ea3a14 Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
* | gltrace: flush trace buffer on createContext & makeCurrentSiva Velusamy2012-08-161-0/+2
| | | | | | | | | | | | | | | | | | | | Certain apps (e.g. chrome) seem to create contexts which are unused for long periods of time. If tracing is stopped before those contexts are used, then the debugger never gets to know that these contexts were created. Flushing the trace after these calls ensures that the debugger knows about all created/used contexts. Change-Id: I01baa11aa56ac89eddce3c2851e4bf01076984d1
* | Add compile-time option to systrace GL-ES callsJesse Hall2012-08-132-1/+12
| | | | | | | | Change-Id: Ibec103bbf159626ad9745d0e071192ad424bc0e9
* | Merge "enable java/jni build in PDK if supported" into jb-mr1-devKeun young Park2012-08-081-3/+8
|\ \
| * | enable java/jni build in PDK if supportedKeun young Park2012-08-071-3/+8
| | | | | | | | | | | | | | | | | | | | | - testFramerate requires platform java API while all other tests only need SDK support Change-Id: Iaefe23c41b3ace87522b5deefd6db2f5d80ed872
* | | Changes to support multi-display HWCJesse Hall2012-08-076-26/+32
|/ / | | | | | | Change-Id: I07efff54f2980dcb013935747b03e099b8f1181b
* | Revert "Minimal changes to support multi-display HWC"Jesse Hall2012-07-316-32/+26
| | | | | | | | | | | | This reverts commit bddd724b178b1263c16e41b564165fcd0e93ff83 Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4
* | Minimal changes to support multi-display HWCJesse Hall2012-07-276-26/+32
| | | | | | | | Change-Id: I5efea78ac381c3e3118e6e92b508f336233ac319
* | Fixed bug in opengl es binding generationThomas Tafertshofer2012-07-231-1/+6
| | | | | | | | | | | | | | | | This fixes the glgen code generation for methods which have a buffer arg that can be NULL. Bug: 6845189 Change-Id: I5fb745b806601e5665f97bfd15fd865cd9c241ed
* | Merge "glgen stubs to fix bad methods in gles20 bindings"Mathias Agopian2012-07-239-0/+897
|\ \
| * | glgen stubs to fix bad methods in gles20 bindingsThomas Tafertshofer2012-07-199-0/+897
| | | | | | | | | | | | | | | | | | | | | | | | | | | this adds correct versions of the broken GLES20 methods glGetShaderSource, glGetActiveAttrib and glGetActiveUniform. the old broken methods are still there and need to be @hide later. Bug: 6006380 Change-Id: Ide74242ada54b85459b459ae4f20cd26a23c7610
* | | Merge "Update the EGL_ANDROID_fence_sync spec."Jamie Gennis2012-07-231-51/+106
|\ \ \ | |/ / |/| |
| * | Update the EGL_ANDROID_fence_sync spec.Jamie Gennis2012-07-231-51/+106
| | | | | | | | | | | | Change-Id: I26589e51c2023aed4da8a25a098b01804200ddc2
* | | Merge "OpenGL bindings fix for methods with iobuffer args"Mathias Agopian2012-07-187-44/+53
|\ \ \
| * | | OpenGL bindings fix for methods with iobuffer argsThomas Tafertshofer2012-07-127-44/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | This changes generation of the OpenGL bindings to prevent crashes of methods with more then one nio buffer argument. Bug: 6772416 Change-Id: I4eff25c2f568dea78a6ffd3e95ff4620ab4b3b7d
* | | Remove @hide from the generated EGL 1.4 APIThomas Tafertshofer2012-07-137-34/+32
|/ / | | | | | | Change-Id: Ia5707533fcf1186ef648b8a4e25987f5e7e7dea3
* | improve glgen tool to support EGL1.4Thomas Tafertshofer2012-07-1023-157/+1367
| | | | | | | | | | | | | | | | - added EGL1.4 bindings generation - fixed bugs in GLES bindings Bug: 6709865 Change-Id: I04ac63f652e1968a51eb833f47e00336ea449980
* | Update ANativeWindow clients for syncJamie Gennis2012-06-202-11/+21
| | | | | | | | | | | | | | This change updates the uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: I3ca648b6ac33f7360e86754f924aa072f95242f6
* | Add support for HWC_DEVICE_API_VERSION_1_0Jesse Hall2012-06-146-31/+31
| | | | | | | | | | | | | | | | The acquire and release fences aren't yet used; this is just support for the new version and temporary backwards compatibility for older versions. Change-Id: Ia5ccc05a97c86f649042b9a35e11042fa0187e84
* | Merge "don't error out when eglTerminate()ing an already terminated display"Mathias Agopian2012-06-131-1/+7
|\ \
| * | don't error out when eglTerminate()ing an already terminated displayMathias Agopian2012-06-131-1/+7
| | | | | | | | | | | | | | | | | | so says the EGL specification, section 3.2 Change-Id: Ice60530f8f6e47b4e14e06d2ab8eba799a7688a6
* | | am 1d2eb663: am 2d15fcab: Merge "reduce PB size from 2MB to 512KB" into jb-devMathias Agopian2012-06-122-1/+53
|\ \ \ | | |/ | |/| | | | | | | * commit '1d2eb663ef5cf69aa852045c8a1c1807dfa7039e': reduce PB size from 2MB to 512KB