summaryrefslogtreecommitdiffstats
path: root/opengl
Commit message (Collapse)AuthorAgeFilesLines
...
* | | am 67e4ff76: am 4d7fc365: Merge "remove copybit hack from software opengl ↵Mathias Agopian2010-07-319-811/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | (libagl)" into gingerbread Merge commit '67e4ff768d71088a64fbac3b8e398e2e16dd84ec' * commit '67e4ff768d71088a64fbac3b8e398e2e16dd84ec': remove copybit hack from software opengl (libagl)
| * | am 4d7fc365: Merge "remove copybit hack from software opengl (libagl)" into ↵Mathias Agopian2010-07-309-811/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '4d7fc3651bd93d588d2b8580010414b59bc67729' into gingerbread-plus-aosp * commit '4d7fc3651bd93d588d2b8580010414b59bc67729': remove copybit hack from software opengl (libagl)
| | * remove copybit hack from software opengl (libagl)Mathias Agopian2010-07-299-811/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am eb248a58: am 55a76dd8: Merge "fix [2870926] Issue 9802: EGL wrapper has ↵Mathias Agopian2010-07-291-98/+138
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | not been implemented correctly for eglQuerySurface()." into gingerbread Merge commit 'eb248a58fabac31873982e4f389ba81981f4041f' * commit 'eb248a58fabac31873982e4f389ba81981f4041f': fix [2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface().
| * | am 55a76dd8: Merge "fix [2870926] Issue 9802: EGL wrapper has not been ↵Mathias Agopian2010-07-291-98/+138
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | implemented correctly for eglQuerySurface()." into gingerbread Merge commit '55a76dd8d9996c1e93762d7611789aea696d536c' into gingerbread-plus-aosp * commit '55a76dd8d9996c1e93762d7611789aea696d536c': fix [2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface().
| | * fix [2870926] Issue 9802: EGL wrapper has not been implemented correctly for ↵Mathias Agopian2010-07-261-98/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eglQuerySurface(). rework how our EGL wrapper manages EGLConfig: - we now store the EGLConfig with the EGLSurface and EGLContext so that we can have easy access to it from eglQueryContext and eglQuerySurface. - EGLConfig now are an index into a sorted table of egl_config_t, we use a binary search to retrieve our EGLConfig (the index) from the implementation's EGLConfig. - egl_config_t keeps track of the implementation's index, EGLConfig and CONFIG_ID as well as our CONFIG_ID. In many ways, this implementation is simpler and more robust, as it doesn't assume anything about the number of implementations nor what EGLConfig is made of (the previous code assumed EGLConfig didn't usem more than 24-bits). Change-Id: Id5abe923aacb6e1fd2b63bd8c15d7b04ae824922
* | | Update filltest.Jason Sams2010-07-213-602/+343
| | | | | | | | | | | | Change-Id: I37f2bde9898046eafb6431519dae78bf6f368f05
* | | Fix extraMath state variable.Jack Palevich2010-07-191-7/+11
| | | | | | | | | | | | Change-Id: Iba76d3e4e3bab0b993d176755f588201c8a967cd
* | | Try to handle end-of-application better.Jack Palevich2010-07-191-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Handle rotation from portrait to landscape by restarting test if not finished. Don't write blank line to csv file. Change-Id: I154443138817bcec9530123c8388fcf659632336
* | | Write test timings to /sdcard/glperf.csvJack Palevich2010-07-192-3/+22
| | | | | | | | | | | | Change-Id: If09e209a9d8049f03320dbd7df257137bf06949e
* | | Keep screen on for whole test.Jack Palevich2010-07-192-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | Print only one set of timings per test. Draw blank black screen when done. Change-Id: I963bcbca99ff5975683b15e60437978eb1a8beb8
* | | An application version of the GL test.Jack Palevich2010-07-197-0/+942
| | | | | | | | | | | | Change-Id: Ibcccdf2560eb24d3037c02c4740f0048b60d070c
* | | am 43429036: am 91216a7e: Merge "Fix deadlock when switching between two ↵Jack Palevich2010-07-131-18/+74
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | GLSurfaceViews" into gingerbread Merge commit '43429036f5885063e522603e51c5f59f8b9e697a' * commit '43429036f5885063e522603e51c5f59f8b9e697a': Fix deadlock when switching between two GLSurfaceViews
| * | am 91216a7e: Merge "Fix deadlock when switching between two GLSurfaceViews" ↵Jack Palevich2010-07-131-18/+74
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit '91216a7e7406ef02d833e461d0db93ece7b2140d' into gingerbread-plus-aosp * commit '91216a7e7406ef02d833e461d0db93ece7b2140d': Fix deadlock when switching between two GLSurfaceViews
| | * Fix deadlock when switching between two GLSurfaceViewsJack Palevich2010-07-131-18/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some devices only support a single active EGL context. On those devices, when a second activity that uses a GLSurfaceView is started in the same process, the second activity can potentially hang in GLSurfaceView.onWindowResize waiting for its GLSurfaceView render thread to draw a frame. The second activity's render thread is waiting to acquire an EGL context, but the first activity's render thread doesn't know it should release the EGL context. The fix is to detect the potential hang, and ask the first activity's render thread to release the EGL context. Change-Id: Ibb342c68772297744c973bcf5010581cd132db67
* | | gl perf test cleanup.Jason Sams2010-07-122-109/+5
| | | | | | | | | | | | Change-Id: Ic486774e25421bd2f412f0ba2bbac4660e3982b8
* | | Fix build.Andy McFadden2010-07-121-0/+1
| | | | | | | | | | | | | | | | | | Added missing #include <string.h>. Change-Id: Idf151876851110098fe538a042f896784821919b
* | | Remove points from fixed function.Jason Sams2010-07-093-0/+644
| | | | | | | | | | | | | | | | | | Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
* | | am 5219a82f: am 8ecfb60a: Merge "Fix a bug that prevented the creation of ↵Mathias Agopian2010-07-021-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | EGL shared contexts." into gingerbread Merge commit '5219a82f9d64a7d13401dcf9a0703a0ca2cd842d' * commit '5219a82f9d64a7d13401dcf9a0703a0ca2cd842d': Fix a bug that prevented the creation of EGL shared contexts.
| * | am 8ecfb60a: Merge "Fix a bug that prevented the creation of EGL shared ↵Mathias Agopian2010-07-021-0/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | contexts." into gingerbread Merge commit '8ecfb60a8e74dfcd51bbf3f236d5f414a4d5ac7d' into gingerbread-plus-aosp * commit '8ecfb60a8e74dfcd51bbf3f236d5f414a4d5ac7d': Fix a bug that prevented the creation of EGL shared contexts.
| | * Merge "Fix a bug that prevented the creation of EGL shared contexts." into ↵Mathias Agopian2010-07-021-0/+4
| | |\ | | | | | | | | | | | | gingerbread
| | | * Fix a bug that prevented the creation of EGL shared contexts.Jamie Gennis2010-07-021-0/+4
| | | | | | | | | | | | | | | | Change-Id: I6b0ec5ef86abdd4e9083067ba297107cfb094df3
* | | | resolved conflicts for merge of f601ce2c to masterJean-Baptiste Queru2010-07-021-1/+0
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I9e880aacef9d949d83945d41ee5b6eb63ddc4cc7
| * | | merge from open-source masterThe Android Open Source Project2010-07-021-1/+0
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: Ifec16490ea2170728cb6ccb18d2e74fcb3478db6
| | * | | Fix missing NLBruce Beare2010-06-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I323f0c01d2e9ad4c9f07cad24bf6b63edc28ad62 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
* | | | | am 177c405a: am c6e1d880: Merge "Introduce official public NativeWindow ↵Dianne Hackborn2010-06-302-7/+8
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type." into gingerbread Merge commit '177c405a242e811b1010bd8382b5807ab8df31a8' * commit '177c405a242e811b1010bd8382b5807ab8df31a8': Introduce official public NativeWindow type.
| * | | | am c6e1d880: Merge "Introduce official public NativeWindow type." into ↵Dianne Hackborn2010-06-302-7/+8
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'c6e1d88022db800773401c16803e1ab27fd01a7e' into gingerbread-plus-aosp * commit 'c6e1d88022db800773401c16803e1ab27fd01a7e': Introduce official public NativeWindow type.
| | * | | Introduce official public NativeWindow type.Dianne Hackborn2010-06-302-7/+8
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
* | | | resolved conflicts for merge of 2eb12a47 to masterDianne Hackborn2010-06-241-2/+2
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I79eb9d9f083e51ec1b99145d81632683669e7a99
| * | | am 01e4cfc4: Some ActivityThread/ActivityManager cleanup.Dianne Hackborn2010-06-241-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301' into gingerbread-plus-aosp * commit '01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301': Some ActivityThread/ActivityManager cleanup.
| | * | Some ActivityThread/ActivityManager cleanup.Dianne Hackborn2010-06-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move PackageInfo out of ActivityThread, renaming to LoadedApk. - Rename some of the other PacakgeInfo inner classes to better represent what they are. - Rename HistoryRecord to ActivityRecord. - Introduce AppGlobals, to eventually let ActivityThread become package scoped. Change-Id: Ib714c54ceb3cdbb525dce3db9505f31042e88cf0
* | | | am 1e08cc1d: am 224107a4: Add OpenGL ES 2.0 VBO versions glDrawElements and ↵Jack Palevich2010-06-234-2/+104
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | glVertexAttribPointer. Merge commit '1e08cc1dfda9a0264fcf62898af0bdd6ed5a205c' * commit '1e08cc1dfda9a0264fcf62898af0bdd6ed5a205c': Add OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.
| * | | am 224107a4: Add OpenGL ES 2.0 VBO versions glDrawElements and ↵Jack Palevich2010-06-224-2/+104
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | glVertexAttribPointer. Merge commit '224107a421e2611b15d1ec736df54bca9ee3e78d' into gingerbread-plus-aosp * commit '224107a421e2611b15d1ec736df54bca9ee3e78d': Add OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.
| | * | Add OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.Jack Palevich2010-06-224-2/+104
| | | | | | | | | | | | | | | | Change-Id: Id0069535e97fe96eef74e4d0c1d19b010061fe3b
* | | | am cefb8858: am 28333315: Merge "Added support for the GL_TEXTURE_EXTERNAL ↵Mathias Agopian2010-06-232-0/+20
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | target" into gingerbread Merge commit 'cefb88587443323d147e687ff78eae9195eb584c' * commit 'cefb88587443323d147e687ff78eae9195eb584c': Added support for the GL_TEXTURE_EXTERNAL target
| * | | am 28333315: Merge "Added support for the GL_TEXTURE_EXTERNAL target" into ↵Mathias Agopian2010-06-212-0/+20
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '28333315c6f62b303de2ec0ac9e48158ed419f06' into gingerbread-plus-aosp * commit '28333315c6f62b303de2ec0ac9e48158ed419f06': Added support for the GL_TEXTURE_EXTERNAL target
| | * | Added support for the GL_TEXTURE_EXTERNAL targetMathias Agopian2010-06-152-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | This will allow us to support YUV surfaces. Change-Id: I2d4da75f1006a5285bdc552695d4caeecccf2183
| * | | merge from froyo-plus-aospThe Android Open Source Project2010-06-211-2/+2
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
| | * merge from open-source masterThe Android Open Source Project2010-06-151-2/+2
| | |\ | | | | | | | | | | | | Change-Id: I12af4b88c1881a6a120031459bc63d87b1dd4956
| | | * Use stride for source and target buffers when copybit is enabled.Mathias Palmqvist2010-06-021-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ie651013b3522f8e004685d74190da86433086307
* | | | Recover a handful of commits that were reverted earlierJean-Baptiste Queru2010-06-211-2/+2
| | | |
* | | | am e52d66fa: am 44bea8f8: Merge changes ↵Mathias Agopian2010-06-0916-165/+1143
|\ \ \ \ | |/ / / | | | | | | | | I00274431,I83be9404,I0359531a,Iceef1e95 into kraken
| * | | update EGL headers to the latestMathias Agopian2010-06-095-10/+99
| | | | | | | | | | | | | | | | | | | | | | | | note that this doesn't update the EGL stubs. Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
| * | | update GL ES stub libraries with the new GL ES headersMathias Agopian2010-06-095-58/+268
| | | | | | | | | | | | | | | | Change-Id: I83be94049ddfe3fd7f5bee71a21172ade1498dd5
| * | | fix OpenGL ES extension headers from khronosMathias Agopian2010-06-092-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the official headers have a couple typos, which this CL fixes. Change-Id: I0359531a05a4a62ddbdce70c5841ec1c355feb3b
| * | | update the OpenGL ES headers to the latestMathias Agopian2010-06-096-104/+783
| | | | | | | | | | | | | | | | Change-Id: Iceef1e95504897a5e3759b0401cf7031c9e74547
* | | | am 36893612: am d6ddcb7f: fix [2677468] some 3rd party GL ES apps get a ↵Mathias Agopian2010-05-241-1/+0
|\ \ \ \ | |/ / / | | | | | | | | 32-bits surface by default and fail
| * | | fix [2677468] some 3rd party GL ES apps get a 32-bits surface by default and ↵Mathias Agopian2010-05-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fail force all SurfaceView to 565 Change-Id: I8ebfa1239d8e4fa097c2e544677fb92fa20b39bd
* | | | am df9556f3: am 23100fd1: Merge "fix a crasher in our EGL wrapper when ↵Mathias Agopian2010-05-172-6/+13
|\ \ \ \ | |/ / / | | | | | | | | attrib_list is NULL in eglChooseConfig" into kraken
| * | | fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfigMathias Agopian2010-05-172-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the EGL specification states that this should be treated as though it was an empty list terminated with EGL_NONE. Change-Id: I294104370a86b5e5c34c7bcf15c5459eab464631