/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 43 import javax.microedition.khronos.egl.EGL10; 44 import javax.microedition.khronos.egl.EGLConfig; 45 import javax.microedition.khronos.egl.EGLContext; 46 import javax.microedition.khronos.egl.EGLDisplay; 112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument 114 checkEglError("Before eglCreateContext", egl); in createContext() 116 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext() 117 checkEglError("After eglCreateContext", egl); in createContext() 121 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 122 egl.eglDestroyContext(display, context); in destroyContext() [all …]
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 23 import javax.microedition.khronos.egl.*; 37 EGL10 egl = (EGL10)EGLContext.getEGL(); in GLEnv() local 39 mEGLDisplay = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in GLEnv() 43 egl.eglInitialize(mEGLDisplay, version); in GLEnv() 54 egl.eglChooseConfig(mEGLDisplay, configSpec, configs, 1, num_config); in GLEnv() 62 mEGLContext = egl.eglCreateContext(mEGLDisplay, mEGLConfig, EGL10.EGL_NO_CONTEXT, attribs); in GLEnv() 66 mEGLSurface = egl.eglCreatePbufferSurface(mEGLDisplay, mEGLConfig, surfaceSize); in GLEnv() 71 EGL10 egl = (EGL10)EGLContext.getEGL(); in makeCurrent() local 72 egl.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext); in makeCurrent() 96 EGL10 egl = (EGL10)EGLContext.getEGL(); in tearDown() local [all …]
|
/cts/tests/vr/src/android/vr/cts/ |
D | OpenGLESActivity.java | 34 import javax.microedition.khronos.egl.EGL10; 35 import javax.microedition.khronos.egl.EGLConfig; 36 import javax.microedition.khronos.egl.EGLContext; 37 import javax.microedition.khronos.egl.EGLDisplay; 38 import javax.microedition.khronos.egl.EGLSurface; 230 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument 236 EGLContext context = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() 245 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 246 if (!egl.eglDestroyContext(display, context)) { in destroyContext() 256 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument [all …]
|
D | RendererProtectedTexturesTest.java | 20 import javax.microedition.khronos.egl.EGLConfig;
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | EglConfigTest.java | 23 import javax.microedition.khronos.egl.EGL10; 24 import javax.microedition.khronos.egl.EGLConfig; 25 import javax.microedition.khronos.egl.EGLContext; 26 import javax.microedition.khronos.egl.EGLDisplay; 72 EGL10 egl = (EGL10) EGLContext.getEGL(); in getEglConfigIds() local 73 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getEglConfigIds() 88 if (egl.eglInitialize(display, null)) { in getEglConfigIds() 90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { in getEglConfigIds() 92 if (egl.eglChooseConfig(display, attributeList, configs, configs.length, in getEglConfigIds() 97 if (egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_ID, in getEglConfigIds() [all …]
|
D | OpenGlEsVersionTest.java | 30 import javax.microedition.khronos.egl.EGL10; 31 import javax.microedition.khronos.egl.EGLConfig; 32 import javax.microedition.khronos.egl.EGLContext; 33 import javax.microedition.khronos.egl.EGLDisplay; 169 EGL10 egl = (EGL10) EGLContext.getEGL(); in testRequiredExtensionsForVrHighPerformance() local 170 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in testRequiredExtensionsForVrHighPerformance() 171 extensions = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS); in testRequiredExtensionsForVrHighPerformance() 200 EGL10 egl = (EGL10) EGLContext.getEGL(); in getDetectedMajorVersion() local 201 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getDetectedMajorVersion() 204 if (egl.eglInitialize(display, null)) { in getDetectedMajorVersion() [all …]
|
D | EglConfigGLSurfaceView.java | 28 import javax.microedition.khronos.egl.EGL10; 29 import javax.microedition.khronos.egl.EGLConfig; 30 import javax.microedition.khronos.egl.EGLDisplay; 59 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument 66 if (egl.eglChooseConfig(display, attributeList, configs, 1, new int[] {1})) { in chooseConfig() 68 printConfig(egl, display, configs[0]); in chooseConfig() 243 private static void printConfig(EGL10 egl, EGLDisplay display, in printConfig() argument 319 if (egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig() 323 while (egl.eglGetError() != EGL10.EGL_SUCCESS); in printConfig()
|
D | GLSurfaceViewCtsActivity.java | 24 import javax.microedition.khronos.egl.EGLConfig;
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 29 import javax.microedition.khronos.egl.EGL10; 30 import javax.microedition.khronos.egl.EGL11; 31 import javax.microedition.khronos.egl.EGLConfig; 32 import javax.microedition.khronos.egl.EGLContext; 33 import javax.microedition.khronos.egl.EGLDisplay; 34 import javax.microedition.khronos.egl.EGLSurface; 770 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument 771 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument 777 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument 781 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewCtsActivity.java | 39 import javax.microedition.khronos.egl.EGL10; 40 import javax.microedition.khronos.egl.EGLConfig; 41 import javax.microedition.khronos.egl.EGLContext; 42 import javax.microedition.khronos.egl.EGLDisplay; 43 import javax.microedition.khronos.egl.EGLSurface; 244 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 246 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
D | GLProducerThread.java | 27 import javax.microedition.khronos.egl.EGL10; 28 import javax.microedition.khronos.egl.EGLConfig; 29 import javax.microedition.khronos.egl.EGLContext; 30 import javax.microedition.khronos.egl.EGLDisplay; 31 import javax.microedition.khronos.egl.EGLSurface;
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraGLTest.java | 51 import javax.microedition.khronos.egl.EGL10; 52 import javax.microedition.khronos.egl.EGLConfig; 53 import javax.microedition.khronos.egl.EGLContext; 54 import javax.microedition.khronos.egl.EGLDisplay; 254 EGL10 egl = (EGL10) EGLContext.getEGL(); in getDetectedVersion() local 255 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getDetectedVersion() 258 if (egl.eglInitialize(display, null)) { in getDetectedVersion() 260 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedVersion() 262 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedVersion() 265 if (egl.eglGetConfigAttrib(display, configs[i], in getDetectedVersion() [all …]
|
/cts/tests/tests/deqp/ |
D | deqp_egl.mk | 18 DEQP_API := egl
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | RendererNineShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererEightShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererOneProgramTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererElevenShaderTest.java | 19 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererTwelveShaderTest.java | 19 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererTenShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererFourShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererSevenShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererSixShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererFiveShaderTest.java | 18 import javax.microedition.khronos.egl.EGLConfig;
|
D | RendererTwoShaderTest.java | 24 import javax.microedition.khronos.egl.EGLConfig;
|
D | NativeRendererOneColorBufferTest.java | 26 import javax.microedition.khronos.egl.EGLConfig;
|