summaryrefslogtreecommitdiffstats
path: root/opengl/libs
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of extension stringMichael Lentine2015-07-311-9/+8
| | | | | | | | | | | | Previously the parsing found the next space and then added the the difference between the current position and space to the set of tokens. This improperly generated empty strings if there were consecutive spaces or if spaces existed at the beginning or end of strings. To fix this, the parse is modified to use simple stringstream parsing. Bug: 22709246 Change-Id: I9e32c07bbf984eadccdadf1dc34437fa0c46088b
* Implement a number of KHR EGL extensionsSeason Li2015-07-012-12/+251
| | | | | | | | | | | | | | | Add following KHR EGL extensions: EGL_KHR_gl_texture_3D_image EGL_KHR_config_attribs EGL_KHR_surfaceless_context EGL_KHR_stream EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd Change-Id: Ie7a35b5e3761e343cb71cf446cba77f67f604bdf
* Revert "Revert "Modify EGL to disconnect the window when the surface gets ↵Amith Dsouza2015-07-011-0/+9
| | | | | | | | | | | destroyed."" This reverts commit 6e1a2fea67006b58e83ebbcc72f7b12f18c49d15. Driver level issues fixed by an updated graphics driver. Bug: 21266976 Change-Id: I93339fb6c6bab988f3550adb49ef8e70cda6473e
* Revert "Modify EGL to disconnect the window when the surface gets destroyed."Michael Lentine2015-05-281-9/+0
| | | | This reverts commit 00699fa64197cc72a160d69e1f0003cdd43dc136.
* Fix EGL shim extension injection for GL ES 3 drivers.Alistair Strachan2015-05-286-9/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | The Android EGL shim injects GL_EXT_debug_marker into the ES driver EXTENSIONS string for the OpenGL ES 1.x and 2.0/3.0/3.1 drivers if the extension is not already provided. This feature is used by GLES_trace. In Open GL ES 3.0 it became possible to query an indexed version of the EXTENSIONS string via GetStringi(). NUM_EXTENSIONS Gets were also added to the specification (taken from Open GL). If the shim does not have to inject the extension, then there is no problem, as glGetString() and glGetStringi() / NUM_EXTENSIONS will be consistent. However, if the Android EGL shim injects the extension, NUM_EXTENSIONS and GetStringi() will report one less extension than is really available. Consistency between these methods is tested by the dEQP framework with the dEQP-GLES3.functional.state_query.string.extensions test. If the driver does not provide GL_EXT_debug_marker, this test fails. This change wraps all of the affected entry points so that the wrapped driver extensions are never visible directly to dEQP, eliminating the inconsistency.
* Merge "Modify EGL to disconnect the window when the surface gets destroyed." ↵Michael Lentine2015-05-141-0/+9
|\ | | | | | | into mnc-dev
| * Modify EGL to disconnect the window when the surface gets destroyed.Michael Lentine2015-05-131-0/+9
| | | | | | | | | | | | Bug: 14445579 Change-Id: I1d263ff6cffcb6e448761fca7ca4b06466ad65aa
* | Switch libGLESv1_CM/libGLESv2 to hash-style=bothDmitriy Ivanov2015-05-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | Old version of unity uses custom linker to link itself and libmono. The custom linker does not support lookups with gnu-hash style. Switching libraries needed by libunity.so to --hash-style=both fixes this problem. Bug: http://b/20093774 Change-Id: I2a4887cf7a5ee80a8976ecaad54b52dc62518e55
* | libEGL: whitelist the EGL_KHR_create_context_no_error extensionJesse Hall2015-05-121-0/+1
|/ | | | | | | | | Allow EGL implementations to expose the EGL_KHR_create_context_no_error extension if they wish. https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context_no_error.txt Change-Id: I3290ccc2a69a1fa0b00ec3f1aa4f876906c64bfb
* libEGL: Add wrappers for partial update functionsDan Stoza2015-04-152-3/+80
| | | | | | | | | This adds EGL wrapper functions for the following EGL extensions: EGL_EXT_buffer_age EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage Change-Id: I407acda1e0310f7f01a5efe9c915721a941138a4
* DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.Eino-Ville Talvala2015-03-191-12/+18
| | | | | | | | | | | | | | | - Wire up new dataSpace parameter through buffer queue stack - Update tests to include the parameter - Switch eglApi to using dataSpace to indicate sRGB gamma/linear difference - Remove RAW_SENSOR in favor of RAW16 - Remove use of sRGB format enums - Add default dataspace to buffer queue core - Add query for default dataspace Cherry pick of I070bd2e7c56506055c419004c29e2e3feac725df Change-Id: I461952389c18051176c6b75e664f20ad369f5760
* Merge "[MIPS] Fix mips32r1 build"Jesse Hall2015-03-153-0/+3
|\
| * [MIPS] Fix mips32r1 buildDuane Sand2015-02-023-0/+3
| | | | | | | | | | | | | | | | Fix regression from 6701fbe5f0d799c5245b0cdf3a69ecdcbfd9fb08 . The rdhwr instruction is unsupported by mips32r1 cpus, but is supported via kernel emulation on those cpus. Change-Id: Ieb3343fff0f0da54003044f451c90e1c761208eb
* | Merge commit '26cc3d0b67ff4daf31eaeed0ecd87b391978aadb' into HEADBill Yi2015-02-192-120/+147
|\ \
| * \ am d6fce7ab: Merge "Remove lock around ref count check in terminate." into ↵Michael Lentine2015-01-282-120/+147
| |\ \ | | |/ | |/| | | | | | | | | | | | | lmp-mr1-dev * commit 'd6fce7ab66e5d33e3ee16247485d1b8c26dd7ee8': Remove lock around ref count check in terminate.
| | * Remove lock around ref count check in terminate.Michael Lentine2015-01-282-120/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the global lock in terminate for the ref count check with atomics and a local lock. Bug: 19072064 Change-Id: I0cfd6564e227a75b8387a8788b16381d5bc2cc88
* | | egl: Remove old tuna BGRA vs RGBA workaround.Alistair Strachan2015-02-122-33/+2
|/ / | | | | | | | | | | | | | | | | | | | | Some time before kitkat, a workaround was put in place to keep tuna working with obsolete PowerVR GPU drivers. The tuna product was dropped in AOSP for kitkat, but the workaround remained. There are still a number of devices shipping with OMAP4 processors, and this workaround continues to be applied on those products even when it is not required. The effect is that virtual display CTS will fail on those devices.
* | Use register numbers instead of register namesNikola Veljkovic2015-01-193-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | Avoid ambiguity by using register numbers. Register names are interpreted depending on the ABI. Fixes the issue with mips64 gcc, where registers t0-t4 are translated into $8-$11 (o32 ABI) instead of $12-$15 (o64 ABI). Also, use t9 ($25) for storing function address (in getProcAddress.cpp). Change-Id: I12ef5cd98bf14dab3c01f2756889cc02856c1cd8
* | [MIPS] Further opengl support for mips64 and mipsr6Duane Sand2015-01-193-14/+115
| | | | | | | | | | | | | | | | | | | | | | Combines 4 patches by Dragoslav and Douglas: Use t9 to hold the address of the called function. Add support for gl binding. Fix inline assembly code to be R6 compatible. Fix some more inline assembly code to be R6 compatible. Change-Id: I0b899813790b2ba4ca538bb21692014cc1933f66
* | Revert "Revert "Update protobuf library from 2.3 to 2.6.""Jeff Davidson2015-01-1210-5256/+13
| | | | | | | | | | | | This reverts commit bca4262dac55cc59b28d6fde658d5f8a254fcc2d. Change-Id: I8ecd859340779dfacffba4c6d1a44c5cdbdfceed
* | Revert "Update protobuf library from 2.3 to 2.6."Jeff Davidson2015-01-1210-13/+5256
| | | | | | | | | | | | This reverts commit a42cdf169060e1bb65c77bc8a394d266403d8583. Change-Id: I8f75e6fcc921041ebdfd35c4724134fcb2c739c6
* | Update protobuf library from 2.3 to 2.6.Jeff Davidson2015-01-0810-5256/+13
| | | | | | | | | | | | | | Remove generated cpp/h files for gltrace.proto as we can use the build system to generate these dynamically. Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48
* | Fix class vs. struct mismatchBernhard Rosenkränzer2014-11-171-1/+1
| | | | | | | | | | | | | | egl_connection_t is a struct - shouldn't be forward-declared as a class Change-Id: I39f5d9bff9fc64f4694fb2bef7e4afa131b449cc Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | Move frameworks/native to libc++.Dan Albert2014-11-151-3/+2
| | | | | | | | | | | | | | | | I'm pretty sure I had done this before... Must have been new dependencies that slipped in when L merged in. Bug: 15193147 Change-Id: Ib9b1b8a65665d25c33c6141b9476a8e13c4084e0
* | EGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flagMichal Wajdeczko2014-11-123-6/+6
| | | | | | | | | | | | | | | | Wrapper functions were broken on builds that forced -fno-omit-frame-pointer flag. Change-Id: I5a80f9587fb3db821b4156af56acda59a0b4579b Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
* | am e9034b45: Merge "Use LOCAL_CLANG := false for GLES wrappers for now"Chih-hung Hsieh2014-10-161-0/+2
|\ \ | | | | | | | | | | | | * commit 'e9034b4502ae6e693ad52fe2e435066dc969a3ab': Use LOCAL_CLANG := false for GLES wrappers for now
| * | Use LOCAL_CLANG := false for GLES wrappers for nowBernhard Rosenkraenzer2014-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLES wrappers built with clang currently result in crashes in libhwui, UI doesn't come up. Force gcc for the wrappers until this is investigated and fixed properly. Bug: 18003438 Change-Id: I24a17ec019409930883da8040fe2fb05b0fea0c5 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
* | | am 12c4bdad: Add rate-limited logging for unimplemented es functions.Michael Lentine2014-09-231-5/+19
|\ \ \ | | |/ | |/| | | | | | | * commit '12c4bdad7b2372ab64dcd2abbdbe47e709fb8b90': Add rate-limited logging for unimplemented es functions.
| * | Add rate-limited logging for unimplemented es functions.Michael Lentine2014-09-231-5/+19
| | | | | | | | | | | | | | | | | | Bug: 17322013 Change-Id: I7aa5ab2f76cf344cfb75802edbfd44e8e7526ff1
* | | am e1e3d278: Merge "Clean cruft out of makefiles."Dan Albert2014-09-121-3/+3
|\ \ \ | | |/ | |/| | | | | | | * commit 'e1e3d278549eb6389eb0b5fa3f13a4ac079a55a2': Clean cruft out of makefiles.
| * | Clean cruft out of makefiles.Dan Albert2014-09-111-3/+3
| | | | | | | | | | | | | | | | | | | | | Cleans up manual uses of stlport and bionic (and removes uses of private bionic headers). Change-Id: I157309d702e59152adfa3450939082248ae4c043
* | | am 4c5b9acf: Merge "Don\'t try to capture the pointer when using PBOs for ↵Ben Clayton2014-08-203-34/+85
|\ \ \ | | |/ | |/| | | | | | | | | | | | | texture APIs" into lmp-dev * commit '4c5b9acf655531f1be45bf7fffc5ee145a80cca7': Don't try to capture the pointer when using PBOs for texture APIs
| * | Don't try to capture the pointer when using PBOs for texture APIsBen Clayton2014-08-203-34/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a PBO is bound, then the pointer argument is a relative offset from the start of the PBO, not an absolute address. Fixes b/17063439 Change-Id: I39629ce6c9bb3cb6bac5c9b0311287628306ddd4 (cherry picked from commit 0ad707f2f3d714af7d983d68330ed51dace815f5)
* | | am 45e2fc22: Revert "Modify EGL to disconnect the window when the surface ↵Michael Lentine2014-08-081-9/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | gets destroyed." * commit '45e2fc22261cb8ecac4901b4425bcb7352c71174': Revert "Modify EGL to disconnect the window when the surface gets destroyed."
| * | Revert "Modify EGL to disconnect the window when the surface gets destroyed."Michael Lentine2014-08-081-9/+0
| | | | | | | | | | | | This reverts commit 843cbb241da60ada234918a30cfe9a01a1e04187.
* | | am e2e17e5b: Merge "GlES2: Add NULL check"Jesse Hall2014-08-061-1/+1
|\ \ \ | |/ / |/| / | |/ | | * commit 'e2e17e5b238ccd214c72ec1a1864cf391425f09f': GlES2: Add NULL check
| * GlES2: Add NULL checkAnshuman Dani2014-08-061-1/+1
| | | | | | | | | | | | | | | | Check for NULL before calling thread specific glGetString. CRs-fixed: 569609 Change-Id: Ifee8257152ba7ca7a05df5d7b113171b71d16c82
| * Install symlinks in multilib build.Ying Wang2014-07-231-12/+7
| | | | | | | | Change-Id: Ia8a4995de127c42beebb3fe603366ce29a6f94d3
* | Merge "Modify EGL to disconnect the window when the surface gets destroyed." ↵Michael Lentine2014-07-251-0/+9
|\ \ | | | | | | | | | into lmp-dev
| * | 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