summaryrefslogtreecommitdiffstats
path: root/opengl/include
Commit message (Collapse)AuthorAgeFilesLines
* libagl: Add eglGetRenderBufferANDROID() extensionArne Coucheron2011-09-181-0/+8
| | | | | | | | | | which returns the current render buffer as an android_native_buffer_t* This was removed in AOSP for Gingerbread, but at CAF they put it back as part of their patch for re-enabling the usage of copybit for accelerating 2D rendering -> http://tinyurl.com/65mm5p6 Change-Id: I0165bf5b481ae097848c1c644785819f0c127ef1
* Refresh EGL header to work with the NDKDavid 'Digit' Turner2010-11-071-12/+11
| | | | | | | | | | | | | This change allows to use this header with the NDK's standalone toolchain. For the record, the NDK toolchain defines __ANDROID__ as a compiler built-in macro, this is however not the case currently for the prebuilt binaries that are being used by the full Android build system, which otherwise defines ANDROID. This change allows the header to be used by all toolchains properly. Note however that we should properly should change our toolchain and sources to provide and rely on __ANDROID__ instead of ANDROID though. Change-Id: Iaa1aa1146985b5f24dcf3a83d9ddb9b4b59dc328
* surfaceflinger / GL extensions cleanupMichael I. Gold2010-09-152-10/+16
| | | | | | | Add correct enumerants for OES_EGL_image_external to glext.h. SurfaceFlinger now checks for the correct extension name. Change-Id: I2ba2728a01fa2260bd086d2df4316c68f694a9b1
* cleanup EGL a bit. remove unused extension.Mathias Agopian2010-08-271-8/+0
| | | | Change-Id: Ia87120b076ab1bf7b28f06087878d8161fb46c88
* Introduce official public NativeWindow type.Dianne Hackborn2010-06-301-2/+3
| | | | | | | Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
* Added support for the GL_TEXTURE_EXTERNAL targetMathias Agopian2010-06-152-0/+20
| | | | | | This will allow us to support YUV surfaces. Change-Id: I2d4da75f1006a5285bdc552695d4caeecccf2183
* update EGL headers to the latestMathias Agopian2010-06-093-8/+99
| | | | | | note that this doesn't update the EGL stubs. Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
* fix OpenGL ES extension headers from khronosMathias Agopian2010-06-092-26/+26
| | | | | | | the official headers have a couple typos, which this CL fixes. Change-Id: I0359531a05a4a62ddbdce70c5841ec1c355feb3b
* update the OpenGL ES headers to the latestMathias Agopian2010-06-096-104/+783
| | | | Change-Id: Iceef1e95504897a5e3759b0401cf7031c9e74547
* A library for encoding and decoding ETC1 textures.Jack Palevich2009-12-311-0/+106
| | | | | The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
* this header file is not needed anymoreMathias Agopian2009-07-141-271/+0
|
* Add eglGetRenderBufferANDROID() extension, which returns the current render ↵Mathias Agopian2009-06-252-8/+14
| | | | buffer as an android_native_buffer_t*
* Android now has its own EGL extension block (yay) 0x3140-0x314F. ↵Mathias Agopian2009-06-231-1/+1
| | | | EGL_NATIVE_BUFFER_ANDROID now maps to 0x3140 instead of using the staging range
* Added most of the support needed for GLES 2.xMathias Agopian2009-05-271-0/+29
|
* minor modifications to the official GLES 2.x headersMathias Agopian2009-05-272-8/+8
| | | | | - changed glTexImage2D() declaration so it matches that of GLES 1.x; otherwise we can't include both headers (!!!) - added parameter names to the declaration of some extensions (this is needed by glapigen and glentrygen)
* add GLES 2.x headersMathias Agopian2009-05-272-0/+1138
|
* Merge commit 'goog/master' into merge_masterMathias Agopian2009-05-142-15/+2
|\ | | | | | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
| * remove the gl{Vertex|Color|TexCoord|Normal}PointerBounds() "extension" fro ↵Mathias Agopian2009-05-081-15/+0
| | | | | | | | eglext.h
| * only export the GL entry-points, hide everything else.Mathias Agopian2009-05-082-4/+6
| | | | | | | | | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
* | created an new EGL extension called ANDROID_swap_rectangleMathias Agopian2009-05-071-0/+12
| | | | | | | | | | | | ANDROID_swap_rectangle allows to specify the rectangle affected by eglSwapBuffers(), anything outside of this rectangle is unchanged. in particular EGL_BUFFER_DESTROYED only applies to that rectangle. This extension as well as EGL_BUFFER_PRESERVED allow major optimizations on surfaceflinger, which can redraw only the dirty area during compositing. However, ANDROID_swap_rectangle allows further optimizations in EGL by reducing the amount of copy-back needed. ANDROID_swap_rectangle is particularily important for software implementations.
* | move opengl/include/EGL/android_natives.h to ↵Mathias Agopian2009-05-052-242/+3
| | | | | | | | | | | | 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-5/+4
| | | | | | | | | | | | 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/+1
| | | | | | | | "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-24/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-103-8/+272
|/ | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-0/+2542
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-2542/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-109-0/+2542