summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
Commit message (Collapse)AuthorAgeFilesLines
* f/b: qcom flags cleanupGiulio Cervera2012-04-021-3/+0
| | | | Change-Id: Id4da5e2038cf5c9ba540a812281daa4a1b9af03a
* opengl/libs/EGL: Bring back eglRenderBufferANDROID extentionArne Coucheron2011-12-192-0/+45
| | | | | | | | | | This change brings back the eglGetRenderBufferANDROID extension Define EGL_EGLEXT_PROTOTYPES in order to be able to use this extension. Revert "cleanup EGL a bit. remove unused extension." This reverts commit 9d75f1341524910b00d35dd4eeb426d7e7791f6e. Change-Id: I8b3805157cb1f72af507bc823d16910b738cec4c
* Merge branch 'ics-mr1' of ↵Steve Kondik2011-12-161-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into aosp Conflicts: core/res/res/values/strings.xml policy/src/com/android/internal/policy/impl/GlobalActions.java services/java/com/android/server/WifiService.java services/sensorservice/SensorDevice.cpp telephony/java/com/android/internal/telephony/RIL.java Change-Id: I89ec56d5ff282a2eb879ca40fb6d74ebcf752837
| * rework a bit how we manage EGL extensionsMathias Agopian2011-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - don't advertise extensions that are not supported by any implementation - remove EGL_ANDROID_swap_rectangle which is not implemented by anybody and confuses people - add some comments about mandatory extensions Bug: 5428001 Change-Id: Id8dc48116ac1d1eb79ec9ef55d03e29d4257c1f3
* | graphics: Add directives for compatibility with older EGL blobsRicardo Cerqueira2011-12-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Define MISSING_EGL_EXTERNAL_IMAGE for EGL libraries without GL_OES_GLES_image_external - Define MISSING_GRALLOC_BUFFERS for gralloc HALS without the 0x800 (USAGE_HW_COMPOSER) usage - Define MISSING_EGL_PIXEL_FORMAT_YV12 for libraries who don't recognize the Android YV12 colorspace - Define FORCE_EGL_CONFIG=<value> for blobs which mis-identify the usable EGL configuration (pick the value from a CM7 log) A typical GB library set will need COMMON_GLOBAL_CFLAGS += -DMISSING_EGL_EXTERNAL_IMAGE -DMISSING_EGL_PIXEL_FORMAT_YV12 -DMISSING_GRALLOC_BUFFERS Change-Id: I85ae813c604d3d2fc41a291c9cb13d1ecd35368f
* | [opengl] implement work around for tegra errata 657451Gary King2011-11-181-0/+3
|/ | | | | | | copy the tegra errata work around compile flags from bionic, to pick up the correct __get_tls implementation Change-Id: Ifccd4f5f382cc05328222c92da7f621faa1ec507a
* implement EGL_TEXTURE_EXTERNAL_OES in libaglMathias Agopian2011-08-182-4/+7
| | | | | | this allows the emulator to display some graphics Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-8/+6
| | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
* fix libagl surface initializationMathias Agopian2011-05-111-0/+4
| | | | | | this broke recently when removing copybit support. Change-Id: I5cc7ff7f49268411c6c2cfb2d97590d52b13dbd5
* frameworks/base: android_native_buffer_t -> ANativeWindowBufferIliyan Malchev2011-05-034-23/+23
| | | | | Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
* remove last traces of copybitMathias Agopian2011-05-021-1/+0
| | | | Change-Id: Ia0f13a0ee6f702256482b5eb29d7fa2aa840bfc7
* get rid of dependency on copybit HAL moduleMathias Agopian2011-04-281-86/+27
| | | | Change-Id: Ia608099a2426c11a91d33063ba53c93e1eccb428
* Fix a multithreading bug in libagl's EGL.Jamie Gennis2011-01-301-0/+5
| | | | | | | | | The bug caused libagl to return 0 from eglGetError if an EGL error value (including EGL_SUCCESS) was set on a different thread but not yet on the current thread. Bug: 3403756 Change-Id: Ifd965091d116745c2e22c121151ade9e78eb14c6
* fix build.Mathias Agopian2010-12-081-13/+7
| | | | Change-Id: I49262ac143da297efcaec4eed04052274c73b7f8
* Fix for simulator buildKristian Monsen2010-10-271-1/+3
| | | | | | | The code looks correct, but causes an internal compiler error on simulator builds on mine (an other) gLucid desktops. Change-Id: Iaf0d8120778ec1c6fc739ef13e6eaaac53e3bcc8
* am d9588e9c: am a7b745ca: Merge "fix eglChooseConfig() for special ↵Mathias Agopian2010-10-261-4/+7
|\ | | | | | | attributes." into gingerbread
| * am a7b745ca: Merge "fix eglChooseConfig() for special attributes." into ↵Mathias Agopian2010-10-261-4/+7
| |\ | | | | | | | | | gingerbread
| | * 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
* | | am 49af98ed: am aa6df366: Merge "fix [3119687] [Maps][4.6.0] Force close in ↵Mathias Agopian2010-10-211-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | street view" into gingerbread Merge commit '49af98ed877e8a2db5a6b5be811c798e6f73dff7' * commit '49af98ed877e8a2db5a6b5be811c798e6f73dff7': fix [3119687] [Maps][4.6.0] Force close in street view
| * | am aa6df366: Merge "fix [3119687] [Maps][4.6.0] Force close in street view" ↵Mathias Agopian2010-10-211-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit 'aa6df3669deab2a804c6f8cc1ea3fd5af0a28685' into gingerbread-plus-aosp * commit 'aa6df3669deab2a804c6f8cc1ea3fd5af0a28685': fix [3119687] [Maps][4.6.0] Force close in street view
| | * 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
* | | am 6d90e89a: am a0795fc9: Merge "software renderer: fix [3117351] GL driver ↵Mathias Agopian2010-10-211-0/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | doesn\'t set the EGL_NATIVE_VISUAL_ID" into gingerbread Merge commit '6d90e89afa47293cf5fe18f512cce43d2fa6df82' * commit '6d90e89afa47293cf5fe18f512cce43d2fa6df82': software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_ID
| * | am a0795fc9: Merge "software renderer: fix [3117351] GL driver doesn\'t set ↵Mathias Agopian2010-10-201-0/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | the EGL_NATIVE_VISUAL_ID" into gingerbread Merge commit 'a0795fc9bdf97703780cbf0ec47c06eccb642e72' into gingerbread-plus-aosp * commit 'a0795fc9bdf97703780cbf0ec47c06eccb642e72': software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_ID
| | * software renderer: fix [3117351] GL driver doesn't set the EGL_NATIVE_VISUAL_IDMathias Agopian2010-10-201-0/+8
| | | | | | | | | | | | Change-Id: I371bc0abfee6065247bc6f04b0e0451645eb2dbf
* | | am add9db83: am f4cd9be0: Merge "fix [2236865] STOPSHIP: bump soft gl and ↵Mathias Agopian2010-10-212-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | egl minor version number" into gingerbread Merge commit 'add9db83fdbf939f0610f8b357788fd3e8ad9ab5' * commit 'add9db83fdbf939f0610f8b357788fd3e8ad9ab5': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
| * | am f4cd9be0: Merge "fix [2236865] STOPSHIP: bump soft gl and egl minor ↵Mathias Agopian2010-10-192-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | version number" into gingerbread Merge commit 'f4cd9be0390135269e22e42fd2e1fe61fdcf9863' into gingerbread-plus-aosp * commit 'f4cd9be0390135269e22e42fd2e1fe61fdcf9863': fix [2236865] STOPSHIP: bump soft gl and egl minor version number
| | * fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian2010-10-192-2/+2
| | | | | | | | | | | | Change-Id: Ibf46b18d7493348e189f2c93e969a6cac61f68b5
| * | am ff3dcf27: Merge "cleanup EGL a bit. remove unused extension." into ↵Mathias Agopian2010-08-271-28/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'ff3dcf27be2bbb259b7605396d36e50ade35266f' into gingerbread-plus-aosp * commit 'ff3dcf27be2bbb259b7605396d36e50ade35266f': cleanup EGL a bit. remove unused extension.
| | * cleanup EGL a bit. remove unused extension.Mathias Agopian2010-08-271-28/+0
| | | | | | | | | | | | Change-Id: Ia87120b076ab1bf7b28f06087878d8161fb46c88
* | | libagl: eglSwapInterval fixAri Hirvonen2010-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SW egl returned always EGL_FALSE even when the display was valid. This made calls to eglSwapInterval to fail on HW since the wrapper fails if either SW or HW egl fails. Letting SW eglSwapInterval to return true when display is valid is ok since spec says that interval parameter is silently clamped. Change-Id: Ib4aa1dbfccf510a0f36621796e79a4d46852ee6a
* | | cleanup EGL a bit. remove unused extension.Mathias Agopian2010-08-271-28/+0
|/ / | | | | | | Change-Id: I7758bc7d6dc2e70fc3590fe939ebf71fbcde7059
* | am bccfcd95: Merge "fix [2931718] glDrawArrays skips a triangle when more ↵Mathias Agopian2010-08-191-2/+2
|\ \ | |/ | | | | | | | | | | | | | | than 70 vertices are used." into gingerbread Merge commit 'bccfcd95d3cc4029c1ed8514d31436a857283873' into gingerbread-plus-aosp * commit 'bccfcd95d3cc4029c1ed8514d31436a857283873': fix [2931718] glDrawArrays skips a triangle when more than 70 vertices are used.
| * 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
* | am 17da0663: Merge "fix [2931161] crash in labyritnth when completing a ↵Mathias Agopian2010-08-181-32/+35
|\ \ | |/ | | | | | | | | | | | | | | level" into gingerbread Merge commit '17da06631041f9f2237738fb673a74a85b1d9cf4' into gingerbread-plus-aosp * commit '17da06631041f9f2237738fb673a74a85b1d9cf4': fix [2931161] crash in labyritnth when completing a level
| * fix [2931161] crash in labyritnth when completing a levelMathias Agopian2010-08-181-32/+35
| | | | | | | | Change-Id: I821d67effaf73d7008b2828d06f5489d1f976a1e
* | 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 c6e1d880: Merge "Introduce official public NativeWindow type." into ↵Dianne Hackborn2010-06-301-5/+5
|\ \ | |/ | | | | | | | | | | | | | | gingerbread Merge commit 'c6e1d88022db800773401c16803e1ab27fd01a7e' into gingerbread-plus-aosp * commit 'c6e1d88022db800773401c16803e1ab27fd01a7e': Introduce official public NativeWindow type.
| * 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
* | 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
* | | 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
| | | |