History log of /frameworks/native/opengl/tools/glgen/stubs/egl/EGLExtcHeader.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4aaa39358f538d8e06e026385bb8be8088d78c35 02-Dec-2014 Jesse Hall <jessehall@google.com> Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
7290c24354ccf7efd7afa8fa6ba06689a852fae6 07-Nov-2014 Sangkyu Lee <sk82.lee@lge.com> Avoid overwriting EGL14.EGL_NO_SURFACE

Both EGL14 and EGLExt have the same initialization codes for
EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY.
Since EGLExt is initialized later, they are overwritten by EGLExt's
initialization codes.
Therefore, EGL_NO_SURFACE returned by methods in EGL14 is not
actually EGL14.EGL_NO_SURFACE object and it makes several problems in
handling error cases.
For instance, "Let's fish" game application cannot be run on L.

To solve the problem, this patch makes EGL14.EGL_NO_SURFACE,
EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY initialized just once.

Change-Id: Icce878164ff0b715ad2b5a2cd038a9616c7cf1e9
/frameworks/native/opengl/tools/glgen/stubs/egl/EGLExtcHeader.cpp
b5da0d78d2fde6abbfd387db4a3b218a5c301c20 11-Nov-2014 Andreas Gampe <agampe@google.com> Frameworks/native: Add pragmas to glgen headers

The code currently being generated by glgen is not the cleanest, but
we would like to get core/jni onto -Werror. Thus add pragmas turning
off warnings locally to the C headers.

Also fix signed-comparison in two functions.

Longer term TODO: Emit clean code.

Change-Id: Iee8582f8c0c1de076d64851d3b6ca467afd5bc43
/frameworks/native/opengl/tools/glgen/stubs/egl/EGLExtcHeader.cpp
ab6fc2a86f34be455c144a2d691e94909998c959 13-Feb-2014 Ashok Bhat <ashok.bhat@arm.com> Use long for pointers in opengl/EGL classes

EGL classes in frameworks/base have to be updated to support
64-bit platforms. Key changes in the EGL classes include

[x] EGLObjectHandle class - EGLObjectHandle class has two public
methods (constructor and getHandle) that assume handles are
32-bit. They have not been changed. Instead, two new hidden
methods (EGLObjectHandle(long) and getNativeHandle) have been
added.

[x] EG14 class - Two public methods eglGetDisplay and
eglCreatePbufferFromClientBuffer assume that handles are 32-bit.
They have been changed to throw unsupported operation exception
on non 32-bit machines. Two new methods eglGetDisplay(long)
and eglCreatePbufferFromClientBuffer(...long buffer..) have
been added to support 64-bit handles.

To allow the above changes in frameworks/base EGL classes,
corresponding code generation mechanism in frameworks/native has
been updated.

Change-Id: I5d0a62e10c20ccf05f610d6608b8dfb6414b5116
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/native/opengl/tools/glgen/stubs/egl/EGLExtcHeader.cpp
c86393510c8747519fe34e5aa38ce5218593c19c 30-Apr-2013 Jesse Hall <jessehall@google.com> Generate new EGLExt class

Initially populated with EGL_ANDROID_presentation_time (moved from the
EGL14 class) and the ES-relevant parts of EGL_KHR_create_context.

Bug: 8678160
Change-Id: Ifed2ee3da264ca701ae1f4b309a0758f7fcc3acc
/frameworks/native/opengl/tools/glgen/stubs/egl/EGLExtcHeader.cpp