a9347647eca3101c014be902b713772de3977d87 |
|
14-Feb-2017 |
Mathias Agopian <mathias@google.com> |
Break a dependency of libui on libandroid This was only a header dependency, but it still created a circular dependency, which will cause problems in another CL. We fix this by creating a libarect static library containing only that header. both libui and libandroid now depend on it and reexport the header. We also make sure rect.h ends-up in the right place. Test: built and booted device Bug: 35164655 Change-Id: Iba25b8b801b26b26ec1401c00caf367a06f197ca
/frameworks/native/opengl/libagl/egl.cpp
|
0233bd47ed416994a1a51f1d3a877d6ff31f6c99 |
|
19-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig"
|
7823e124e00576e20e47ec717cbe8bc89f0f2bf2 |
|
29-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
Replace cutils/log.h and rationalize log/log.h and android/log.h - cutils/log.h treat as deprecated and lead by example - android/log.h to be used instead of log/log.h if possible - add system includes that are assumed as side effects - define LOG_TAG first Test: compile Bug: 31289077 Bug: 30465923 Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
/frameworks/native/opengl/libagl/egl.cpp
|
64990fc0b9a50cef8a749eadc5a7fde7d400c5ac |
|
08-Jan-2017 |
Jesse Hall <jessehall@google.com> |
Merge "egl: Add NULL check for num_config parameter"
|
a5e161b1207ef447a51e99856097d69d4a6111e1 |
|
29-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
Replace cutils/log.h and rationalize log/log.h and android/log.h - cutils/log.h treat as deprecated and lead by example - android/log.h to be used instead of log/log.h if required - add system includes that are assumed as side effects of log.h - modules that use SLOG should use SLOG for all logging (installd) - define LOG_TAG first - remove logging infrastructure if not used Test: build Bug: 31289077 Change-Id: Iea147a0104c7ab7f12451304131d6500f42141e7
/frameworks/native/opengl/libagl/egl.cpp
|
d8cf2ce6b8b2f29e24d8185a36618dd33a17cf8e |
|
04-Jan-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
egl: Add NULL check for num_config parameter EGL 1.5 specification says in 3.4.1: "An EGL_BAD_PARAMETER error is generated if num config is NULL." We have to check for the condition and return the required error to application for eglGetConfigs and eglGetConfigs functions. Test: refactoring CL. Change-Id: Ib42709f0420161ce661536394d4c0779bc62be57 Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Signed-off-by: Liu Zhiquan <zhiquan.liu@intel.com>
/frameworks/native/opengl/libagl/egl.cpp
|
90c75a2f5bd539c50f9176f9be9a6a574fc606b7 |
|
18-Apr-2015 |
Amit Pundir <amit.pundir@linaro.org> |
libGLES_android: Add generic 32bpp BGRA EGLConfig Add generic 32bpp EGLConfig for BGRA pixel format. BGRA8888 is a common pixel format supported by ARM vendors for a while now and we end up using this proposed fix more often than not for software rendering display support during initial AOSP bringups or AOSP master smoke testing when corresponding hardware graphics blobs are not in sync with AOSP master changes. This EGLConfig is identical to config_4_attribute_list (RGBA_8888) with the only difference of BGRA_8888 EGL_NATIVE_VISUAL_ID. Boot tested on Hikey without hardware graphics (MALI) binary blobs. Boot failure without this patch: W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query F SurfaceFlinger: no suitable EGLConfig found, giving up F libc : Fatal signal 6 (SIGABRT), code -6 in tid 1959 (surfaceflinger) F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** F DEBUG : Build fingerprint: 'generic/hikey/hikey:6.0.1/MASTER/pundir06081327:userdebug/test-keys' F DEBUG : Revision: '0' F DEBUG : ABI: 'arm64' F DEBUG : pid: 1959, tid: 1959, name: surfaceflinger >>> /system/bin/surfaceflinger <<< F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- F DEBUG : Abort message: 'no suitable EGLConfig found, giving up' Boot success with this patch: W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query W SurfaceFlinger: EGL_SLOW_CONFIG selected! I SurfaceFlinger: EGL information: I SurfaceFlinger: vendor : Android I SurfaceFlinger: version : 1.4 Android META-EGL I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer I SurfaceFlinger: Client API: OpenGL_ES I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x8 I SurfaceFlinger: OpenGL ES informations: I SurfaceFlinger: vendor : Android I SurfaceFlinger: renderer : Android PixelFlinger 1.4 I SurfaceFlinger: version : Open GLES-CM 1.0 Change-Id: I9b17ff67275fe4284a1c0699af04ba480280f607 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
/frameworks/native/opengl/libagl/egl.cpp
|
204240a88b3a755a2d61d11b0f5ae634688d34fc |
|
08-Jan-2016 |
Dan Stoza <stoza@google.com> |
libagl: Switch from gralloc to GraphicBufferMapper Removes all direct references to the gralloc module from libagl and uses the GraphicBufferMapper class instead when locking and unlocking buffers. Also a couple of minor code cleanups to eliminate warnings. Bug: 28401203 Change-Id: Ie982d375b3152d5f677ab54c2067179b8d34c06d
/frameworks/native/opengl/libagl/egl.cpp
|
3aa75f95f23df87cf74ddefe0d3f90b1484ff95e |
|
20-May-2016 |
Jesse Hall <jessehall@google.com> |
Ensure memory ordering around libagl and EGL refcount operations The android_atomic_inc/android_atomic_dec functions don't impose sufficient memory ordering. Using them for object refcounting could allow an object to be destroyed prior to writes by a different thread being visible. Bug: 28820690 Change-Id: Ie018091035174255a22ebc52852528cdaec2d648
/frameworks/native/opengl/libagl/egl.cpp
|
2e8ca9d01ed6a64451f9d6182e4abe980cdc41f0 |
|
21-Aug-2015 |
Jesse Hall <jessehall@google.com> |
libagl: Fix buffer read overrun in eglCreatePbufferSurface The code was assuming that EGL_NONE==0, which isn't true. Bug: 23403170 Change-Id: Ic1eccdef086b4d610bd78dbb6b2ae883c91dc322
/frameworks/native/opengl/libagl/egl.cpp
|
6071da7ef84c60645572654504813d492b8b21d5 |
|
13-Aug-2015 |
Elliott Hughes <enh@google.com> |
Lose HAVE_ANDROID_OS from frameworks/native. Change-Id: I8e6af2a46a9d875192fc7957ada9b5f66d84bad6
/frameworks/native/opengl/libagl/egl.cpp
|
9530388b260ddd47c4e013b10f7f56b987d4f79f |
|
29-May-2015 |
Michael Lentine <mlentine@google.com> |
Check that width and height parameters are small. The product of width and height should be less than UINT32_MAX (in practice smaller). Adding the checks prevents overflows when allocating buffers. Bug: 20726612 Change-Id: I9769edf0688a9bfe69906d49fa0540cadf4c49b0 (cherry picked from commit 1c4537e2e80aa776a61517be8b1605e36432287a)
/frameworks/native/opengl/libagl/egl.cpp
|
92dc3fc52cf097bd105460cf377779bdcf146d62 |
|
12-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
native frameworks: 64-bit compile issues - Fix format (print/scanf) - Suppress unused argument warning messages (bonus) Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
/frameworks/native/opengl/libagl/egl.cpp
|
444839b842798497cfa326204285a4f2ca2362af |
|
24-Jan-2014 |
Colin Cross <ccross@android.com> |
libGLES_android: fix 64-bit compile errors Fix size of vertex_t on 64-bit architectures Fix __get_tls casts, the TLS area is a void** Cast through uintptr_t to store integers in a pointer Use %zu to print size_t Change-Id: I91079ec76025237e6d2081784c5348518b0ce122
/frameworks/native/opengl/libagl/egl.cpp
|
c2414bb0989763641ca57cf72c11ef6d86565a23 |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of HAL pixelformats 5551 and 4444 Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
/frameworks/native/opengl/libagl/egl.cpp
|
5f555569e757d280f707e2587b3d154c9d8c872f |
|
08-Mar-2013 |
Jesse Hall <jessehall@google.com> |
When disconnecting a surface, cancel don't queue the buffer This isn't really right either, but avoids having an extra buffer that the consumer has to drain which it might not be expecting. To be correct, disconnecting a surface from a context should retain the current buffer and continue using it when reconnected. The buffer should only be canceled when the surface is destroyed. That will wait for a later change. Bug: 8320762 Change-Id: I5efa39c741193ca4f5612ea9de001ccbb683b345
/frameworks/native/opengl/libagl/egl.cpp
|
78141e3acc9913153883fa337a0f3a5eff7acc64 |
|
07-Mar-2013 |
Jesse Hall <jessehall@google.com> |
Defer destroying surfaces until not current Bug: 8320762 Change-Id: I1320cf87923bcc5b795a86a13193363a49e29653
/frameworks/native/opengl/libagl/egl.cpp
|
d8e812ce6fe9ae0388e98b08456e1d18b9498239 |
|
14-Jun-2012 |
Jamie Gennis <jgennis@google.com> |
Update ANativeWindow clients for sync 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
/frameworks/native/opengl/libagl/egl.cpp
|
83e7c8c431ec8b578b6f778811837632e3798768 |
|
22-May-2012 |
Jesse Hall <jessehall@google.com> |
Implement the EGL_KHR_fence_sync in libagl Implementing this in libagl allows us to start using it for SurfaceTexture in emulator builds, which is necessary to avoid corruption in the Browser when using the host-accelerated GL path. Bug: 6515813 Change-Id: Icafba8687cb5d010d8d42b3866b298d2be984fc9
/frameworks/native/opengl/libagl/egl.cpp
|
cc2b1560e87369676a2d13f17bd1ff4021a91819 |
|
21-May-2012 |
Mathias Agopian <mathias@google.com> |
fix EGL_CLIENT_STRING it should read OpenGL_ES (with an underscore) Bug: 6529643 Change-Id: I7caf07793bffe5a8dcceaff496a222077486fc87
/frameworks/native/opengl/libagl/egl.cpp
|
5f2165f9455d4893b581b73a67c5431f4344b47e |
|
25-Feb-2012 |
Mathias Agopian <mathias@google.com> |
remove dependency on android_native{s_priv|buffer}.h Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
/frameworks/native/opengl/libagl/egl.cpp
|
e6f43ddce78d6846af12550ff9193c5c6fe5844b |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/native/opengl/libagl/egl.cpp
|
9d4536835248525f32f1504a3d28d5bbfa0a2910 |
|
20-Dec-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
/frameworks/native/opengl/libagl/egl.cpp
|
4b9511c16195a646242eff833b0af212933b6eca |
|
14-Nov-2011 |
Mathias Agopian <mathias@google.com> |
rework a bit how we manage EGL extensions - don't advertise extensions that are not supported by any implementation - remove EGL_ANDROID_swap_rectangle which is not implemented by anybody and confuses people - add some comments about mandatory extensions Bug: 5428001 Change-Id: Id8dc48116ac1d1eb79ec9ef55d03e29d4257c1f3
/frameworks/native/opengl/libagl/egl.cpp
|
69e43b71afb2af729657f6d26ffef142fedbafab |
|
11-May-2011 |
Mathias Agopian <mathias@google.com> |
fix libagl surface initialization this broke recently when removing copybit support. Change-Id: I5cc7ff7f49268411c6c2cfb2d97590d52b13dbd5
/frameworks/native/opengl/libagl/egl.cpp
|
697526bc9e44ce61c88614f98387ae8bbf0a187e |
|
01-May-2011 |
Iliyan Malchev <malchev@google.com> |
frameworks/base: android_native_buffer_t -> ANativeWindowBuffer Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/native/opengl/libagl/egl.cpp
|
75c1535eb3bde60dfa3438083540afddc01e1cec |
|
03-May-2011 |
Mathias Agopian <mathias@google.com> |
remove last traces of copybit Change-Id: Ia0f13a0ee6f702256482b5eb29d7fa2aa840bfc7
/frameworks/native/opengl/libagl/egl.cpp
|
9cdb01da71934e98b6732db0f5758ea4edd5d5c7 |
|
29-Apr-2011 |
Mathias Agopian <mathias@google.com> |
get rid of dependency on copybit HAL module Change-Id: Ia608099a2426c11a91d33063ba53c93e1eccb428
/frameworks/native/opengl/libagl/egl.cpp
|
2076f35549c7c04035b9f626d9209e049b6c91f8 |
|
31-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Fix a multithreading bug in libagl's EGL. The bug caused libagl to return 0 from eglGetError if an EGL error value (including EGL_SUCCESS) was set on a different thread but not yet on the current thread. Bug: 3403756 Change-Id: Ifd965091d116745c2e22c121151ade9e78eb14c6
/frameworks/native/opengl/libagl/egl.cpp
|
695b66f082033d618ce19ee289d858130bd5420b |
|
09-Dec-2010 |
Mathias Agopian <mathias@google.com> |
fix build. Change-Id: I49262ac143da297efcaec4eed04052274c73b7f8
/frameworks/native/opengl/libagl/egl.cpp
|
72c384e0a16504638927fea2da36a4731953c8df |
|
27-Oct-2010 |
Kristian Monsen <kristianm@google.com> |
Fix for simulator build The code looks correct, but causes an internal compiler error on simulator builds on mine (an other) gLucid desktops. Change-Id: Iaf0d8120778ec1c6fc739ef13e6eaaac53e3bcc8
/frameworks/native/opengl/libagl/egl.cpp
|
698346ed5951f1172c1a71a68299b244e9d9b01e |
|
26-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am d9588e9c: am a7b745ca: Merge "fix eglChooseConfig() for special attributes." into gingerbread
|
3e98e385109f838fc7798e1b4280e5ce005bc31a |
|
26-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am a7b745ca: Merge "fix eglChooseConfig() for special attributes." into gingerbread
|
639716736f5d87b64a43a20f39f37dee6bd98806 |
|
26-Oct-2010 |
Mathias Agopian <mathias@google.com> |
fix eglChooseConfig() for special attributes. affects software renderer (emu) only. per EGL spec: If EGL_MAX_PBUFFER_WIDTH, EGL_MAX_PBUFFER_HEIGHT, EGL_MAX_PBUFFER_PIXELS, or EGL_NATIVE_VISUAL_ID are specified in attrib list, then they are ignored Change-Id: I3d5214ce896986da2f11d2eb1889afc41731eaa6
/frameworks/native/opengl/libagl/egl.cpp
|
2e6153ee11fa61d83125bd738a8cc707963a3de6 |
|
22-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am 49af98ed: am aa6df366: Merge "fix [3119687] [Maps][4.6.0] Force close in street view" into gingerbread Merge commit '49af98ed877e8a2db5a6b5be811c798e6f73dff7' * commit '49af98ed877e8a2db5a6b5be811c798e6f73dff7': fix [3119687] [Maps][4.6.0] Force close in street view
|
613493c424a8d62ecbcd7b90cb1008d569e93746 |
|
22-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am aa6df366: Merge "fix [3119687] [Maps][4.6.0] Force close in street view" into gingerbread Merge commit 'aa6df3669deab2a804c6f8cc1ea3fd5af0a28685' into gingerbread-plus-aosp * commit 'aa6df3669deab2a804c6f8cc1ea3fd5af0a28685': fix [3119687] [Maps][4.6.0] Force close in street view
|
6af358e0a752b179671a9f9ea01757ade3b123cf |
|
22-Oct-2010 |
Mathias Agopian <mathias@google.com> |
fix [3119687] [Maps][4.6.0] Force close in street view The EGLConfig attributes MUST be sorted, because they're used in a binary search. A recent change introduced a bug where 2 of the configs had improperly sorted attributes. Change-Id: I1ac53e4463d62f27125ca9f82ed946e6c98ddba0
/frameworks/native/opengl/libagl/egl.cpp
|
f6715ba6dec84edff64c9991df556102eb1289ad |
|
21-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am 6d90e89a: am a0795fc9: Merge "software renderer: fix [3117351] GL driver doesn\'t set the EGL_NATIVE_VISUAL_ID" into gingerbread Merge commit '6d90e89afa47293cf5fe18f512cce43d2fa6df82' * commit '6d90e89afa47293cf5fe18f512cce43d2fa6df82': software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_ID
|
41e5645b1a9f416f926c7f2aa024ed0bef206076 |
|
21-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am add9db83: am f4cd9be0: Merge "fix [2236865] STOPSHIP: bump soft gl and egl minor version number" into gingerbread Merge commit 'add9db83fdbf939f0610f8b357788fd3e8ad9ab5' * commit 'add9db83fdbf939f0610f8b357788fd3e8ad9ab5': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
|
3f9f60fa42fef63b57752377f00ed18f3df26b49 |
|
21-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am a0795fc9: Merge "software renderer: fix [3117351] GL driver doesn\'t set the EGL_NATIVE_VISUAL_ID" into gingerbread Merge commit 'a0795fc9bdf97703780cbf0ec47c06eccb642e72' into gingerbread-plus-aosp * commit 'a0795fc9bdf97703780cbf0ec47c06eccb642e72': software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_ID
|
d8e5ceb963c9bd3cba5c307aef481ded7859ef79 |
|
21-Oct-2010 |
Mathias Agopian <mathias@google.com> |
software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_ID Change-Id: I371bc0abfee6065247bc6f04b0e0451645eb2dbf
/frameworks/native/opengl/libagl/egl.cpp
|
309be7131f8a969fb3715665fba389f0ac9f3852 |
|
20-Oct-2010 |
Mathias Agopian <mathias@google.com> |
am f4cd9be0: Merge "fix [2236865] STOPSHIP: bump soft gl and egl minor version number" into gingerbread Merge commit 'f4cd9be0390135269e22e42fd2e1fe61fdcf9863' into gingerbread-plus-aosp * commit 'f4cd9be0390135269e22e42fd2e1fe61fdcf9863': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
|
141550bc18f670f7e7ec65fc25363da3dd35d52e |
|
19-Oct-2010 |
Mathias Agopian <mathias@google.com> |
fix [2236865] STOPSHIP: bump soft gl and egl minor version number Change-Id: Ibf46b18d7493348e189f2c93e969a6cac61f68b5
/frameworks/native/opengl/libagl/egl.cpp
|
551dc26ebd7db09a6ae8604a8612c00d2ebab403 |
|
01-Oct-2010 |
Ari Hirvonen <ahirvonen@nvidia.com> |
libagl: eglSwapInterval fix SW egl returned always EGL_FALSE even when the display was valid. This made calls to eglSwapInterval to fail on HW since the wrapper fails if either SW or HW egl fails. Letting SW eglSwapInterval to return true when display is valid is ok since spec says that interval parameter is silently clamped. Change-Id: Ib4aa1dbfccf510a0f36621796e79a4d46852ee6a
/frameworks/native/opengl/libagl/egl.cpp
|
27e2fac3370d2de56c05b9ec838ceff9a10b137c |
|
27-Aug-2010 |
Mathias Agopian <mathias@google.com> |
cleanup EGL a bit. remove unused extension. Change-Id: I7758bc7d6dc2e70fc3590fe939ebf71fbcde7059
/frameworks/native/opengl/libagl/egl.cpp
|
1bd367434376a942074645f2b302748186dec25b |
|
27-Aug-2010 |
Mathias Agopian <mathias@google.com> |
am ff3dcf27: Merge "cleanup EGL a bit. remove unused extension." into gingerbread Merge commit 'ff3dcf27be2bbb259b7605396d36e50ade35266f' into gingerbread-plus-aosp * commit 'ff3dcf27be2bbb259b7605396d36e50ade35266f': cleanup EGL a bit. remove unused extension.
|
10cab190ba3bdad058cbb674f956e7b251bf74da |
|
27-Aug-2010 |
Mathias Agopian <mathias@google.com> |
cleanup EGL a bit. remove unused extension. Change-Id: Ia87120b076ab1bf7b28f06087878d8161fb46c88
/frameworks/native/opengl/libagl/egl.cpp
|
1071c201432405883c22ae4a331cc5a1b3a0fa8c |
|
19-Aug-2010 |
Mathias Agopian <mathias@google.com> |
am 17da0663: Merge "fix [2931161] crash in labyritnth when completing a level" into gingerbread Merge commit '17da06631041f9f2237738fb673a74a85b1d9cf4' into gingerbread-plus-aosp * commit '17da06631041f9f2237738fb673a74a85b1d9cf4': fix [2931161] crash in labyritnth when completing a level
|
031213e5b31c317135f603271333949dda89e01e |
|
19-Aug-2010 |
Mathias Agopian <mathias@google.com> |
fix [2931161] crash in labyritnth when completing a level Change-Id: I821d67effaf73d7008b2828d06f5489d1f976a1e
/frameworks/native/opengl/libagl/egl.cpp
|
d7beac601a153c4543813d3100f160cdb8d8ed4c |
|
31-Jul-2010 |
Mathias Agopian <mathias@google.com> |
am 4d7fc365: Merge "remove copybit hack from software opengl (libagl)" into gingerbread Merge commit '4d7fc3651bd93d588d2b8580010414b59bc67729' into gingerbread-plus-aosp * commit '4d7fc3651bd93d588d2b8580010414b59bc67729': remove copybit hack from software opengl (libagl)
|
bb0628d9debc5ddd5b1ca3311d6397bbe668c4ee |
|
30-Jul-2010 |
Mathias Agopian <mathias@google.com> |
remove copybit hack from software opengl (libagl) h/w acceleration is not supported through software gl + copybit anylonger, instead, h/w opengl must be used. in the system compositor, a new h/w composition api will be introduced to allow h/w accelerated composition with overlays and/or 2D blocks. Change-Id: I04949cb074ba8c4d637319ace23497c16a58d5bf
/frameworks/native/opengl/libagl/egl.cpp
|
d729836ff87fb71772592a1069c89284321eabc6 |
|
01-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
am c6e1d880: Merge "Introduce official public NativeWindow type." into gingerbread Merge commit 'c6e1d88022db800773401c16803e1ab27fd01a7e' into gingerbread-plus-aosp * commit 'c6e1d88022db800773401c16803e1ab27fd01a7e': Introduce official public NativeWindow type.
|
4b5e91e4820f03dba7dcc36e4b148331bc964b4b |
|
30-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Introduce official public NativeWindow type. Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
/frameworks/native/opengl/libagl/egl.cpp
|
ecfae4c86a094c27ea004a4d759e4578614078a0 |
|
21-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from froyo-plus-aosp Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
|
0acbc14307d69dccf7749fff9239d224523799a4 |
|
15-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I12af4b88c1881a6a120031459bc63d87b1dd4956
|
a409e195fefcfdc2672418d7ad058f3ff865999e |
|
02-Jun-2010 |
Mathias Palmqvist <mathias.palmqvist@sonyericsson.com> |
Use stride for source and target buffers when copybit is enabled. Change-Id: Ie651013b3522f8e004685d74190da86433086307
/frameworks/native/opengl/libagl/egl.cpp
|
04aed2149d95f04602127eef4d5b6d7d48684359 |
|
17-May-2010 |
Mathias Agopian <mathias@google.com> |
fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig the EGL specification states that this should be treated as though it was an empty list terminated with EGL_NONE. Change-Id: I294104370a86b5e5c34c7bcf15c5459eab464631
/frameworks/native/opengl/libagl/egl.cpp
|
8dccb26901973722164f2a11551fd6d5c52081bf |
|
05-Feb-2010 |
Mathias Agopian <mathias@google.com> |
Proper EGLImageKHR error handling Validate EGLImageKHR format and return an error for unsupported ones. Also make sure to return an error when binding EGL_NO_IMAGE_KHR to a texture
/frameworks/native/opengl/libagl/egl.cpp
|
c656e03674b3a2b2bfcc427f9514424df9c39db4 |
|
13-Nov-2009 |
Mathias Agopian <mathias@google.com> |
am 66b5d902: am 27407208: Merge change Icf335098 into eclair Merge commit '66b5d902a29e08237f16be53a84f9c2472df8493' into eclair-mr2-plus-aosp * commit '66b5d902a29e08237f16be53a84f9c2472df8493': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
|
ffd6583e150734ea1263e9bc114c23270bd80b36 |
|
13-Nov-2009 |
Mathias Agopian <mathias@google.com> |
am 27407208: Merge change Icf335098 into eclair Merge commit '274072089ceff6eacb9ccfb59290a18f43739c87' into eclair-plus-aosp * commit '274072089ceff6eacb9ccfb59290a18f43739c87': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
|
1eeffc68149c9602c05c8ab5cbbdd8027e9a6fdf |
|
13-Nov-2009 |
Mathias Agopian <mathias@google.com> |
fix [2236865] STOPSHIP: bump soft gl and egl minor version number
/frameworks/native/opengl/libagl/egl.cpp
|
ff230a51f53a2c4878c4e126c1625df68af14089 |
|
09-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
143b2a789c4e4c3a4670eba7a1993d03b218f68e |
|
09-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
8b6b95abaec4a7e3df80a648bed75aa5aa74e8fe |
|
04-Nov-2009 |
Mathias Agopian <mathias@google.com> |
part of fix [2186418] switch passion to 24-bits framebuffer add support for RGBX_8888 EGLConfigs in the software renderer (since that's what we're using in the MDP case)
/frameworks/native/opengl/libagl/egl.cpp
|
bc4929117d0b07fec2f0986f38641eecc9f20d55 |
|
04-Nov-2009 |
Mathias Agopian <mathias@google.com> |
fix [2236832] software OpenGL ES driver doesn't work on sholes make sure to not pass our fake handles to the real gralloc
/frameworks/native/opengl/libagl/egl.cpp
|
6fee064809068fe1a7da63d55678d9a222b0be15 |
|
03-Nov-2009 |
Mathias Agopian <mathias@google.com> |
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video we lost the concept of vertical stride when moving video playback to EGLImage. Here we bring it back in a somewhat hacky-way that will work only for the softgl/mdp backend.
/frameworks/native/opengl/libagl/egl.cpp
|
0985f6a4ea1c457d98b0169ba9caa6b3713b1c7e |
|
19-Oct-2009 |
Mathias Agopian <mathias@google.com> |
fix [2153873] EGL-1.4 software implementation misses surface attributes
/frameworks/native/opengl/libagl/egl.cpp
|
97640b9320eac5f5709f48550ff37e9f41297065 |
|
12-Oct-2009 |
Christoffer Gurell <chgur@tat.se> |
Fix obvious typo bug in egl.cpp can (and does sometimes) lead to accessing array with -1 as index
/frameworks/native/opengl/libagl/egl.cpp
|
56fa27572a2bbdd84a4762968327dba670fedae0 |
|
28-Sep-2009 |
Mathias Agopian <mathias@google.com> |
fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT Also set max swap interval to 1, which is the only supported value currently.
/frameworks/native/opengl/libagl/egl.cpp
|
0696a572294bbaa977245afb630065de3278473b |
|
20-Aug-2009 |
Mathias Agopian <mathias@google.com> |
better error handling in EGL
/frameworks/native/opengl/libagl/egl.cpp
|
5221271375f361b84a6eeec3d7086f223997fbb3 |
|
12-Aug-2009 |
Mathias Agopian <mathias@google.com> |
second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
/frameworks/native/opengl/libagl/egl.cpp
|
b2fd4665e66fe81969f1f07fd724c6f68dd8f7f1 |
|
12-Aug-2009 |
Fred Quintana <fredq@google.com> |
Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
/frameworks/native/opengl/libagl/egl.cpp
|
df37b62c62f8efd3b5a433f9b4d40d30cec13a31 |
|
11-Aug-2009 |
Mathias Agopian <mathias@google.com> |
SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything. This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored). Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
/frameworks/native/opengl/libagl/egl.cpp
|
cf81c84e43eb33931b950fa2c9b4c6f51afe7197 |
|
31-Jul-2009 |
Mathias Agopian <mathias@google.com> |
be more robust when errors occur upon EGL surface creation (ie: don't crash)
/frameworks/native/opengl/libagl/egl.cpp
|
cb6b9041647b4f080324742eee5ce709960ff610 |
|
31-Jul-2009 |
Mathias Agopian <mathias@google.com> |
fixed some issues with the software renderer when surfaces are made current. there was several issues: - when a surface was made non-current, the last frame wasn't shown and the buffer could stay locked - when a surface was made current the 2nd time, it would not dequeue a new buffer now, queue/dequeue are done when the surface is made current. for this to work, a new query() hook had to be added on android_native_window_t, it allows to retrieve some attributes of a window (currently only width and height).
/frameworks/native/opengl/libagl/egl.cpp
|
02f54246f55f0ef4263f91062d350876ade5dd78 |
|
29-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/native/opengl/libagl/egl.cpp
|
f13901eaa98241b52062a3ae3b016badce3dee0c |
|
16-Jul-2009 |
Mathias Agopian <mathias@google.com> |
remove libagl's dependency on gralloc_priv.h
/frameworks/native/opengl/libagl/egl.cpp
|
2521f47c4d45a4d02c3a9f608c73de744c8b44f6 |
|
10-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 46e28db8: Merge change 6713 into donut Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6' * commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6': fix for [1969185] valgrind errors in new gl stuff
|
dacd7a33c458240355c4b22dcc82809241447ab8 |
|
10-Jul-2009 |
Mathias Agopian <mathias@google.com> |
fix for [1969185] valgrind errors in new gl stuff
/frameworks/native/opengl/libagl/egl.cpp
|
240c9fe59e9db5807c88796f60889acc44ba845c |
|
26-Jun-2009 |
Mathias Agopian <mathias@google.com> |
use copybit for eglSwapBuffers() copy-back operations
/frameworks/native/opengl/libagl/egl.cpp
|
8d2e83b9f44c7f2207a312fcfda8eb3a4c26745f |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Add eglGetRenderBufferANDROID() extension, which returns the current render buffer as an android_native_buffer_t*
/frameworks/native/opengl/libagl/egl.cpp
|
0a3139a21e628093893bba8ca0bb0b4742e0522c |
|
11-Jun-2009 |
Mathias Agopian <mathias@google.com> |
fix a bug where copybit only renders in the first buffer when used with s/w GL
/frameworks/native/opengl/libagl/egl.cpp
|
9648c1a2b9b527bcef64bb9d96e8385a14949840 |
|
04-Jun-2009 |
Mathias Agopian <mathias@google.com> |
make sure clear the draw and read EGLSurface when eglMakeCurrent() is called for unbinding from the thread
/frameworks/native/opengl/libagl/egl.cpp
|
9660d304ae51a69509e5506e1fc80178025dee7c |
|
20-May-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/native/opengl/libagl/egl.cpp
|
e6bf8b32b616450f80b64d226ea673f4a2e0bf8d |
|
07-May-2009 |
Mathias Agopian <mathias@google.com> |
fix EGL extension string names
/frameworks/native/opengl/libagl/egl.cpp
|
df3ca30bf663cb8eed88ee3f16fb5e9a65dc00fc |
|
05-May-2009 |
Mathias Agopian <mathias@google.com> |
created an new EGL extension called ANDROID_swap_rectangle ANDROID_swap_rectangle allows to specify the rectangle affected by eglSwapBuffers(), anything outside of this rectangle is unchanged. in particular EGL_BUFFER_DESTROYED only applies to that rectangle. This extension as well as EGL_BUFFER_PRESERVED allow major optimizations on surfaceflinger, which can redraw only the dirty area during compositing. However, ANDROID_swap_rectangle allows further optimizations in EGL by reducing the amount of copy-back needed. ANDROID_swap_rectangle is particularily important for software implementations.
/frameworks/native/opengl/libagl/egl.cpp
|
58a79f47457e9cae2f6880653b581fe3170b0b1f |
|
06-May-2009 |
Mathias Agopian <mathias@google.com> |
move android_native_buffer_t declaration into its own private/ui/android_native_priv.h header, since user code should never have access to it.
/frameworks/native/opengl/libagl/egl.cpp
|
7189c0054e29a66d945f5657c48d5ecf538ea511 |
|
06-May-2009 |
Mathias Agopian <mathias@google.com> |
move opengl/include/EGL/android_natives.h to include/ui/egl/android_natives.h and don't include it from egl.h the android_native_ types are just forward declared in egl.h
/frameworks/native/opengl/libagl/egl.cpp
|
21c59d0070fe24a8e04e52ce04d511a924a9932f |
|
05-May-2009 |
Mathias Agopian <mathias@google.com> |
get rid of android_native_buffer_t::getHandle() and replace it with an handle field this abstraction was not necessary. things are easier now.
/frameworks/native/opengl/libagl/egl.cpp
|
e71212ba5397387100a578d23b15862518a7a859 |
|
05-May-2009 |
Mathias Agopian <mathias@google.com> |
removed the "bits" attribute from android_native_buffer_t. "bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
/frameworks/native/opengl/libagl/egl.cpp
|
0926f50664c739eaee60341f8e8c694dc9a4f3eb |
|
04-May-2009 |
Mathias Agopian <mathias@google.com> |
update surfaceflinger, libui and libagl to the new gralloc api - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
/frameworks/native/opengl/libagl/egl.cpp
|
53238bddeab7b4633bfdb59fac67b0af1211955a |
|
23-Apr-2009 |
Mathias Agopian <mathias@google.com> |
integrate some OpenGL ES changes back from master_gl in preparation of opening GLES to the NDK.
/frameworks/native/opengl/libagl/egl.cpp
|
8b765b7f5ea7f56963ea0e3141d043d20944dbcc |
|
11-Apr-2009 |
Mathias Agopian <mathias@google.com> |
more debugging tools around BufferMapper
/frameworks/native/opengl/libagl/egl.cpp
|
076b1cc3a9b90aa5b381a1ed268ca0b548444c9b |
|
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
/frameworks/native/opengl/libagl/egl.cpp
|
749c63dbff0ab66223f30af1bad4ca56bd26d5d2 |
|
25-Mar-2009 |
Jack Palevich <> |
Automated import from //branches/master/...@142578,142578
/frameworks/native/opengl/libagl/egl.cpp
|
87d80228cc6b8904da036d51d41252f8301e41d2 |
|
25-Mar-2009 |
Jack Palevich <> |
Automated import from //branches/donutburger/...@142484,142484
/frameworks/native/opengl/libagl/egl.cpp
|
df351ba57378ee9e58cf0b0cd1ff6d4700052ec6 |
|
25-Mar-2009 |
Jack Palevich <> |
Automated import from //branches/cupcake/...@142481,142481
/frameworks/native/opengl/libagl/egl.cpp
|
edbf3b6af777b721cd2a1ef461947e51e88241e1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/native/opengl/libagl/egl.cpp
|
d5193d9394c5e58176d7bcdf50ef017f8a3b9e1e |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/native/opengl/libagl/egl.cpp
|
43aa2b1cbf7a03e248e10f4d0fec0463257cd52d |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/native/opengl/libagl/egl.cpp
|
0bb03408de8886e8d17013219967d42fb9c8cf8c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/native/opengl/libagl/egl.cpp
|
a6938bab1f6fa76ae98ebbe44f4e534e05fa0993 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/native/opengl/libagl/egl.cpp
|
e09fd9e819c23dc90bca68375645e15544861330 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/native/opengl/libagl/egl.cpp
|
7c1b96a165f970a09ed239bb4fb3f1b0d8f2a407 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/native/opengl/libagl/egl.cpp
|