summaryrefslogtreecommitdiffstats
path: root/opengl
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix [2071412] work around mdp 32-bits fade limitationMathias Agopian2009-10-281-11/+68
| | | | | | | | | | | | | | | | | | | | | in the case where we fade a 32-bits surface (ie: GL_MODULATE w/ a,a,a,a + blending), we first make a copy of the background into a RGB buffer, then we blend the 32-bits surface as usual (without the alpha component), and finally blend the copy of the background on top with 1-a. This uses a lot of bandwidth, but no CPU time.
* | | am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-282-0/+134
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7bde36e64e66c81f0150d0372e1357a31f4ec704' into eclair-plus-aosp * commit '7bde36e64e66c81f0150d0372e1357a31f4ec704': added GL test for textured lines
| * | added GL test for textured linesMathias Agopian2009-10-282-0/+134
| | |
* | | am 73e17015: Merge change I8d2de438 into eclairMathias Agopian2009-10-272-24/+91
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '73e17015d3cd67c93ccad5d63d31c439ff6fa694' into eclair-plus-aosp * commit '73e17015d3cd67c93ccad5d63d31c439ff6fa694': fix [2143798] Need to figure out how to do video
| * | fix [2143798] Need to figure out how to do videoMathias Agopian2009-10-272-24/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use EGLImageKHR instead of copybit directly. We now have the basis to use streaming YUV textures (well, in fact we already are). When/if we use the GPU instead of the MDP we'll need to make sure it supports the appropriate YUV format. Also make sure we compile if EGL_ANDROID_image_native_buffer is not supported
* | | am 8f89a1a3: Merge change Ic620a52b into eclairJack Palevich2009-10-233-125/+127
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '8f89a1a360465e08e81ceca3cb3042606a98668b' into eclair-plus-aosp * commit '8f89a1a360465e08e81ceca3cb3042606a98668b': Add size checks for glBufferData and glBufferSubData
| * | Add size checks for glBufferData and glBufferSubDataJack Palevich2009-10-213-125/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without the size checks it's possible for calls to glBufferData and glBufferSubData to read off the end of the Buffer object's data, which can cause page faults. Fix end-of-line characters for the "spec" files. (That's why every line of these files is changed.) Enhance our code emitter to properly handle bounds checks for possibly-null pointers.
* | | am b34d5d52: Use the TLS register if HAVE_ARM_TLS_REGISTER is definedMathias Agopian2009-10-193-6/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'b34d5d527596102ae7a040d787e4d8c336bf192b' into eclair-plus-aosp * commit 'b34d5d527596102ae7a040d787e4d8c336bf192b': Use the TLS register if HAVE_ARM_TLS_REGISTER is defined
| * | Use the TLS register if HAVE_ARM_TLS_REGISTER is definedMathias Agopian2009-10-193-6/+34
| | | | | | | | | | | | | | | this will be needed for SMP, but would improve dispatching GL calls a bit on armv6 and above.
* | | am 62df88bc: Merge change I0953c1d5 into eclairMathias Agopian2009-10-191-5/+18
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '62df88bcc95a714c1d5035471dfe7fe0ddd9d50b' into eclair-plus-aosp * commit '62df88bcc95a714c1d5035471dfe7fe0ddd9d50b': fix [2153873] EGL-1.4 software implementation misses surface attributes
| * | Merge change I0953c1d5 into eclairAndroid (Google) Code Review2009-10-191-5/+18
| |\ \ | | | | | | | | | | | | | | | | * changes: fix [2153873] EGL-1.4 software implementation misses surface attributes
| | * | fix [2153873] EGL-1.4 software implementation misses surface attributesMathias Agopian2009-10-191-5/+18
| | | |
* | | | am 3662f9ee: Merge change Ide4c8cbc into eclairMathias Agopian2009-10-191-0/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '3662f9ee5be3113b57693e1495fd83a2f5c7200c' into eclair-plus-aosp * commit '3662f9ee5be3113b57693e1495fd83a2f5c7200c': fix [2151588] glTexSubImage2D() allows pixel format conversion
| * | | Merge change Ide4c8cbc into eclairAndroid (Google) Code Review2009-10-191-0/+5
| |\ \ \ | | |/ / | | | | | | | | | | | | * changes: fix [2151588] glTexSubImage2D() allows pixel format conversion
| | * | fix [2151588] glTexSubImage2D() allows pixel format conversionMathias Agopian2009-10-191-0/+5
| | | |
* | | | am 639d69fe: Merge change I88d11cfb into eclairMathias Agopian2009-10-191-41/+44
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '639d69fe8799ac2fa0bbf7560229531377ccc0f4' into eclair-plus-aosp * commit '639d69fe8799ac2fa0bbf7560229531377ccc0f4': one step towards fixing [2071412] work around mdp 32-bits fade limitation
| * | | one step towards fixing [2071412] work around mdp 32-bits fade limitationMathias Agopian2009-10-161-41/+44
| |/ / | | | | | | | | | simplify the GL_MODULATE case and allow blending disabled with RGBA texture
* | | am 69fba87a: Merge change I6fc56997 into eclairMathias Agopian2009-10-1613-565/+523
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '69fba87ac16d1c10da81fc3213ae169c755797f4' into eclair-plus-aosp * commit '69fba87ac16d1c10da81fc3213ae169c755797f4': fix [2187212] add support for GLESv2 dispatch based on TLS
| * | fix [2187212] add support for GLESv2 dispatch based on TLSMathias Agopian2009-10-1413-565/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using a different function pointer table for ES 1.x and ES 2.x, we use a single one that is the union (sort|uniq) of both tables. Two instances of this table are initialized with pointers to GL ES 1.x and GL ES 2.x entry-points. When a context is created, we store its version number and when it is bound to a thread we set the approruiate table based on the stored version. This introduce no penalty while dispatching gl calls to the right API version. [Pending Dr No approval for MR1]
* | | am 98b3def2: Merge change I6261ab54 into eclairDima Zavin2009-10-121-4/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '98b3def2983e78409002cf406574bbc8eeef8bfd' into eclair-plus-aosp * commit '98b3def2983e78409002cf406574bbc8eeef8bfd': Revert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k"
| * | Revert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k"Dima Zavin2009-10-091-4/+0
| | | | | | | | | | | | This reverts commit ed5ecdba36648973be3033a045e2ece8bf039e4a.
* | | am 846322a9: Merge change Ib96df854 into eclairMathias Agopian2009-10-081-3/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '846322a9ae5ef8155cca0059d3f64d718516ca13' into eclair-plus-aosp * commit '846322a9ae5ef8155cca0059d3f64d718516ca13': add a way to easily catch and log GL errors (compile time flag)
| * | add a way to easily catch and log GL errors (compile time flag)Mathias Agopian2009-10-081-3/+21
| | |
* | | am 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclairMathias Agopian2009-10-078-1179/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Merge commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb' into eclair-plus-aosp * commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb': fix [2168528] enable glTexImage2D code path in SF for software-only buffers fix [2168531] have software-only gralloc buffer side-step the HAL fix [2167050] glTexImage2D code path buggy in SurfaceFlinger
| * | fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-068-1179/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly.
* | | am 4ac45597: Merge change I15b0ebb9 into eclairMathias Agopian2009-10-076-0/+556
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '4ac45597fb70ca4f268cb1920fcb2de61aff4a3d' into eclair-plus-aosp * commit '4ac45597fb70ca4f268cb1920fcb2de61aff4a3d': a simple test app for gralloc
| * | a simple test app for grallocMathias Agopian2009-10-016-0/+556
| | |
* | | am bcbca57f: Merge change I5ffd6240 into eclairJack Palevich2009-09-302-0/+374
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'bcbca57f4c0da0cee3682c78aacfa081483f0020' into eclair-plus-aosp * commit 'bcbca57f4c0da0cee3682c78aacfa081483f0020': Add a simple test of OpenGL ES 1.x.
| * | Add a simple test of OpenGL ES 1.x.Jack Palevich2009-09-302-0/+374
| | |
* | | am b386a86c: Merge change I8018f091 into eclairJack Palevich2009-09-304-64/+76
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'b386a86c1c131832c8f9955a5a57a2fa13609d15' into eclair-plus-aosp * commit 'b386a86c1c131832c8f9955a5a57a2fa13609d15': Add very simple input path. Fix end-of-line issues.
| * | Merge change I8018f091 into eclairAndroid (Google) Code Review2009-09-304-64/+76
| |\ \ | | | | | | | | | | | | | | | | * changes: Add very simple input path. Fix end-of-line issues.
| | * | Add very simple input path. Fix end-of-line issues.Jack Palevich2009-09-304-64/+76
| | | |
* | | | am 97702aac: Merge changes I82c78b83,I54f72d9d into eclairJack Palevich2009-09-282-54/+58
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '97702aacfc7f84b473357ce102cc70da2a316032' into eclair-plus-aosp * commit '97702aacfc7f84b473357ce102cc70da2a316032': Don't ask for pbuffer support, because we don't use any pbuffers. Print out EGL configuration info for the config we've chosen.
| * | | Don't ask for pbuffer support, because we don't use any pbuffers.Jack Palevich2009-09-281-1/+1
| | | |
| * | | Print out EGL configuration info for the config we've chosen.Jack Palevich2009-09-281-53/+57
| | | | | | | | | | | | | | | | | | | | Don't ask for PBuffer support, since we don't actually use pbuffers, and some drivers might not support them.
* | | | am ee25eb58: Merge change I669ce246 into eclairJack Palevich2009-09-281-8/+82
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'ee25eb58aac8fded3927c0343eaa367f66c8b79d' into eclair-plus-aosp * commit 'ee25eb58aac8fded3927c0343eaa367f66c8b79d': Print out all available EGL configurations.
| * | | Print out all available EGL configurations.Jack Palevich2009-09-281-8/+82
| | | |
* | | | am 1a3c8950: Merge change 27387 into eclairMathias Agopian2009-09-271-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '1a3c8950394b98f6f354456830208d70e87b8bb6' into eclair-plus-aosp * commit '1a3c8950394b98f6f354456830208d70e87b8bb6': fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT
| * | | fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to ↵Mathias Agopian2009-09-271-1/+2
| |/ / | | | | | | | | | | | | | | | EGL_OPENGL_ES_BIT Also set max swap interval to 1, which is the only supported value currently.
* | | am ed5ecdba: egl: temporarily also include eglTerminate->eglInitialize hack ↵Dima Zavin2009-09-261-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | for 8k Merge commit 'ed5ecdba36648973be3033a045e2ece8bf039e4a' into eclair-plus-aosp * commit 'ed5ecdba36648973be3033a045e2ece8bf039e4a': egl: temporarily also include eglTerminate->eglInitialize hack for 8k
| * | egl: temporarily also include eglTerminate->eglInitialize hack for 8kDima Zavin2009-09-261-0/+4
| | | | | | | | | | | | | | | Change-Id: Id5c51e54e733b24e5d5d5de0dcca84ac53afd3a9 Signed-off-by: Dima Zavin <dima@android.com>
* | | am 8b854e0d: Merge change 27211 into eclairJack Palevich2009-09-251-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '8b854e0d59512004028f96a93016e614c7df478a' into eclair-plus-aosp * commit '8b854e0d59512004028f96a93016e614c7df478a': Fix build.
| * | Fix build.Jack Palevich2009-09-251-1/+1
| | |
* | | am 056ade1b: Merge change 27203 into eclairJack Palevich2009-09-253-22/+25
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '056ade1ba976eed5f9b3139ee96b9eb3a26f6283' into eclair-plus-aosp * commit '056ade1ba976eed5f9b3139ee96b9eb3a26f6283': Tighten up sample code.
| * | Tighten up sample code.Jack Palevich2009-09-253-22/+25
| | | | | | | | | | | | - Still fails to work; don't know why.
* | | am 07e0dce4: Merge change 27202 into eclairJack Palevich2009-09-251-4/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '07e0dce441ea056710efd76d7df18b8833de772a' into eclair-plus-aosp * commit '07e0dce441ea056710efd76d7df18b8833de772a': Check for failure to create EGL surfaces and contexts.
| * | Check for failure to create EGL surfaces and contexts.Jack Palevich2009-09-251-4/+12
| | |
* | | am 2a5eea30: Merge change 27168 into eclairJack Palevich2009-09-251-55/+36
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '2a5eea308fffed23ab96bedcddaf5e4cc91cec9e' into eclair-plus-aosp * commit '2a5eea308fffed23ab96bedcddaf5e4cc91cec9e': Use EGLUtils to simplify choosing a configuration.
| * | Use EGLUtils to simplify choosing a configuration.Jack Palevich2009-09-251-55/+36
| | | | | | | | | | | | Doesn't actually select anything, possibly due to device driver errors.
* | | am 117f574e: Merge change 26911 into eclairMathias Agopian2009-09-241-3/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '117f574e105c682ebff19ece7230fab86fea3d17' into eclair-plus-aosp * commit '117f574e105c682ebff19ece7230fab86fea3d17': OpenGL ES doesn't allow glColorPointer with a size parameter other than 4