summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.cpp
AgeCommit message (Collapse)Author
2019-08-22Nuke libagl and setEmulatorGlesValue Chris Forbes
If you want a software GL for bringup or otherwise, use SwiftShader. now emulator uses ro.hardware.egl in internal master at least (AOSP needs ro.hardware.egl modernization) Change-Id: I1b331c493ff0f1b4d904fea2d40f49c1fe497c28
2018-10-19Fix implicit-fallthrough warnings. Chih-Hung Hsieh
Test: make checkbuild Bug: 112564944 Change-Id: I037abe443a47a12136744b8eb3720f75ecd9b578
2017-10-26Use -Werror in frameworks/native/opengl/libagl Chih-Hung Hsieh
* Remove unused local variables and functions. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib8e3ee6e3c1ee3cf1e26f265fc87890f1690c6a2
2016-01-11libagl: Switch from gralloc to GraphicBufferMapper Dan Stoza
Removes all direct references to the gralloc module from libagl and uses the GraphicBufferMapper class instead when locking and unlocking buffers. Also a couple of minor code cleanups to eliminate warnings. Change-Id: Ie982d375b3152d5f677ab54c2067179b8d34c06d
2014-03-12native frameworks: 64-bit compile issues Mark Salyzyn
- Fix format (print/scanf) - Suppress unused argument warning messages (bonus) Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
2012-02-24remove dependency on android_native{s_priv|buffer}.h Mathias Agopian
Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
2011-08-18implement EGL_TEXTURE_EXTERNAL_OES in libagl Mathias Agopian
this allows the emulator to display some graphics Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
2011-05-03frameworks/base: android_native_buffer_t -> ANativeWindowBuffer Iliyan Malchev
Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-07-29remove copybit hack from software opengl (libagl) Mathias Agopian
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
2010-05-12merge from open-source master The Android Open Source Project
Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
2010-03-12Fix glCopyTexSubImage2D inverted texture bug. Jack Palevich
This bug only affects the software OpenGL ES driver.
2010-02-04Proper EGLImageKHR error handling Mathias Agopian
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
2010-02-02Fix ETC1 texture decoding. Jack Palevich
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.
2010-02-02implement [2396050] Add ETC1 texture support to AGL Mathias Agopian
2010-02-01fix [2397853] glCopyTexImage2D crashes emulator Mathias Agopian
Fixed a typo which would cause a buffer overflow
2010-01-29Fix glReadPixels() to verify that both x and y are non-negative. Mike Playle
2010-01-25fix [2341222] AGL version of glDrawTexxOES doesn't handle "Z" value correctly Mathias Agopian
2009-11-13eclair snapshot Jean-Baptiste Queru
2009-10-19fix [2151588] glTexSubImage2D() allows pixel format conversion Mathias Agopian
2009-09-10AGL's glCompressedTexImage2D now checks the imageSize parameter. Jack Palevich
This parameter indicates how many bytes of the image data are valid. Previously this parameter was ignored.
2009-07-21donut snapshot Jean-Baptiste Queru
2009-07-15remove libagl's dependency on gralloc_priv.h Mathias Agopian
2009-06-24merge master in master_gl Mathias Agopian
2009-06-22add glTexParameteri() and fix glTexParameteriv() Mathias Agopian
2009-06-10fix a bug where copybit only renders in the first buffer when used with s/w GL Mathias Agopian
2009-05-05move android_native_buffer_t declaration into its own ↵ Mathias Agopian
private/ui/android_native_priv.h header, since user code should never have access to it.
2009-05-05move opengl/include/EGL/android_natives.h to ↵ Mathias Agopian
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
2009-05-05get rid of android_native_buffer_t::getHandle() and replace it with an ↵ Mathias Agopian
handle field this abstraction was not necessary. things are easier now.
2009-05-05removed the "bits" attribute from android_native_buffer_t. Mathias Agopian
"bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
2009-05-04update surfaceflinger, libui and libagl to the new gralloc api Mathias Agopian
- 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
2009-04-10Integrate from //sandbox/mathias/donut/...@145728 Mathias Agopian
SurfaceFlinger rework for new EGL driver model support.
2009-03-03auto import from //depot/cupcake/@135843 The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843 The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745 The Android Open Source Project
2008-10-21Initial Contribution The Android Open Source Project