summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * 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 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
| * fix [2236865] STOPSHIP: bump soft gl and egl minor version numberMathias Agopian2009-11-122-2/+2
| |
* | 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
| * 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-081-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
| | |
| | * donut snapshotJean-Baptiste Queru2009-05-202-25/+45
| | |
* | | part of fix [2186418] switch passion to 24-bits framebufferMathias Agopian2009-11-041-82/+80
| | | | | | | | | | | | | | | add support for RGBX_8888 EGLConfigs in the software renderer (since that's what we're using in the MDP case)
* | | fix [2236832] software OpenGL ES driver doesn't work on sholesMathias Agopian2009-11-031-3/+15
| | | | | | | | | | | | make sure to not pass our fake handles to the real gralloc
* | | Merge change I56981989 into eclairAndroid (Google) Code Review2009-11-031-7/+6
|\ \ \ | | | | | | | | | | | | | | | | * changes: fix [2231527] Compatibility with SpaceJunk game (OpenGL)
| * | | fix [2231527] Compatibility with SpaceJunk game (OpenGL)Mathias Agopian2009-11-021-7/+6
| | | | | | | | | | | | | | | | | | | | we treated all lights as local lights when transforming their position back to object space.
* | | | fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts ↵Mathias Agopian2009-11-022-8/+19
|/ / / | | | | | | | | | | | | | | | | | | | | | when playing back video we lost the concept of vertical stride when moving video playback to EGLImage. Here we bring it back in a somewhat hacky-way that will work only for the softgl/mdp backend.
* | | libagl: silence a LOGDIliyan Malchev2009-10-301-1/+2
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | return proper error code from eglCreateImageKHRMathias Agopian2009-10-291-0/+14
| | |
* | | 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.
* | | 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
* | | 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
| | | |
* | | | 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
| | | |
* | | | 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
* | | 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.
* | | OpenGL ES doesn't allow glColorPointer with a size parameter other than 4Mathias Agopian2009-09-241-3/+1
| | |
* | | AGL's glCompressedTexImage2D now checks the imageSize parameter.Jack Palevich2009-09-101-5/+55
| | | | | | | | | | | | | | | | | | This parameter indicates how many bytes of the image data are valid. Previously this parameter was ignored.
* | | Calculate specular lighting correctlyMartin Storsjo2009-08-251-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.
* | | If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing ↵Martin Storsjo2009-08-251-0/+2
| | | | | | | | | | | | the viewport.
* | | better error handling in EGLMathias Agopian2009-08-201-12/+46
| | |
* | | second take, hopefully this time it doesn't break one of the builds: ↵Mathias Agopian2009-08-111-0/+4
| | | | | | | | | | | | "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
* | | Revert "SurfaceFlinger will now allocate buffers based on the usage ↵Fred Quintana2009-08-111-4/+0
| | | | | | | | | | | | | | | | | | specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
* | | SurfaceFlinger will now allocate buffers based on the usage specified by the ↵Mathias Agopian2009-08-111-0/+4
| | | | | | | | | | | | | | | | | | | | | clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything. This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored). Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
* | | add support for RGBX_8888Mathias Agopian2009-08-071-0/+2
| | |
* | | be more robust when errors occur upon EGL surface creation (ie: don't crash)Mathias Agopian2009-07-311-9/+18
| | |
* | | fixed some issues with the software renderer when surfaces are made current.Mathias Agopian2009-07-301-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there was several issues: - when a surface was made non-current, the last frame wasn't shown and the buffer could stay locked - when a surface was made current the 2nd time, it would not dequeue a new buffer now, queue/dequeue are done when the surface is made current. for this to work, a new query() hook had to be added on android_native_window_t, it allows to retrieve some attributes of a window (currently only width and height).
* | | Merge commit 'goog/readonly-korg-master' into merge_korg_masterJean-Baptiste Queru2009-07-161-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | * commit 'goog/readonly-korg-master': Fixed Android issue #400, where the Intent documentation was inaccurate in a number of places, undoubtedly causing untold grief to innumerable masses. Bug Fixed for libagl.
| * | Bug Fixed for libagl.Shin-ichiro KAWASAKI2009-07-071-1/+1
| |/
| * Automated import from //branches/cupcake/...@142481,142481Jack Palevich2009-03-241-6/+18
| |
* | remove libagl's dependency on gralloc_priv.hMathias Agopian2009-07-154-23/+8
| |
* | am 46e28db8: Merge change 6713 into donutAndroid (Google) Code Review2009-07-091-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6' * commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6': fix for [1969185] valgrind errors in new gl stuff
| * | fix for [1969185] valgrind errors in new gl stuffMathias Agopian2009-07-091-1/+1
| | |
* | | fix a bug where gl didn't always fallback to software when copybit failed. ↵Mathias Agopian2009-06-291-13/+17
| | | | | | | | | | | | minor optimizations to copybit codepath.
* | | use copybit for eglSwapBuffers() copy-back operationsMathias Agopian2009-06-251-52/+109
| | |