From 1f071dd8c39dc966ad18abab0528f72730a4af6a Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 30 Nov 2016 10:20:29 -0800 Subject: Deprecate eglCreatePixmapSurface This function was never properly supported. It had partial support in our JNI layer in EGL10 but not implementation in EGL14. It has never been tested and it is unlikely that drivers support pixmap rendering. Bug: 11257511 Test: CtsGraphicsTestCases Change-Id: I209fff470c715cd97148a32b2f41ecf7e5283bab --- opengl/java/android/opengl/EGL14.java | 1 + 1 file changed, 1 insertion(+) (limited to 'opengl/java/android') diff --git a/opengl/java/android/opengl/EGL14.java b/opengl/java/android/opengl/EGL14.java index cf09c5865b98..53ec6c8980ef 100644 --- a/opengl/java/android/opengl/EGL14.java +++ b/opengl/java/android/opengl/EGL14.java @@ -284,6 +284,7 @@ public static final int EGL_CORE_NATIVE_ENGINE = 0x305B; // C function EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list ) + @Deprecated public static native EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, -- cgit v1.2.3