• Home
  • History
  • Annotate
  • only in /frameworks/native/opengl/include/
History log of /frameworks/native/opengl/include/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
202e6e932cfd9bd97053681da438146d151286cc 14-Apr-2016 Pablo Ceballos <pceballos@google.com> Merge "egl: add EGL_KHR_mutable_render_buffer" into nyc-dev
ceb9ee78bdc7b3a074d01380ce11432f88732094 13-Apr-2016 Pablo Ceballos <pceballos@google.com> egl: add EGL_KHR_mutable_render_buffer

- Allow drivers to support it and applications to query for it.
- Add it to the platform header.

Bug 27129258

Change-Id: I7ce762f03889027d67803ba2da85a43584f3cf79
GL/eglext.h
8cfae6dc5c7467642a307eb7e12e510210ef154c 13-Apr-2016 Craig Donner <cdonner@google.com> Minor changes and cleanup to support EXT_protected_content.

Bug: 22775237
Change-Id: I809b62597ca439e5183c32711866efa71e06467e
GL/eglext.h
5b89ed60835bb369ec8d233c3c707f6147027994 24-Mar-2016 Pablo Ceballos <pceballos@google.com> Manually fix GLES headers

Apply the Khronos proposed fix to the GLES headers

Bug 26832318

Change-Id: I3f476d4b8dc4e1819afb9e791da178417e5cb427
LES2/gl2.h
LES3/gl3.h
LES3/gl31.h
LES3/gl32.h
HR/khrplatform.h
02b05da60a4669df44c9c0747ec262ec1862cf61 03-Feb-2016 Pablo Ceballos <pceballos@google.com> egl: Add EGL extension for front buffer auto-refresh mode

- Add an EGL extension for enabling/disabling auto-refresh mode on
a surface that's being used for front-buffer rendering.
- Remove the temporary hack that was directly enabling/disabling
front-buffer rendering from the EGL wrapper. From now on the driver
will have to implement it.

Bug 24949410

Change-Id: I722577521a37f9892dbadaf504b4551fe37182ed
GL/eglext.h
05249fc2d0da542efa46acdb7b10a619a68538e1 16-Jan-2016 Craig Donner <cdonner@google.com> Adds private EGL extension to create an EGLClientBuffer from a gralloc'd buffer. This lets you create a color EGLimage backed by gralloc, which is needed to support protected textures.

Bug: 22775237
Bug: 22855417

Change-Id: I8e03061d74a74a8fdd6524ffa97a6c75a6ced89c
GL/eglext.h
4690754ec38f77431431910ce878850e1c60ab79 27-Oct-2015 Pablo Ceballos <pceballos@google.com> opengl: Update headers and registry and regenerate *api.in

- Update the registry xml files and python scripts in glgen2. Took
r32166 from:
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/

- Update the GLES headers (and add gl32.h). Took r32166 from:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api/

- Include gl32.h in libs/hooks.h

- Update glgen2/glgen.py to properly handle glPathGlyphIndexRangeNV
which uses an explicit array parameter (and is the only GL extension
that does this). This modification also fixes a bunch of whitespace
issues in the *.in files.

- Get rid of the remaining bits of glTrace code in glgen2/glgen.py

- Regenerate the *.in files with glgen2

- The official glext.h hasn't been updated and differs from the
registry in the second to last argument to glMultiDrawElementsEXT.
This file was previously modified to match the registry and this
modification has been carried forward in this commit.

- getProcAddress.cpp was failing to compile for ARM because the
inline assembly for loading the function pointer now exceeds the
limit of 4095 for an immediate offset to the ldr instruction on ARM.
Modify it to instead load the offset into a register and add it with
an add instruction before the ldr instruction.

- Khronos has added #ifdef GL_GLEXT_PROTOTYPES guards to the function
prototypes in gl2/3.h. In order to keep existing code compiling add
#define GL_GLEXT_PROTOTYPES to include/KHR/khrplatform.h for now.
This should be fixed upstream and when it is this can be removed.

Change-Id: I952ace43879557d7c363810b83d65159ad2ad1e3
LES2/gl2.h
LES2/gl2ext.h
LES3/gl3.h
LES3/gl31.h
LES3/gl32.h
LES3/gl3platform.h
HR/khrplatform.h
5245af3cb782a4e1c66ec0bed907ce823f32eadf 24-Apr-2015 Jesse Hall <jessehall@google.com> libEGL: whitelist the EGL_KHR_create_context_no_error extension

Allow EGL implementations to expose the
EGL_KHR_create_context_no_error extension if they wish.

https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context_no_error.txt

Change-Id: I3290ccc2a69a1fa0b00ec3f1aa4f876906c64bfb
GL/eglext.h
a894d082cfee8d12ee5913163a34ec5dc521d005 20-Feb-2015 Dan Stoza <stoza@google.com> libEGL: Add wrappers for partial update functions

This adds EGL wrapper functions for the following EGL extensions:
EGL_EXT_buffer_age
EGL_KHR_partial_update
EGL_KHR_swap_buffers_with_damage

Change-Id: I407acda1e0310f7f01a5efe9c915721a941138a4
GL/eglext.h
d6061de255e1767150ae9a7a10eb380c74310f60 18-May-2014 Jesse Hall <jessehall@google.com> opengl: Add EXT_primitive_bounding_box to registry

This extension hasn't been published yet, so it isn't in the public
registry. That will change before the next platform release to AOSP.

Bug: 15028495
Change-Id: I3f8ac50e6a7f782738518cfd4571b07f94f83c49
LES2/gl2ext.h
3667e338629cb51683bd7a9a184180e2131ff2c7 18-May-2014 Jesse Hall <jessehall@google.com> opengl: Update registry and headers from Khronos

gl.xml @ r26697:
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api

GLES headers @ r26698:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api

Bug: 15028495
Change-Id: I57e0d8caac2bc2edb10c8252e06ffdb9a5ccf48b
LES2/gl2.h
LES2/gl2ext.h
LES3/gl3.h
LES3/gl31.h
3703f7f014846b8bf83e08a8bf25450dd0dcd7af 14-May-2014 Jesse Hall <jessehall@google.com> opengl: Update GLES headers and generate *.in from registry XML

Import GLES headers from Khronos SVN r26322:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api

There are many non-functional whitespace and parameter name changes
included here. These were introduced upstream when converting from the
old .spec registry to the new XML registry.

There are also some new extensions added. Unfortunately there isn't a
version of the XML that matches the headers the previous versions of
the *.in files were generated from, so I can't separate out the
non-functional changes from the new extensions (other than temporarily
hacking them out of the XML). See below for a list.

Finally, I had to hack the official glext.h. Khronos hasn't updated
the official GLES1 headers since switching to the XML registry, and
there is one critical difference: a "const void**" parameter in the
official header is "const void* const*" in the registry. I changed the
header to avoid build errors with code generated from the registry.

Dependencies on the *.in files required manually updating some
GLES_trace/ files as well:

- gltrace_api.{h,cpp} must be manually re-generated using
tools/genapi.py.
- New GL prototypes must be manually added to gltrace.proto.
- gltrace.pb.{h,cpp} must be regenerated using aprotoc (see dev.make)

New GLES extensions in libs/GLES_CM/glext_api.in:
- GL_OES_byte_coordinates
- GL_EXT_map_buffer_range
- GL_APPLE_copy_texture_levels
- GL_APPLE_sync

New GLES2 extensions in libs/GLES2/gl2ext_api.in:
- GL_KHR_blend_equation_advanced
- GL_KHR_debug
- GL_OES_sample_shading
- GL_OES_texture_storage_multisample_2d_array
- GL_EXT_disjoint_timer_query
- GL_EXT_draw_buffers
- GL_EXT_draw_instanced
- GL_EXT_instanced_arrays
- GL_EXT_map_buffer_range
- GL_EXT_map_buffer_range
- GL_EXT_multiview_draw_buffers
- GL_EXT_separate_shader_objects
- GL_ANGLE_instanced_arrays
- GL_ANGLE_translated_shader_source
- GL_APPLE_copy_texture_levels
- GL_APPLE_sync
- GL_INTEL_performance_query
- GL_NV_blend_equation_advanced
- GL_NV_copy_buffer
- GL_NV_draw_instanced
- GL_NV_framebuffer_blit
- GL_NV_framebuffer_multisample
- GL_NV_instanced_arrays
- GL_NV_non_square_matrices

Bug: 15028495
Change-Id: I902517c23354e14f9c63b1584db286d682315bb5
LES/glext.h
LES2/gl2.h
LES2/gl2ext.h
LES2/gl2platform.h
LES3/gl3.h
2b2ac210786c71bdd0ea5924d734a4b49c4a584e 20-May-2014 Jesse Hall <jessehall@google.com> Revert "Update GLES headers from Khronos SVN r26322"

This reverts commit 20670e33c76a32370695a82a3e7f2fb30be30608.

Change-Id: Iae3dfbaf852ff1b6906af1d5508c2baf1173b481
LES/glext.h
LES2/gl2.h
LES2/gl2ext.h
LES2/gl2platform.h
LES3/gl3.h
20670e33c76a32370695a82a3e7f2fb30be30608 14-May-2014 Jesse Hall <jessehall@google.com> Update GLES headers from Khronos SVN r26322

Public registry is:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api

Bug: 15028495
Change-Id: I2269a6a2486c34b6a9e378d4a25a41492d531c81
LES/glext.h
LES2/gl2.h
LES2/gl2ext.h
LES2/gl2platform.h
LES3/gl3.h
dbe9245e2e362b12e184cd33b9a27b0901f81244 24-Sep-2013 Jamie Gennis <jgennis@google.com> GLConsumer: start using EGL_ANDROID_image_crop

This change makes GLConsumer use the EGL_ANDROID_image_crop extension when
available on a device. The crop rectangle is passed to the EGL driver when
creating EGLImages, allowing the crop to be performed by the driver rather than
using the texture transform matrix.

Bug: 10897141
Change-Id: I63e9a5d5c85067376abc420e3639154468346311
GL/eglext.h
2bb716871cf8bfadfff1193ed798da3bffc1f8ec 28-Mar-2013 Mathias Agopian <mathias@google.com> replace eglWaitSyncANDROID by eglWaitSyncKHR

Change-Id: I22f1b3588011c88389e249f738f1e6915cc97e72
GL/eglext.h
12af3f6665f209cb7275f0c81fdc1cf4ccfb6208 27-Mar-2013 Mathias Agopian <mathias@google.com> update EGL headers to most recent

- add ANDROID extensions missing from official headers:
EGL_ANDROID_wait_sync
EGL_ANDROID_presentation_time

Change-Id: I5496d0de123a6279234098c19f9a12220adec876
GL/eglext.h
GL/eglplatform.h
HR/khrplatform.h
7284145d564fa8a422a8e564a38c730fb4a2962b 02-Mar-2013 Andy McFadden <fadden@android.com> Add eglPresentationTimeANDROID

Added EGL extension to set a timestamp on a surface.

Also, fix JNI encoding of "long" in glgen.

Bug 8191230

Change-Id: I38b7334bade3f8ff02bffe600bb74469ef22c164
GL/eglext.h
61d1b812137b7f3a877e855f9a088be307ec11b6 08-Feb-2013 Jesse Hall <jessehall@google.com> Import OpenGL ES 3.0 headers from Khronos SVN

Add MODULE_LICENSE_MIT: The GLES headers use an MIT license or a
slight variant of it (the "SGI Free Software License B version 2.0",
http://oss.sgi.com/projects/FreeB/).

Change-Id: Ic8f946341cdd0d579f51b6f7a3ee109cd31b1691
LES2/gl2.h
LES3/gl3.h
LES3/gl3ext.h
LES3/gl3platform.h
ODULE_LICENSE_MIT
7c95911157999d30fbadf8f964155396d17c49da 21-Jan-2013 Alistair Strachan <alistair.strachan@imgtec.com> Import constness fix from gl3.h into gl2.h.

This change has been made in Khronos SVN for GLES2 already, however it
is mildly controversial and discussion is on-going.

This change is necessary for Android because otherwise applications
cannot include both GLES2/gl2.h and GLES3/gl3.h as the glShaderSource()
prototype mismatches. Native programs may include framework headers
(which now include GLES3 headers only) but already have included GLES2
headers, creating an incompatibility.

Change-Id: I70a4075e079ee063e76cef5a227abb0ae70aebb4
LES2/gl2.h
5e530e02bc3073a2e2469df3c333ae14f1b37433 07-Nov-2012 Andrew Hsieh <andrewhsieh@google.com> am a151a19d: Merge "Fix return type of glGetAttribLocation and glGetUniformLocation"

* commit 'a151a19db2fa07295837027fb5d84c02401cc78d':
Fix return type of glGetAttribLocation and glGetUniformLocation
300ad09822db1013d9f28c4bca3680f865533ab6 06-Nov-2012 Andrew Hsieh <andrewhsieh@google.com> Fix return type of glGetAttribLocation and glGetUniformLocation

from int to GLint.

See:
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetAttribLocation.xml
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetUniformLocation.xml

Change-Id: I4a9f8e9e34b8c3cca239ae84bfe8f3cdfd94802a
LES2/gl2.h
3ff48e5e69955b37292446c0f2ac98e8238bdaca 24-Sep-2012 Jamie Gennis <jgennis@google.com> EGL: add the EGL_ANDROID_framebuffer_target enum

Change-Id: Id8b1b114e2a7a88956b857c63a0429e9b33fdb5c
GL/eglext.h
09b11432b64d368dee7be69480ab54256058376a 21-Sep-2012 Jamie Gennis <jgennis@google.com> EGL: expose the EXT_create_context_robustness ext

Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e
GL/eglext.h
010dd4fb892aecf71e4631c22148fe57ef5b3958 10-Sep-2012 Jamie Gennis <jgennis@google.com> EGL: Add the EGL_ANDROID_wait_sync extension

Change-Id: Ie9a78e07fcaf27c5c13797141ad3c692217607fb
GL/eglext.h
331841b96b92646c93c87627c03f77b892f711cd 06-Sep-2012 Jamie Gennis <jgennis@google.com> EGL: add the native_fence_sync extension

This change adds support for the EGL_ANDROID_native_fence_sync extension to the
Android EGL layer. It also fixes a couple minor issues with the extension spec.

Change-Id: Ic8829d21f37b701f33aa9c72c3d25e88e03fa3cd
GL/eglext.h
f9752cc4cf4e4f36eaa6f19f607957b9eb496bc4 22-Aug-2012 Bjorn Andersson <bjorn.andersson@sonymobile.com> egl: Reintroduce eglGetRenderBufferANDROID

eglGetRenderBufferANDROID was removed as it had no users. This commit
reintroduces this extensions as it's used by Qualcomm graphics HAL.

Change-Id: I493306830a0d4f8722a42bcc84fb49236afdabeb
GL/eglext.h
258385978c517a47626161b1e644c48bcee28de1 06-Apr-2012 Jesse Hall <jessehall@google.com> Hibernate the EGL implementation when idle

If the EGL implementation supports the EGL_IMG_hibernate_process
extension, use it to hibernate (and hopefully release memory or other
resources) when the process isn't actively using EGL or OpenGL ES. The
idleness heuristic used in this change is:

(a) Wake up when entering any EGL API call, and remain awake for the
duration of the call.
(b) Do not hibernate when any window surface exists; this means the
application is very likely in the foreground.
(c) Do not hibernate while any context is made current to a thread.
The app may be using a client API without the EGL layer knowing,
so it is not safe to hibernate.
(d) Only check these conditions and attempt to hibernate after a
window surface is destroyed or a thread's context is detached. By
not attempting to hibernate at the end of every EGL call, we avoid
some transient wakeups/hibernate cycles when the app is mostly idle,
or is starting to become active but hasn't created its window
surface yet.

On a Galaxy Nexus, hibernating frees 1567 VM pages from the process.
Both hibernating and waking can take anywhere from 30ms to over 100ms
-- measurements have been very inconsistent.

Change-Id: Ib555f5d9d069aefccca06e8173a89625b5f32d7e
GL/eglext.h
b0e76f456afaada43ddb0968bb37145219f90cd3 23-Mar-2012 Mathias Agopian <mathias@google.com> remove dependency of EGL on ndk header

Change-Id: Ia6e489b5b4f028864bdf54923e81f604710dd8ad
GL/eglplatform.h
31272606149d83437a097800074b21e9e6a205ad 28-Jan-2012 Mathias Agopian <mathias@google.com> update GLES headers and add support for corresponding new extensions.

Change-Id: I554d9659113b4721b748ee5c1a3b1ca82b11d75e
LES/glext.h
LES2/gl2ext.h
4b9511c16195a646242eff833b0af212933b6eca 14-Nov-2011 Mathias Agopian <mathias@google.com> rework a bit how we manage EGL extensions

- 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
GL/eglext.h
c42fcf05ce253d5342993b28c412be16e61efffb 10-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: add the ANDROID suffix to the blob cache ext

This change adds the ANDROID suffix to the all the types and functions
defined by the EGL_ANDROID_blob_cache extension.

Change-Id: I087875b96d9a7053efb9c8d5614f9f765eed799d
GL/eglext.h
766010858ea7696d64f1b559413670bdd8627595 06-Nov-2011 Jamie Gennis <jgennis@google.com> EGL: use an in-memory the blob cache

This change makes the makes the stub EGL_ANDROID_blob_cache callbacks
actually use a BlobCache object.

Bug: 5474671
Change-Id: I5cbaae2dea3aad2fe306c9f57029c3f215a0863a
GL/eglext.h
1c3d72a2291827fb15e2ef311a571c860e0dba41 26-Aug-2011 Jonas Yang <joyang@nvidia.com> Add (support for) EGL_NV_system_time extension.

Change-Id: I62bf0fcb5ccdc77c042b425a42054fb3122575b6
Signed-off-by: Mathias Agopian <mathias@google.com>
GL/eglext.h
dc159f92fa54858302c2423b145e259991dc8cb5 18-Jul-2011 Jamie Gennis <jgennis@google.com> EGL: update EGL_ANDROID_recordable extension.

This change adds an enum value and a description of the expected
implementations to the EGL_ANDROID_recordable extension specification.
It also adds the new enum value to the 'eglext.h' header.

Change-Id: Ia0de2d5613708445ff83b85a7e550f9417531ee4
GL/eglext.h
697526bc9e44ce61c88614f98387ae8bbf0a187e 01-May-2011 Iliyan Malchev <malchev@google.com> frameworks/base: android_native_buffer_t -> ANativeWindowBuffer

Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417
Signed-off-by: Iliyan Malchev <malchev@google.com>
GL/eglext.h
dfd0759ff635c2734104f63518f63efd2345cdc4 05-Nov-2010 David 'Digit' Turner <digit@google.com> Refresh EGL header to work with the NDK

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
GL/eglplatform.h
7f198b6bff54af3c8e8ac32b83ffc6488e773ac1 16-Sep-2010 Michael I. Gold <gold@nvidia.com> surfaceflinger / GL extensions cleanup

Add correct enumerants for OES_EGL_image_external to glext.h.
SurfaceFlinger now checks for the correct extension name.

Change-Id: I2ba2728a01fa2260bd086d2df4316c68f694a9b1
LES/glext.h
LES2/gl2ext.h
10cab190ba3bdad058cbb674f956e7b251bf74da 27-Aug-2010 Mathias Agopian <mathias@google.com> cleanup EGL a bit. remove unused extension.

Change-Id: Ia87120b076ab1bf7b28f06087878d8161fb46c88
GL/eglext.h
4b5e91e4820f03dba7dcc36e4b148331bc964b4b 30-Jun-2010 Dianne Hackborn <hackbod@google.com> Introduce official public NativeWindow type.

Not yet hooked up to anything in the NDK, but requires renaming
the existing android_native_window_t type everywhere.

Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
GL/eglplatform.h
0a91775c4df380d6a5b7f3ccad5127388ac01306 15-Jun-2010 Mathias Agopian <mathias@google.com> Added support for the GL_TEXTURE_EXTERNAL target

This will allow us to support YUV surfaces.

Change-Id: I2d4da75f1006a5285bdc552695d4caeecccf2183
LES/glext.h
LES2/gl2ext.h
e81a3cb2bd16f0ce1e9c256559aaa2095a1f41f6 10-Jun-2010 Mathias Agopian <mathias@google.com> update EGL headers to the latest

note that this doesn't update the EGL stubs.

Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
GL/egl.h
GL/eglext.h
GL/eglplatform.h
05bb9c973b414d961e2716efc0e340698e8ebd2a 10-Jun-2010 Mathias Agopian <mathias@google.com> fix OpenGL ES extension headers from khronos

the official headers have a couple typos, which
this CL fixes.

Change-Id: I0359531a05a4a62ddbdce70c5841ec1c355feb3b
LES/glext.h
LES2/gl2ext.h
8f62c3031e0c8297d3fa1593430ab402cf6a776f 10-Jun-2010 Mathias Agopian <mathias@google.com> update the OpenGL ES headers to the latest

Change-Id: Iceef1e95504897a5e3759b0401cf7031c9e74547
LES/gl.h
LES/glext.h
LES/glplatform.h
LES2/gl2.h
LES2/gl2ext.h
LES2/gl2platform.h
01cc538b290ecc9ccfdf1907fb714b76cf0f648b 28-Dec-2009 Jack Palevich <jackpal@google.com> A library for encoding and decoding ETC1 textures.

The ETC1 compressed texture format is commonly
supported by OpenGL ES 2.0-capable devices.
TC1/etc1.h
8e5fb52a1da59a9029b21fc97715dc37209969f7 14-Jul-2009 Mathias Agopian <mathias@google.com> this header file is not needed anymore
GL/eglnatives.h
8d2e83b9f44c7f2207a312fcfda8eb3a4c26745f 25-Jun-2009 Mathias Agopian <mathias@google.com> Add eglGetRenderBufferANDROID() extension, which returns the current render buffer as an android_native_buffer_t*
GL/eglext.h
GL/eglplatform.h
9f8b0c909760aa5b866255fe08042a3200b736cc 23-Jun-2009 Mathias Agopian <mathias@google.com> Android now has its own EGL extension block (yay) 0x3140-0x314F. EGL_NATIVE_BUFFER_ANDROID now maps to 0x3140 instead of using the staging range
GL/eglplatform.h
b1a39d67be99fe6c4545b25e10ac82a5dd1df634 28-May-2009 Mathias Agopian <mathias@google.com> Added most of the support needed for GLES 2.x
LES2/gl2platform.h
a3d66a834f7e6796003684652d8aef13fa6345cd 28-May-2009 Mathias Agopian <mathias@google.com> minor modifications to the official GLES 2.x headers

- 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)
LES2/gl2.h
LES2/gl2ext.h
48efd950151369a5c049c8a92f36663a88206b4e 28-May-2009 Mathias Agopian <mathias@google.com> add GLES 2.x headers
LES2/gl2.h
LES2/gl2ext.h
d717598616910b5454b56429dec3bfad2757bd52 15-May-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master

Conflicts:
opengl/libagl/Android.mk
opengl/libs/Android.mk
opengl/libs/egl_impl.h
d373c6348a91595dd4c0b83ad256dbf30870fa5d 09-May-2009 Mathias Agopian <mathias@google.com> remove the gl{Vertex|Color|TexCoord|Normal}PointerBounds() "extension" fro eglext.h
LES/glext.h
48685c45bb333c3564596158e2e67267110c9277 09-May-2009 Mathias Agopian <mathias@google.com> only export the GL entry-points, hide everything else.

Conflicts:

opengl/libagl/Android.mk
opengl/libs/Android.mk
opengl/libs/egl_impl.h
LES/glext.h
HR/khrplatform.h
df3ca30bf663cb8eed88ee3f16fb5e9a65dc00fc 05-May-2009 Mathias Agopian <mathias@google.com> created an new EGL extension called ANDROID_swap_rectangle

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.
GL/eglext.h
7189c0054e29a66d945f5657c48d5ecf538ea511 06-May-2009 Mathias Agopian <mathias@google.com> move opengl/include/EGL/android_natives.h to 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
GL/android_natives.h
GL/eglplatform.h
21c59d0070fe24a8e04e52ce04d511a924a9932f 05-May-2009 Mathias Agopian <mathias@google.com> get rid of android_native_buffer_t::getHandle() and replace it with an handle field

this abstraction was not necessary. things are easier now.
GL/android_natives.h
e71212ba5397387100a578d23b15862518a7a859 05-May-2009 Mathias Agopian <mathias@google.com> removed the "bits" attribute from android_native_buffer_t.

"bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
GL/android_natives.h
0926f50664c739eaee60341f8e8c694dc9a4f3eb 04-May-2009 Mathias Agopian <mathias@google.com> update surfaceflinger, libui and libagl to the new gralloc api

- 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
GL/android_natives.h
076b1cc3a9b90aa5b381a1ed268ca0b548444c9b 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
GL/android_natives.h
GL/eglplatform.h
LES/glplatform.h
edbf3b6af777b721cd2a1ef461947e51e88241e1 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
GL/egl.h
GL/eglext.h
GL/eglnatives.h
GL/eglplatform.h
LES/egl.h
LES/gl.h
LES/glext.h
LES/glplatform.h
HR/khrplatform.h
d5193d9394c5e58176d7bcdf50ef017f8a3b9e1e 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
GL/egl.h
GL/eglext.h
GL/eglnatives.h
GL/eglplatform.h
LES/egl.h
LES/gl.h
LES/glext.h
LES/glplatform.h
HR/khrplatform.h
a6938bab1f6fa76ae98ebbe44f4e534e05fa0993 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
GL/egl.h
GL/eglext.h
GL/eglnatives.h
GL/eglplatform.h
LES/egl.h
LES/gl.h
LES/glext.h
LES/glplatform.h
HR/khrplatform.h