summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
Commit message (Collapse)AuthorAgeFilesLines
* fix eglChooseConfig() for special attributes.Mathias Agopian2010-10-251-4/+7
| | | | | | | | | | | 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
* fix [3119687] [Maps][4.6.0] Force close in street viewMathias Agopian2010-10-211-2/+2
| | | | | | | | 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
* software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_IDMathias Agopian2010-10-201-0/+8
| | | | Change-Id: I371bc0abfee6065247bc6f04b0e0451645eb2dbf
* fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian2010-10-192-2/+2
| | | | Change-Id: Ibf46b18d7493348e189f2c93e969a6cac61f68b5
* cleanup EGL a bit. remove unused extension.Mathias Agopian2010-08-271-28/+0
| | | | Change-Id: Ia87120b076ab1bf7b28f06087878d8161fb46c88
* fix [2931718] glDrawArrays skips a triangle when more than 70 vertices are used.Mathias Agopian2010-08-181-2/+2
| | | | | | | a typo prevented the last 2 vertices of a batch to be copied to the front of the next batch. Instead, the 2 very first vertices were used. Change-Id: I3c344784dac1cef64df2fb6f6efb2f901cc788db
* fix [2931161] crash in labyritnth when completing a levelMathias Agopian2010-08-181-32/+35
| | | | Change-Id: I821d67effaf73d7008b2828d06f5489d1f976a1e
* 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
* Introduce official public NativeWindow type.Dianne Hackborn2010-06-301-5/+5
| | | | | | | Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
* fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfigMathias Agopian2010-05-171-2/+7
| | | | | | | the EGL specification states that this should be treated as though it was an empty list terminated with EGL_NONE. Change-Id: I294104370a86b5e5c34c7bcf15c5459eab464631
* merge from open-source masterThe Android Open Source Project2010-05-122-1/+5
|\ | | | | | | Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
| * Merge "Build software AGL library with correct get_tls() macro for ARMv7 ↵Mathias Agopian2010-05-101-0/+4
| |\ | | | | | | | | | based platforms"
| | * Build software AGL library with correct get_tls() macro for ARMv7 based ↵Magnus Landqvist2010-02-191-0/+4
| | | | | | | | | | | | | | | | | | platforms This prevents crashes on snapdragon processors.
| * | Merge "Fix glReadPixels() to verify that both x and y are non-negative."Mathias Agopian2010-05-101-1/+1
| |\ \
| | * | Fix glReadPixels() to verify that both x and y are non-negative.Mike Playle2010-01-291-1/+1
| | |/
| | * merge from eclairJean-Baptiste Queru2009-11-1511-401/+1933
| | |\
| | | * eclair snapshotJean-Baptiste Queru2009-11-1313-405/+1944
| | | |
| * | | am 533a2803: Merge change I18ffb549 into eclairMathias Agopian2009-11-301-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '533a2803506cc4f196403fdfafd948bd4f8e60d9' into eclair-plus-aosp * commit '533a2803506cc4f196403fdfafd948bd4f8e60d9': fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
| * \ \ \ am 13feccf5: Merge change I39f0003e into eclairMathias Agopian2009-11-191-12/+24
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae' into eclair-plus-aosp * commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae': fix [2235414] libagl glDeleteBuffers() crashes
| * \ \ \ \ am 27407208: Merge change Icf335098 into eclairMathias Agopian2009-11-122-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '274072089ceff6eacb9ccfb59290a18f43739c87' into eclair-plus-aosp * commit '274072089ceff6eacb9ccfb59290a18f43739c87': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
| * \ \ \ \ \ am c421fc2a: Merge change Id09376d1 into eclairMathias Agopian2009-11-091-4/+23
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c421fc2ada7c1bff104733b840bd640151bebbbb' into eclair-plus-aosp * commit 'c421fc2ada7c1bff104733b840bd640151bebbbb': fix [2071412] work around mdp 32-bits fade limitation
| * \ \ \ \ \ \ merge from open-source masterJean-Baptiste Queru2009-11-081-1/+1
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | |
* | | | | | | | fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian2010-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is to allow developpers to deal with potiential differences between the softgl versions. Change-Id: I7ec2451d6af1be29818d66215b22977405d403e8
* | | | | | | | Fix glCopyTexSubImage2D inverted texture bug.Jack Palevich2010-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug only affects the software OpenGL ES driver.
* | | | | | | | get rid off the YUV formats at the libui layerMathias Agopian2010-02-161-14/+1
| | | | | | | |
* | | | | | | | Proper EGLImageKHR error handlingMathias Agopian2010-02-042-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)Mathias Agopian2010-02-033-26/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A typo caused GL_AMBIENT_AND_DIFFUSE to only set the the ambient color. Fix another typo which caused the viewer position to be wrong for specular highlights. Switch back to eye-space lighting, since there are still some issues with some demos (San Angeles in particular).
* | | | | | | | Fix ETC1 texture decoding.Jack Palevich2010-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | etc1_decode_image requires the stride argument to be in bytes, but the surface->stride field is in pixels. Convert by multiplying by pixel size.
* | | | | | | | implement [2396050] Add ETC1 texture support to AGLMathias Agopian2010-02-023-6/+40
| | | | | | | |
* | | | | | | | fix [2397853] glCopyTexImage2D crashes emulatorMathias Agopian2010-02-011-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a typo which would cause a buffer overflow
* | | | | | | | fix [2341222] AGL version of glDrawTexxOES doesn't handle "Z" value correctlyMathias Agopian2010-01-251-4/+4
| | | | | | | |
* | | | | | | | Use correct TLS codepath in graphics librariesGary King2010-01-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Duplicate ARCH_ARM_HAVE_TLS_REGISTER BoardConfig to proprocessor HAVE_ARM_TLS_REGISTER define from Bionic's libc Android.mk to ensure that OpenGL libraries (libEGL, libGLESv1_CM, libGLESv2, libGLES_android) use the correct codepath in bionic_tls.h for accessing the TLS address
* | | | | | | | Add misssing symbol type directives.Doug Kwan2009-12-082-0/+3
| | | | | | | |
* | | | | | | | am 77f17095: am 533a2803: Merge change I18ffb549 into eclairMathias Agopian2009-12-011-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '77f17095ed17a6ccc7fc1f1b3ddb31c63bbf66a2' into eclair-mr2-plus-aosp * commit '77f17095ed17a6ccc7fc1f1b3ddb31c63bbf66a2': fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
| * | | | | | | fix [2069023] STOPSHIP: disable DEBUG_COPYBITMathias Agopian2009-11-301-1/+1
| | |_|_|_|/ / | |/| | | | |
* | | | | | | am b439f561: am 13feccf5: Merge change I39f0003e into eclairMathias Agopian2009-11-191-12/+24
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b439f561a6aa3900f1850e71a4aa60618af13f90' into eclair-mr2-plus-aosp * commit 'b439f561a6aa3900f1850e71a4aa60618af13f90': fix [2235414] libagl glDeleteBuffers() crashes
| * | | | | | fix [2235414] libagl glDeleteBuffers() crashesMathias Agopian2009-11-191-12/+24
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | don't dereference null pointers, would happen if one of the array wasn't bound.
* | | | | | am 66b5d902: am 27407208: Merge change Icf335098 into eclairMathias Agopian2009-11-132-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '66b5d902a29e08237f16be53a84f9c2472df8493' into eclair-mr2-plus-aosp * commit '66b5d902a29e08237f16be53a84f9c2472df8493': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
| * | | | | fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian2009-11-122-2/+2
| | |_|/ / | |/| | |
* | | | | am 0b9d3ba2: am c421fc2a: Merge change Id09376d1 into eclairMathias Agopian2009-11-091-4/+23
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0b9d3ba2feab494e7bbd180b51a4311864d08e13' into eclair-mr2-plus-aosp * commit '0b9d3ba2feab494e7bbd180b51a4311864d08e13': fix [2071412] work around mdp 32-bits fade limitation
| * | | | fix [2071412] work around mdp 32-bits fade limitationMathias Agopian2009-11-091-4/+23
| |/ / / | | | | | | | | | | | | make sure to always specify blits *inside* the source bitmap.
* | | | merge from open-source masterJean-Baptiste Queru2009-11-091-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Fix obvious typo bug in egl.cppChristoffer Gurell2009-10-121-1/+1
| | | | | | | | | | | | can (and does sometimes) lead to accessing array with -1 as index
| * | Merge change 11093Android Code Review2009-08-251-0/+2
| |\ \ | | | | | | | | | | | | | | | | * changes: If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport.
| | * | If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing ↵Martin Storsjo2009-08-101-0/+2
| | | | | | | | | | | | | | | | the viewport.
| * | | Calculate specular lighting correctlyMartin Storsjo2009-08-111-3/+8
| |/ / | | | | | | | | | | | | | | | Since the lighting calculations are done in object space, the vector from the object to the viewer also needs to be transformed to object space.
| * | merge from donutJean-Baptiste Queru2009-07-291-1/+1
| |\ \ | | |/
| | * donut snapshotJean-Baptiste Queru2009-07-291-1/+1
| | |
| * | Merge korg/donut into korg/masterJean-Baptiste Queru2009-07-256-104/+97
| |\ \ | | |/
| | * donut snapshotJean-Baptiste Queru2009-07-214-79/+52
| | |