summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/texture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove dependency on android_native{s_priv|buffer}.hMathias Agopian2012-02-241-1/+0
| | | | Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
* implement EGL_TEXTURE_EXTERNAL_OES in libaglMathias Agopian2011-08-181-4/+4
| | | | | | this allows the emulator to display some graphics Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
* frameworks/base: android_native_buffer_t -> ANativeWindowBufferIliyan Malchev2011-05-031-6/+6
| | | | | Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
* remove copybit hack from software opengl (libagl)Mathias Agopian2010-07-291-26/+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
* merge from open-source masterThe Android Open Source Project2010-05-121-1/+1
|\ | | | | | | Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
| * Fix glReadPixels() to verify that both x and y are non-negative.Mike Playle2010-01-291-1/+1
| |
| * eclair snapshotJean-Baptiste Queru2009-11-131-61/+240
| |
| * donut snapshotJean-Baptiste Queru2009-07-211-1/+8
| |
* | Fix glCopyTexSubImage2D inverted texture bug.Jack Palevich2010-03-121-1/+1
| | | | | | | | | | This bug only affects the software OpenGL ES driver.
* | Proper EGLImageKHR error handlingMathias Agopian2010-02-041-0/+27
| | | | | | | | | | 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 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-021-5/+31
| |
* | 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
| |
* | fix [2151588] glTexSubImage2D() allows pixel format conversionMathias Agopian2009-10-191-0/+5
| |
* | 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.
* | remove libagl's dependency on gralloc_priv.hMathias Agopian2009-07-151-13/+1
| |
* | merge master in master_glMathias Agopian2009-06-241-1/+8
|\ \
| * | add glTexParameteri() and fix glTexParameteriv()Mathias Agopian2009-06-221-1/+8
| |/
* | fix a bug where copybit only renders in the first buffer when used with s/w GLMathias Agopian2009-06-101-6/+4
| |
* | move android_native_buffer_t declaration into its own ↵Mathias Agopian2009-05-051-1/+1
| | | | | | | | private/ui/android_native_priv.h header, since user code should never have access to it.
* | move opengl/include/EGL/android_natives.h to ↵Mathias Agopian2009-05-051-1/+1
| | | | | | | | | | | | include/ui/egl/android_natives.h and don't include it from egl.h the android_native_ types are just forward declared in egl.h
* | get rid of android_native_buffer_t::getHandle() and replace it with an ↵Mathias Agopian2009-05-051-13/+8
| | | | | | | | | | | | handle field this abstraction was not necessary. things are easier now.
* | removed the "bits" attribute from android_native_buffer_t.Mathias Agopian2009-05-051-2/+3
| | | | | | | | "bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
* | update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-16/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
* | Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-61/+147
|/ | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1421
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1421/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-7/+5
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1423