replicant-frameworks_native/opengl
Sangkyu Lee 7290c24354 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
2014-11-25 10:46:06 +09:00
..
include opengl: Add EXT_primitive_bounding_box to registry 2014-05-19 12:54:05 -07:00
libagl Remove unused LOCAL_LDLIBS. 2014-05-07 15:26:38 -07:00
libs am e9034b45: Merge "Use LOCAL_CLANG := false for GLES wrappers for now" 2014-10-16 03:06:25 +00:00
specs GLConsumer: start using EGL_ANDROID_image_crop 2013-10-02 17:34:35 +00:00
tests am d12586b8: Merge "Move hwc tests to libc++." 2014-11-05 02:41:59 +00:00
tools Avoid overwriting EGL14.EGL_NO_SURFACE 2014-11-25 10:46:06 +09:00