summaryrefslogtreecommitdiffstats
path: root/opengl
Commit message (Collapse)AuthorAgeFilesLines
* am 09976caf: am 2b770bbe: am 85ade33e: fix [2071412] work around mdp 32-bits ↵Mathias Agopian2009-10-291-11/+68
|\ | | | | | | | | | | | | | | | | fade limitation Merge commit '09976cafb14944f50ea4b3f7b5e8d5fc831f24ff' * commit '09976cafb14944f50ea4b3f7b5e8d5fc831f24ff': fix [2071412] work around mdp 32-bits fade limitation
| * am 2b770bbe: am 85ade33e: fix [2071412] work around mdp 32-bits fade limitationMathias Agopian2009-10-291-11/+68
| |\ | | | | | | | | | | | | | | | | | | Merge commit '2b770bbe4697ebea040532f308d63478ee4b9454' into eclair-mr2-plus-aosp * commit '2b770bbe4697ebea040532f308d63478ee4b9454': fix [2071412] work around mdp 32-bits fade limitation
| | * am 85ade33e: fix [2071412] work around mdp 32-bits fade limitationMathias Agopian2009-10-291-11/+68
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '85ade33edcc7d9be462ad7b8455d27f6654aca5e' into eclair-mr2 * commit '85ade33edcc7d9be462ad7b8455d27f6654aca5e': fix [2071412] work around mdp 32-bits fade limitation
| | | * 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 2eca23d6: am a2151b2b: am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-292-0/+134
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '2eca23d690379911a102729eecd35412d0c8be63' * commit '2eca23d690379911a102729eecd35412d0c8be63': added GL test for textured lines
| * | | am a2151b2b: am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-292-0/+134
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'a2151b2b982cce5d424fdea2510ea9334a131475' into eclair-mr2-plus-aosp * commit 'a2151b2b982cce5d424fdea2510ea9334a131475': added GL test for textured lines
| | * | am 7bde36e6: added GL test for textured linesMathias Agopian2009-10-292-0/+134
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit '7bde36e64e66c81f0150d0372e1357a31f4ec704' into eclair-mr2 * commit '7bde36e64e66c81f0150d0372e1357a31f4ec704': added GL test for textured lines
| | | * added GL test for textured linesMathias Agopian2009-10-282-0/+134
| | | |
* | | | am 64d3f44c: am 893cb4da: am 73e17015: Merge change I8d2de438 into eclairMathias Agopian2009-10-292-24/+91
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '64d3f44c7bf5a6e80be419df5850ef60fec216b5' * commit '64d3f44c7bf5a6e80be419df5850ef60fec216b5': fix [2143798] Need to figure out how to do video
| * | | am 893cb4da: am 73e17015: Merge change I8d2de438 into eclairMathias Agopian2009-10-292-24/+91
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '893cb4da1034870a8814394a1c3bdac10ca6cadf' into eclair-mr2-plus-aosp * commit '893cb4da1034870a8814394a1c3bdac10ca6cadf': fix [2143798] Need to figure out how to do video
| | * | am 73e17015: Merge change I8d2de438 into eclairMathias Agopian2009-10-292-24/+91
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit '73e17015d3cd67c93ccad5d63d31c439ff6fa694' into eclair-mr2 * 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 a9046729: am a2ec1f4c: am 8f89a1a3: Merge change Ic620a52b into eclairJack Palevich2009-10-233-125/+127
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'a904672996c60c4ec50439a8d2be04fd9bd6444c' * commit 'a904672996c60c4ec50439a8d2be04fd9bd6444c': Add size checks for glBufferData and glBufferSubData
| * | | am a2ec1f4c: am 8f89a1a3: Merge change Ic620a52b into eclairJack Palevich2009-10-233-125/+127
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'a2ec1f4cea5531fb824b3fb2802ef4573a4916d9' into eclair-mr2-plus-aosp * commit 'a2ec1f4cea5531fb824b3fb2802ef4573a4916d9': Add size checks for glBufferData and glBufferSubData
| | * | am 8f89a1a3: Merge change Ic620a52b into eclairJack Palevich2009-10-233-125/+127
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit '8f89a1a360465e08e81ceca3cb3042606a98668b' into eclair-mr2 * 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 18dc8826: am 992f4802: am b34d5d52: Use the TLS register if ↵Mathias Agopian2009-10-193-6/+34
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_ARM_TLS_REGISTER is defined Merge commit '18dc8826a2c7244a7a61c9c53113516416db4714' * commit '18dc8826a2c7244a7a61c9c53113516416db4714': Use the TLS register if HAVE_ARM_TLS_REGISTER is defined
| * | | am 992f4802: am b34d5d52: Use the TLS register if HAVE_ARM_TLS_REGISTER is ↵Mathias Agopian2009-10-193-6/+34
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined Merge commit '992f4802aefba9f4a8122cc5332f2bc726a3f3f6' into eclair-mr2-plus-aosp * commit '992f4802aefba9f4a8122cc5332f2bc726a3f3f6': Use the TLS register if HAVE_ARM_TLS_REGISTER is defined
| | * | am b34d5d52: Use the TLS register if HAVE_ARM_TLS_REGISTER is definedMathias Agopian2009-10-193-6/+34
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit 'b34d5d527596102ae7a040d787e4d8c336bf192b' into eclair-mr2 * 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 5a4c7a61: am 60714539: am 62df88bc: Merge change I0953c1d5 into eclairMathias Agopian2009-10-191-5/+18
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '5a4c7a61da8f8586a535661c73ce4681cb9bf111' * commit '5a4c7a61da8f8586a535661c73ce4681cb9bf111': fix [2153873] EGL-1.4 software implementation misses surface attributes
| * | | am 60714539: am 62df88bc: Merge change I0953c1d5 into eclairMathias Agopian2009-10-191-5/+18
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '60714539ad896a548c4b0c0b42afc61447cb6e2b' into eclair-mr2-plus-aosp * commit '60714539ad896a548c4b0c0b42afc61447cb6e2b': fix [2153873] EGL-1.4 software implementation misses surface attributes
| | * | am 62df88bc: Merge change I0953c1d5 into eclairMathias Agopian2009-10-191-5/+18
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit '62df88bcc95a714c1d5035471dfe7fe0ddd9d50b' into eclair-mr2 * 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 a4aa677d: am b263450f: am 3662f9ee: Merge change Ide4c8cbc into eclairMathias Agopian2009-10-191-0/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'a4aa677db36651e806f38e8aa7e8532da4f06b0d' * commit 'a4aa677db36651e806f38e8aa7e8532da4f06b0d': fix [2151588] glTexSubImage2D() allows pixel format conversion
| * | | | am b263450f: am 3662f9ee: Merge change Ide4c8cbc into eclairMathias Agopian2009-10-191-0/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b263450f7a5b6ff3c8be8cd4b16aa2f65978f657' into eclair-mr2-plus-aosp * commit 'b263450f7a5b6ff3c8be8cd4b16aa2f65978f657': fix [2151588] glTexSubImage2D() allows pixel format conversion
| | * | | am 3662f9ee: Merge change Ide4c8cbc into eclairMathias Agopian2009-10-191-0/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '3662f9ee5be3113b57693e1495fd83a2f5c7200c' into eclair-mr2 * 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 220f052f: am cf4ff740: am 639d69fe: Merge change I88d11cfb into eclairMathias Agopian2009-10-191-41/+44
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '220f052f6103655e08cba6cfb1dc542b81ffab11' * commit '220f052f6103655e08cba6cfb1dc542b81ffab11': one step towards fixing [2071412] work around mdp 32-bits fade limitation
| * | | | am cf4ff740: am 639d69fe: Merge change I88d11cfb into eclairMathias Agopian2009-10-191-41/+44
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'cf4ff74017ec6b29646022ae5cbf667483b6137b' into eclair-mr2-plus-aosp * commit 'cf4ff74017ec6b29646022ae5cbf667483b6137b': one step towards fixing [2071412] work around mdp 32-bits fade limitation
| | * | | am 639d69fe: Merge change I88d11cfb into eclairMathias Agopian2009-10-191-41/+44
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '639d69fe8799ac2fa0bbf7560229531377ccc0f4' into eclair-mr2 * 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 1ed0e43d: am 93942a5b: am 69fba87a: Merge change I6fc56997 into eclairMathias Agopian2009-10-1613-565/+523
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '1ed0e43dac155db048ccc9152dc9425506099957' * commit '1ed0e43dac155db048ccc9152dc9425506099957': fix [2187212] add support for GLESv2 dispatch based on TLS
| * | | am 93942a5b: am 69fba87a: Merge change I6fc56997 into eclairMathias Agopian2009-10-1613-565/+523
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '93942a5bbc27fe569d370b57a0c3137f6c4171f7' into eclair-mr2-plus-aosp * commit '93942a5bbc27fe569d370b57a0c3137f6c4171f7': fix [2187212] add support for GLESv2 dispatch based on TLS
| | * | am 69fba87a: Merge change I6fc56997 into eclairMathias Agopian2009-10-1613-565/+523
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Merge commit '69fba87ac16d1c10da81fc3213ae169c755797f4' into eclair-mr2 * 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 09e7ef8a: am a5bfe52d: Merge change Ib3558f35 into eclair-mr2Jack Palevich2009-10-131-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '09e7ef8aadb480349e9f63dcab155cb466296e92' * commit '09e7ef8aadb480349e9f63dcab155cb466296e92': Make our choice of surface explicit.
| * | | am a5bfe52d: Merge change Ib3558f35 into eclair-mr2Jack Palevich2009-10-131-0/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'a5bfe52d9efb4d78edc48a64c2e85f8c4ecd4876' into eclair-mr2-plus-aosp * commit 'a5bfe52d9efb4d78edc48a64c2e85f8c4ecd4876': Make our choice of surface explicit.
| | * | Make our choice of surface explicit.Jack Palevich2009-10-131-0/+1
| | | |
* | | | am 70d12dda: am 3743559d: Merge change I28023911 into eclair-mr2Jack Palevich2009-10-131-4/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '70d12dda7c1e36850e1ed95d719bc1d6dadb6fef' * commit '70d12dda7c1e36850e1ed95d719bc1d6dadb6fef': Add additional error checking of EGL function calls.
| * | | am 3743559d: Merge change I28023911 into eclair-mr2Jack Palevich2009-10-131-4/+15
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '3743559db03645ef7d319c0344238c335a315b65' into eclair-mr2-plus-aosp * commit '3743559db03645ef7d319c0344238c335a315b65': Add additional error checking of EGL function calls.
| | * | Add additional error checking of EGL function calls.Jack Palevich2009-10-131-4/+15
| | | |
* | | | am 98a51b86: am 3b7a1e6d: Merge change Ic52ba78c into eclair-mr2Jack Palevich2009-10-131-8/+55
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '98a51b86869e9cf2a1624f8540c4c126962a3a85' * commit '98a51b86869e9cf2a1624f8540c4c126962a3a85': Allow multiple OpenGL contexts on systems that support them.
| * | | am 3b7a1e6d: Merge change Ic52ba78c into eclair-mr2Jack Palevich2009-10-131-8/+55
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '3b7a1e6d70fda4ce834034930847fe2cc75de515' into eclair-mr2-plus-aosp * commit '3b7a1e6d70fda4ce834034930847fe2cc75de515': Allow multiple OpenGL contexts on systems that support them.
| | * | Allow multiple OpenGL contexts on systems that support them.Jack Palevich2009-10-131-8/+55
| | | | | | | | | | | | | | | | Previously we always restricted the number of OpenGL contexts to 1.
* | | | am 65cc9418: am 332c7934: Merge change I69e21f5f into eclair-mr2Jack Palevich2009-10-139-0/+843
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '65cc9418af489bd98f3417f165b6837656383a1c' * commit '65cc9418af489bd98f3417f165b6837656383a1c': GLDual test application.
| * | | am 332c7934: Merge change I69e21f5f into eclair-mr2Jack Palevich2009-10-139-0/+843
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '332c793432be71d40473fed803123165c57197cd' into eclair-mr2-plus-aosp * commit '332c793432be71d40473fed803123165c57197cd': GLDual test application.
| | * | GLDual test application.Jack Palevich2009-10-139-0/+843
| | | | | | | | | | | | | | | | Draws two images at once, one GL based, one GL2 based.