summaryrefslogtreecommitdiffstats
path: root/opengl/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Modify EGL to disconnect the window when the surface gets destroyed.Michael Lentine2014-07-291-0/+9
| | | | | | | | | | | | | | | | | | Bug: 14445579 Change-Id: I1d263ff6cffcb6e448761fca7ca4b06466ad65aa
* | | Install symlinks in multilib build.Ying Wang2014-07-241-12/+7
| | | | | | | | | | | | | | | | | | (cherry picked from commit c3aed1eaefa9c824d5863d58db3954eb642cffe4) Change-Id: Ic0082ffbd7ecf610476bccb0929e67427a05190d
* | | Use the count parameter to store all the uniform vectors, not just the first ↵Ben Clayton2014-07-211-4/+8
|/ / | | | | | | | | | | | | one. DO NOT MERGE. Change-Id: Ib56d859051f0b895de5c12ffa371cd4b2b65ac0b (cherry picked from commit 31b0aec64ba44b1ee0581e00a588d84f4b081512)
* | Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D ↵Ben Clayton2014-07-071-0/+63
| | | | | | | | | | | | calls. Change-Id: I38643f5d279a84f1b7069801d7c106fc8f1ae394
* | am 17cbadf0: am 6fa169fa: Merge "Add aarch64 EGL/GLES trampolines"Jesse Hall2014-06-073-27/+83
|\ \ | |/ | | | | | | * commit '17cbadf0f598b0d02179262ad5b6b270850ccb94': Add aarch64 EGL/GLES trampolines
| * Add aarch64 EGL/GLES trampolinesJesse Hall2014-06-063-27/+83
| | | | | | | | Change-Id: Ia90e18d26ff3bdb7e643aff8d77cbaddd2ac2a03
* | am ad8d25e8: am 90654afb: Revert "Enable OMAP4 SGX workaround for OMAP3 too"Simon Wilson2014-05-291-1/+1
|\ \ | | | | | | | | | | | | * commit 'ad8d25e812d8842298de92657158a0325c42cdbd': Revert "Enable OMAP4 SGX workaround for OMAP3 too"
| * \ am 90654afb: Revert "Enable OMAP4 SGX workaround for OMAP3 too"Simon Wilson2014-05-291-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit '90654afb3aeac78916f2a53fe689a087c0e283c9': Revert "Enable OMAP4 SGX workaround for OMAP3 too"
| | * | Revert "Enable OMAP4 SGX workaround for OMAP3 too"Simon Wilson2014-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the new TI SGX DDK 1.12 has fixed support for RGBA8888, the workaround can be reverted. This may help with CTS issues. Bug: 14995811 This reverts commit 6e79cb81d02984c9f7ac0586078f947c94c56c2a. Change-Id: Id8160ebe577d7009d2dd5eb4501ec40356a4274d
* | | | am 92374318: am 618c78c0: am dc273621: Merge "EGL: add x86/64 assembly code ↵Jesse Hall2014-05-273-0/+121
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | for EGL/GLES wrappers" * commit '92374318b82945f3d03461f3d0c659adb8409fc5': EGL: add x86/64 assembly code for EGL/GLES wrappers
| * | | am 618c78c0: am dc273621: Merge "EGL: add x86/64 assembly code for EGL/GLES ↵Jesse Hall2014-05-273-0/+121
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | wrappers" * commit '618c78c032ce84c02724a1e5a7f439fa788ecf3a': EGL: add x86/64 assembly code for EGL/GLES wrappers
| | * | EGL: add x86/64 assembly code for EGL/GLES wrappersmwajdecz2014-05-273-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no explicit support for x86/64 architecture in EGL/GLES wrappers. This resulted either in failures or sub-optimal implementation of the wrapper functions. Change-Id: I20d99d7372fbf642ee4b94a05c8cb971cba29988 Signed-off-by: Wajdeczko, Michal <michal.wajdeczko@intel.com>
* | | | opengl: Regenerate code with ES 3.1 and new extensionsJesse Hall2014-05-2113-15/+5448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable ES 3.1 generation in glgen.py, and regenerate everything to add support for that as well as these new extensions in the registry: - EXT_copy_image - EXT_draw_buffers_indexed - EXT_geometry_shader - EXT_gpu_shader5 - EXT_primitive_bounding_box - EXT_shader_implicit_conversions - EXT_shader_io_blocks - EXT_tessellation_shader - EXT_texture_border_clamp - EXT_texture_buffer - EXT_texture_cube_map_array - EXT_texture_view Bug: 15028495 Change-Id: I3f45a7ef5367c70e54ce6b36a8c030ae11033434
* | | | opengl: Update GLES headers and generate *.in from registry XMLJesse Hall2014-05-2113-3837/+9470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import GLES headers from Khronos SVN r26322: https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api There are many non-functional whitespace and parameter name changes included here. These were introduced upstream when converting from the old .spec registry to the new XML registry. There are also some new extensions added. Unfortunately there isn't a version of the XML that matches the headers the previous versions of the *.in files were generated from, so I can't separate out the non-functional changes from the new extensions (other than temporarily hacking them out of the XML). See below for a list. Finally, I had to hack the official glext.h. Khronos hasn't updated the official GLES1 headers since switching to the XML registry, and there is one critical difference: a "const void**" parameter in the official header is "const void* const*" in the registry. I changed the header to avoid build errors with code generated from the registry. Dependencies on the *.in files required manually updating some GLES_trace/ files as well: - gltrace_api.{h,cpp} must be manually re-generated using tools/genapi.py. - New GL prototypes must be manually added to gltrace.proto. - gltrace.pb.{h,cpp} must be regenerated using aprotoc (see dev.make) New GLES extensions in libs/GLES_CM/glext_api.in: - GL_OES_byte_coordinates - GL_EXT_map_buffer_range - GL_APPLE_copy_texture_levels - GL_APPLE_sync New GLES2 extensions in libs/GLES2/gl2ext_api.in: - GL_KHR_blend_equation_advanced - GL_KHR_debug - GL_OES_sample_shading - GL_OES_texture_storage_multisample_2d_array - GL_EXT_disjoint_timer_query - GL_EXT_draw_buffers - GL_EXT_draw_instanced - GL_EXT_instanced_arrays - GL_EXT_map_buffer_range - GL_EXT_map_buffer_range - GL_EXT_multiview_draw_buffers - GL_EXT_separate_shader_objects - GL_ANGLE_instanced_arrays - GL_ANGLE_translated_shader_source - GL_APPLE_copy_texture_levels - GL_APPLE_sync - GL_INTEL_performance_query - GL_NV_blend_equation_advanced - GL_NV_copy_buffer - GL_NV_draw_instanced - GL_NV_framebuffer_blit - GL_NV_framebuffer_multisample - GL_NV_instanced_arrays - GL_NV_non_square_matrices Bug: 15028495 Change-Id: I902517c23354e14f9c63b1584db286d682315bb5
* | | | Revert "opengl: Generate *.in from registry XML"Jesse Hall2014-05-2013-9470/+3837
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4a73962c694bfe57eb2bea40ed6fb626be7006aa. Change-Id: I1fa5cbe4d0b86f6df69d616157b3fec68d706d7a
* | | | opengl: Generate *.in from registry XMLJesse Hall2014-05-1913-3837/+9470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are many non-functional whitespace and parameter name changes included here. These were introduced upstream when converting from the old .spec registry to the new XML registry. There are also some new extensions added. Unfortunately there isn't a version of the XML that matches the headers the previous versions of the *.in files were generated from, so I can't separate out the non-functional changes from the new extensions (other than temporarily hacking them out of the XML). See below. Finally, I had to hack the official glext.h. Khronos hasn't updated the official GLES1 headers since switching to the XML registry, and there is one critical difference: a "const void**" parameter in the official header is "const void* const*" in the registry. I changed the header to avoid build errors with code generated from the registry. Dependencies on the *.in files required manually updating some GLES_trace/ files as well: - gltrace_api.{h,cpp} must be manually re-generated using tools/genapi.py. - New GL prototypes must be manually added to gltrace.proto. - gltrace.pb.{h,cpp} must be regenerated using aprotoc (see dev.make) New GLES extensions in libs/GLES_CM/glext_api.in: - GL_OES_byte_coordinates - GL_EXT_map_buffer_range - GL_APPLE_copy_texture_levels - GL_APPLE_sync New GLES2 extensions in libs/GLES2/gl2ext_api.in: - GL_KHR_blend_equation_advanced - GL_KHR_debug - GL_OES_sample_shading - GL_OES_texture_storage_multisample_2d_array - GL_EXT_disjoint_timer_query - GL_EXT_draw_buffers - GL_EXT_draw_instanced - GL_EXT_instanced_arrays - GL_EXT_map_buffer_range - GL_EXT_map_buffer_range - GL_EXT_multiview_draw_buffers - GL_EXT_separate_shader_objects - GL_ANGLE_instanced_arrays - GL_ANGLE_translated_shader_source - GL_APPLE_copy_texture_levels - GL_APPLE_sync - GL_INTEL_performance_query - GL_NV_blend_equation_advanced - GL_NV_copy_buffer - GL_NV_draw_instanced - GL_NV_framebuffer_blit - GL_NV_framebuffer_multisample - GL_NV_instanced_arrays - GL_NV_non_square_matrices Bug: 15028495 Change-Id: Ib3fa700a146adf7f1487a93e459b1e6df0dcdc42
* | | | Remove vestigial remnants of GLES2_dbgJesse Hall2014-05-172-254/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are left over from an early (not finished?) GL debugging facility that morphed into GLES_trace. Most of the rest of it has already been removed, these few pieces were still hanging aroung. Bug: 15028495 Change-Id: Ib7c03eb8d0db30112e1b83e5262bba03006770de
* | | | Disable warnings when generating GL wrappersJesse Hall2014-05-172-0/+4
| | | | | | | | | | | | | | | | | | | | Bug: 15028495 Change-Id: Ic0c974e868d05632a06748c90cedbdd409ce2aa8
* | | | Rationalize GLES2/3 .in files.Jesse Hall2014-05-178-761/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't using gl2_api.in, since gl3_api.in was a superset. And gl3ext_api.in was empty, and Khronos has decided to keep it that way (any GLES2/3/... extensions will be in gl2ext.h). Since libGLES2.so will have all future backwards-compatible GLES APIs, it makes sense to just use gl2_api.in and gl2ext_api.in to build its contents. This changes renames gl3_api.in to gl2_api.in and updates uses of it, and removes gl3ext_api.in and references. Bug: 15028495 Change-Id: I0745eda27ec91ee625f03e957e4fdb22035dd781
* | | | am 114d71ce: am 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-5/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '114d71ce7c6ec1ce0327c812a42966c4258b4a46': Remove unused LOCAL_LDLIBS.
| * | | am 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-071-5/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '214b4a61ac3fa63e35c79157d3acf0d8b692b3ac': Remove unused LOCAL_LDLIBS.
| | * | Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-5/+0
| | | | | | | | | | | | | | | | Change-Id: I62904c410a66f256da8253764577acae18f964f8
* | | | Merge "Revert "Temporarily turn on callstack logging""John Reck2014-04-241-1/+1
|\ \ \ \
| * | | | Revert "Temporarily turn on callstack logging"John Reck2014-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13927881 'twas useful and perhaps should be always enabled (please?) but not like this, so reverting. This reverts commit db4488565a791fc769b0b0b6ca4a0689eb3d5f4e. Change-Id: I9a78c6d6e48342ef6ca1f2f7b5303ca47ccc6086
* | | | | am 43b3e600: am 3f0d5669: Merge "Expose core EGL entry points to ↵Jesse Hall2014-04-213-2/+11
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | eglGetProcAddress" * commit '43b3e600c1a477697408b1cac4cbd40b0ad97d56': Expose core EGL entry points to eglGetProcAddress
| * | | am 3f0d5669: Merge "Expose core EGL entry points to eglGetProcAddress"Jesse Hall2014-04-213-2/+11
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '3f0d5669eb437ce1f9ce599e196d045534ec3d4f': Expose core EGL entry points to eglGetProcAddress
| | * | Expose core EGL entry points to eglGetProcAddressMichael Chock2014-03-273-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Required behavior for EGL_KHR_get_all_proc_addresses. Change-Id: I1e6209ef3cb9f2fa6f22808b077c35139d4cb814
* | | | Temporarily turn on callstack loggingJohn Reck2014-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13745587 Temporarily turn on callstack logging for gl_no_context() to try and track down font cache corruption Change-Id: I657ee85e811746441c5ce0ffe5adbfb3fb011d4c
* | | | am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues"Mark Salyzyn2014-03-133-9/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'd4dabf872ac0a12e12aebae9032f7d62762c2aeb': native frameworks: 64-bit compile issues
| * | | am cdbf28b3: Merge "native frameworks: 64-bit compile issues"Mark Salyzyn2014-03-133-9/+9
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba': native frameworks: 64-bit compile issues
| | * | native frameworks: 64-bit compile issuesMark Salyzyn2014-03-123-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix format (print/scanf) - Suppress unused argument warning messages (bonus) Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
* | | | am 8ffc2346: am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 tooSimon Wilson2014-03-041-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '8ffc2346b86ef5a0d686b43229d2bbd70545a208': Enable OMAP4 SGX workaround for OMAP3 too
| * | | am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 tooSimon Wilson2014-03-041-1/+1
| |\ \ \ | | |/ / | |/| / | | |/ | | | * commit '6e79cb81d02984c9f7ac0586078f947c94c56c2a': Enable OMAP4 SGX workaround for OMAP3 too
| | * Enable OMAP4 SGX workaround for OMAP3 tooSimon Wilson2014-02-281-1/+1
| | | | | | | | | | | | Change-Id: I04308d8b7435b4adf1811f75f48f9e8a07a8c8a6
* | | am 8a9a2e24: am d5fe844b: Merge "Use /(vendor|system)/lib64/egl for 64-bit ↵Colin Cross2014-02-181-0/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | EGL libraries" * commit '8a9a2e24db868fba404049d700ae704b0982e5f3': Use /(vendor|system)/lib64/egl for 64-bit EGL libraries
| * | Use /(vendor|system)/lib64/egl for 64-bit EGL librariesDan Willemsen2014-02-161-0/+14
| | | | | | | | | | | | Change-Id: Ie64806bfe4ba60a3167b84685cf983d4ada1042d
* | | am 67041e68: am fd6a3ff4: Merge "GLES_trace: fix compile errors on 64 bit ↵Siva Velusamy2014-02-042-638/+640
|\ \ \ | |/ / | | | | | | | | | | | | | | | architectures" * commit '67041e6841d89efb0dbaf4562b601b80be61e1e6': GLES_trace: fix compile errors on 64 bit architectures
| * | GLES_trace: fix compile errors on 64 bit architecturesSiva Velusamy2014-01-282-638/+640
| |/ | | | | | | | | | | | | | | | | | | GLES_trace passes some pointers back to the host. Encode them using int64's rather than int32's This fix requires an update to the host tool to look at pointers as 64 bit, and if not found, then fall back to 32 bit integers. Change-Id: I11ff2ca51290f05913c1b9143cecee1caf015543
| * Make libEGL build cleanly under 64-bitDan Stoza2014-01-272-7/+8
| | | | | | | | Change-Id: I255dfb70b166b7469d59352b1acfc7aececa07de
* | Make libEGL build cleanly under 64-bitDan Stoza2014-01-172-7/+8
| | | | | | | | Change-Id: I255dfb70b166b7469d59352b1acfc7aececa07de
* | Improve error messageAndy McFadden2014-01-071-3/+5
|/ | | | | | | | | The previous message indicated that the fault was due to an already- connected window, which was misleading at times. Bug 12439318 Change-Id: I1e0a042673dd245d1b0d237af963c52946803eb6
* EGL: rename CallStack::dump into CallStack::logIgor Murashkin2013-10-251-1/+1
| | | | | Bug: 11324229 Change-Id: Ibac1be182c336e7aa5ac098f08d18b3c188964b4
* GLConsumer: start using EGL_ANDROID_image_cropJamie Gennis2013-10-021-2/+2
| | | | | | | | | | This change makes GLConsumer use the EGL_ANDROID_image_crop extension when available on a device. The crop rectangle is passed to the EGL driver when creating EGLImages, allowing the crop to be performed by the driver rather than using the texture transform matrix. Bug: 10897141 Change-Id: I63e9a5d5c85067376abc420e3639154468346311
* Disable the egl_khr_gl_colorspace extensionJesse Hall2013-09-161-3/+29
| | | | | Bug: 10777398 Change-Id: Ib50ea8b9d5d960537701b85929d6312304993a0f
* fix a possible null dereference when eglMakeCurrent() failsMathias Agopian2013-09-061-1/+2
| | | | | Bug: 10648797 Change-Id: Iee0be47f2646feb25de4ea199bbb9b707452916e
* remove adreno 130 workaround supportMathias Agopian2013-08-282-19/+0
| | | | Change-Id: I8ea5ee65d405114b30cfaa44e1a0c971d1ef2a61
* try to keep omap4 aliveMathias Agopian2013-08-283-35/+22
| | | | | Bug: 10527646 Change-Id: Iec572a910e932115cf4f2e1215142b10cd91bd6f
* only use format compatible with CPU consumersMathias Agopian2013-08-211-15/+28
| | | | | | | | | EGL now picks the buffer format out of a small set of formats compatible with CPU consumers instead of using the EGL_NATIVE_VISUAL_ID. Bug: 10194508 Change-Id: If423cd29601b7a3ace8670f4c73004132cfc4b31
* Replace sRGB_888 with sRGB_X_8888Jesse Hall2013-08-161-3/+3
| | | | | Bug: 10357459 Change-Id: I3a1d92cce2c9d3e930408129fb20887276fffddc
* Add support for EGL_KHR_gl_colorspaceJesse Hall2013-08-133-19/+77
| | | | Change-Id: I684d0b8556cd6c84ee4b4d67e1bb95c3b96fccfb