summaryrefslogtreecommitdiffstats
path: root/opengl
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge "EGL: add the ANDROID suffix to the blob cache ext" into ics-mr1Jamie Gennis2011-11-145-57/+59
| |\ \ | | |/ | |/|
| | * EGL: add the ANDROID suffix to the blob cache extJamie Gennis2011-11-115-57/+59
| | | | | | | | | | | | | | | | | | | | | This change adds the ANDROID suffix to the all the types and functions defined by the EGL_ANDROID_blob_cache extension. Change-Id: I087875b96d9a7053efb9c8d5614f9f765eed799d
* | | am cb0db030: Merge branch \'ics-mr1-plus-aosp\' of ↵Akwasi Boateng2011-11-114-1/+20
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp * commit 'cb0db0306b5849a35d3d99eea1b34ce019c6f0d8': Make the overridden ImageView#setVisibility remotable Clamp non-monotonic stats instead of dropping. DO NOT MERGE. Fix leak in LayoutTransition Fix lastVisible/global rects Fix Wimax-less build. Fix leak in LayoutTransition Deferring wallpaper update to improve workspace scrolling (issue 5506959) Terminate EGL when an app goes in the background boot animation is dithered and scaled Fix NdefRecord byte-stream constructor. PopupWindow dismiss() can get into a recursive loop. Fold WiMAX state into the mobile RSSI. Remove dedicated wimax icon to fix RSSI layout.
| * | Merge "Terminate EGL when an app goes in the background" into ics-mr1Romain Guy2011-11-104-1/+20
| |\ \ | | |/ | |/|
| | * Terminate EGL when an app goes in the backgroundRomain Guy2011-11-104-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | This does not happen on high end gfx devices. This happens only if only one EGL context is initialized in the current process. Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e
* | | am 1bf15e79: am 97ece7a9: Merge "EGL: add deferred saving of the cache" into ↵Jamie Gennis2011-11-102-0/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr1 * commit '1bf15e79dcc89229c599987ed795e3fd99bcbc88': EGL: add deferred saving of the cache
| * | EGL: add deferred saving of the cacheJamie Gennis2011-11-082-0/+34
| |/ | | | | | | | | | | | | | | This change causes any insertions into the EGL cache to trigger an attempt to save the cache contents to disk. The save operation is deferred to allow multiple cache insertions to be batched up. Change-Id: I6cfec9c0dbbef94d3f8880860e2a365dccc296c7
* | am 3cb007e4: am 911263dc: Merge changes I18e5e789,I5cbaae2d into ics-mr1Jamie Gennis2011-11-097-21/+460
|\ \ | |/ | | | | | | | | * commit '3cb007e44db1e169747528f62a118575f3b04d56': EGL: implement loading and saving the cache EGL: use an in-memory the blob cache
| * EGL: implement loading and saving the cacheJamie Gennis2011-11-085-5/+293
| | | | | | | | | | | | | | This change adds support for saving and loading the contents of the EGL cache. It also adds some simple tests for the EGL cache. Change-Id: I18e5e789e0897a0783d29d1c1e64d26de2dd44c4
| * EGL: use an in-memory the blob cacheJamie Gennis2011-11-074-16/+167
| | | | | | | | | | | | | | | | This change makes the makes the stub EGL_ANDROID_blob_cache callbacks actually use a BlobCache object. Bug: 5474671 Change-Id: I5cbaae2dea3aad2fe306c9f57029c3f215a0863a
* | Merge "Properly passing an unused variable through."Alex Sakhartchouk2011-11-071-1/+1
|\ \
| * | Properly passing an unused variable through.Alex Sakhartchouk2011-11-031-1/+1
| | | | | | | | | | | | Change-Id: Ie49b5855bfca4e202ed41b6167a899832e99d728
* | | am 2ab7ec90: Merge "EGL: Add stubs for EGL_ANDROID_blob_cache" into ics-mr1Jamie Gennis2011-11-055-1/+139
|\ \ \ | | |/ | |/| | | | | | | * commit '2ab7ec90e4a6f21bee7cbfebbd751d32d4cf9e03': EGL: Add stubs for EGL_ANDROID_blob_cache
| * | EGL: Add stubs for EGL_ANDROID_blob_cacheJamie Gennis2011-11-045-1/+139
| | | | | | | | | | | | | | | | | | | | | This change adds a stub cache implementation that gets passed to the underlying EGL implementation at initialization time. Change-Id: I14437c5b6f91b7a34a19bb02ad802e6e54f88d2a
* | | am 74b2b954: am 09848bc8: Merge "docs: add developer guide cross references, ↵Joe Fernandez2011-10-313-1/+25
|\ \ \ | |/ / | | / | |/ |/| | | | | Project ACRE, round 3" into ics-mr0 * commit '74b2b9547329a0b05e0bd5701057696007b854bb': docs: add developer guide cross references, Project ACRE, round 3
| * am 09848bc8: Merge "docs: add developer guide cross references, Project ↵Joe Fernandez2011-10-293-1/+25
| |\ | | | | | | | | | | | | | | | | | | ACRE, round 3" into ics-mr0 * commit '09848bc89de999416e2de82a7693b2deec6bf802': docs: add developer guide cross references, Project ACRE, round 3
| | * docs: add developer guide cross references, Project ACRE, round 3Joe Fernandez2011-10-283-1/+25
| | | | | | | | | | | | Change-Id: I6125315ecdf0f78dd947c514a9944729d723e95d
* | | Destroy and recreate the EGL surface when the surface size changes.Jack Palevich2011-10-281-30/+30
|/ / | | | | | | | | | | | | | | | | | | | | | | Details: + Split EGLHelper.createSurface into two methods. + Add a separate flag for specifying when to create the GlInterface. + destroy and recreate the EGL surface when the surface size changes + Remove no-longer-needed work-around for b/2263168. This fixes b/2263168 Change-Id: I0d2596527e3c8dabacdd8a8e427531eaefe7d266
* | Work around race condition when shutting down a surface flinger surface.Jack Palevich2011-10-141-3/+17
|/ | | | | | Works around b/4588890 Change-Id: Ie0cf1f212686aec93cda85bf112f4b7ab4197256
* don't log EGL errors due to unimplemented proprietary extensionsMathias Agopian2011-10-053-15/+24
| | | | Change-Id: Icfc33d4f55d1e7fb49390ce0921ba37a438c9fc2
* Avoid allocating temporary memory for Matrix operations.Jack Palevich2011-09-201-80/+111
| | | | | | | Also fix a bug where Matrix.invertM was not returning false when the matrix could not be inverted. Change-Id: I68b172032093d9f257e88c802de936633bb4912c
* fix EGL debuggerMathias Agopian2011-09-198-33/+29
| | | | | | | always use GL_RGBA, GL_UNSIGNED_BYTE for screen capture and make sure to handle GL_BGRA_EXT used on some gpu. Change-Id: If9c973677fec8a5c4e72be22e7ef7d4bf5f008f4
* cleanup: fix typos in logsMathias Agopian2011-09-161-1/+1
| | | | Change-Id: Ib5744564a873ea2b84100174673dc4d3ae109fcf
* Add (support for) EGL_NV_system_time extension.Jonas Yang2011-09-133-0/+67
| | | | | Change-Id: I62bf0fcb5ccdc77c042b425a42054fb3122575b6 Signed-off-by: Mathias Agopian <mathias@google.com>
* add an option to EGL to dump stack traces on errorsMathias Agopian2011-09-062-4/+18
| | | | | | enable by setting debug.egl.callstack to 1 Change-Id: I7fad9ce71b4c4c5ece97d4f9d139348eab742a3c
* opengl: EGL: special case for GLES emulationDavid 'Digit' Turner2011-09-021-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch modifies the library loaded in libEGL.so to handle the case of GLES emulation as follows: - if we detect that we run inside the emulator, check the GPU emulation status through ro.kernel.qemu.gles, which will be set to 1 if supported, or 0 otherwise. When trying to run on an older version of the emulator, the kernel parameter will not be defined at all. - if GPU emulation is supported, use egl.cfg as usual. It will contain a line like "0 0 emulation" that will load libEGL_android.so appropriately. - nothing is changed if we don't run inside the emulator. NOTE: Ideally, we would modify libEGL_emulation.so to redirect all calls to libEGL_android.so in this case. However, this turns out to be extremely tedious to implement (too many functions with different signatures). As such, it is much simpler to make the check before loading the library. Change-Id: I9930bc168d9013cc8700feedc57b979384467c37
* fix another bug that prevented the gl debugger to workMathias Agopian2011-09-011-1/+1
| | | | | | we didn't set the debug tls properly Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
* this should fix the GL debuggerMathias Agopian2011-09-011-3/+3
| | | | | | we were checking against to the wrong variable Change-Id: Iff3f5ab2d6ba5ac0d3d8161011b38e673ee7e67b
* fix logging of eglMakeCurrent() errorsMathias Agopian2011-08-251-0/+3
| | | | Change-Id: Ie22cabff822a8fb3186f082491234b9503b431c3
* Merge "EGL: move disconnect to surface dtor"Jamie Gennis2011-08-252-9/+9
|\
| * EGL: move disconnect to surface dtorJamie Gennis2011-08-242-9/+9
| | | | | | | | | | | | | | | | | | This change moves the call to native_window_api_disconnect from eglDestroySurface to the egl_surface_t destructor. The egl_surface_t can outlive the external EGLSurface if eglDestroySurface is called while the surface is made current on a thread. Change-Id: I0df6117a5633c2a19935fe356579abdd76fc471f
* | Add OpenGL backend to ImageWallpaperRomain Guy2011-08-241-1/+48
|/ | | | | | | | Bug #5204874 Currently disabled. Change-Id: I5e7b35dce2981b0691f107e39c6394b260466543
* implement EGL_TEXTURE_EXTERNAL_OES in libaglMathias Agopian2011-08-182-4/+7
| | | | | | this allows the emulator to display some graphics Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
* fix test-opengl-swapintervalMathias Agopian2011-08-151-6/+10
| | | | | | EGLConfig selection should now work on any device Change-Id: I4d4580e891d1faf817fa853838406fb49d12e50a
* fix an issue where the screen could be stale after a surface size changeMathias Agopian2011-08-011-0/+10
| | | | | | | | | | | | | | | | | | some GLES drivers dequeue buffers before a frame is started (which is allowed), which can cause a that frame to be rendered into a buffer of the wrong size. Such buffer will be ignored by the compositor. If the application draws only once after a size change, the screen might stay in this stale state. this can be avoided by telling the GL driver to purge all its pending buffers, which is done by making the surface not current and then current again. this solution is specific to android, but acceptable because handled solely in the framework. Bug: 2263168 Change-Id: I3d3c9a019979a9186e329d3160fa54adac78d3f7
* connect/disconnect is now called from our EGL wrapperMathias Agopian2011-08-011-2/+17
| | | | | | | | | | | the original connect/disconnect hooks are deprecated and replace by api_connect/api_disconnect. the original hooks are no no-ops. api_connect/api_disconnect is now only called from the android framework. Bug: 5057915 Change-Id: I8ca64cd1acd6cabf915bf54689ec2e5f6dfa495a
* Add new OpenGL testRomain Guy2011-07-192-0/+486
| | | | Change-Id: Icab48d71945bf94dd53f58b728a951d46380d945
* EGL: update EGL_ANDROID_recordable extension.Jamie Gennis2011-07-172-5/+37
| | | | | | | | This change adds an enum value and a description of the expected implementations to the EGL_ANDROID_recordable extension specification. It also adds the new enum value to the 'eglext.h' header. Change-Id: Ia0de2d5613708445ff83b85a7e550f9417531ee4
* Merge "fix typo in a comment"Mathias Agopian2011-07-121-1/+1
|\
| * fix typo in a commentMathias Agopian2011-07-121-1/+1
| | | | | | | | Change-Id: If913611a65e8b578021e9f9a9546f05e0ce6ef44
* | Merge "Remove the simulator target from all makefiles. Bug: 5010576"Jeff Brown2011-07-1212-84/+36
|\ \
| * | Remove the simulator target from all makefiles.Jeff Brown2011-07-1112-84/+36
| |/ | | | | | | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
* | Merge changes I002177a6,Ibaff52feJamie Gennis2011-07-113-0/+333
|\ \ | | | | | | | | | | | | | | | * changes: Add the EGL_ANDROID_recordable spec. Add the spec for EGL_ANDROID_blob_cache.
| * | Add the EGL_ANDROID_recordable spec.Jamie Gennis2011-07-112-0/+125
| | | | | | | | | | | | Change-Id: I002177a68fafd6bb941aa64445c85fd5ff56223a
| * | Add the spec for EGL_ANDROID_blob_cache.Jamie Gennis2011-07-111-0/+208
| |/ | | | | | | Change-Id: Ibaff52fee5c856283536ad37251cc80a9f3f938b
* | Merge "EGL: fix the ANativeWindow size/fmt override"Jamie Gennis2011-07-111-1/+6
|\ \
| * | EGL: fix the ANativeWindow size/fmt overrideJamie Gennis2011-07-111-1/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes how the Android EGL layer overrides the size and format of an ANativeWindow in eglCreateWindowSurface. The new behavior is to leave the size untouched when overriding the format. The previous behavior was to reset the ANativeWindow to use the default size set by the ANativeWindow implementation. It also adds two new 'perform' methods to the ANativeWindow interface: set_buffers_dimensions and set_buffers_format, and redefines the behavior of set_buffers_geometry to be the combination of these two new methods. Additionally, this change adds an error check for the return value of the new native_window_set_buffers_format call, which required adding a (stub) handler for to FramebufferNativeWindow. Change-Id: I805c7ccd8d4730dfb132d10d8bc3fb058a0b9df1
* | Always make GL calls with a valid EGL context.Romain Guy2011-07-111-0/+5
|/ | | | | | Bug #5010760 Change-Id: If7500ef69683948e727df1406f458f18b11259d1
* Add a simple EGL testMathias Agopian2011-07-082-0/+170
| | | | | | currently it just tests EGLConfig selection Change-Id: Id9d9971012d733147dd7dc02fa2054307960235e
* Properly refcount SurfaceTexture in the JNI layer.Romain Guy2011-06-151-2/+2
| | | | Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6