/cts/tests/tests/media/src/android/media/cts/ |
D | NdkInputSurface.java | 27 private long mEGLDisplay; field in NdkInputSurface 49 mEGLDisplay = eglGetDisplay(); in NdkInputSurface() 50 if (mEGLDisplay == 0) { in NdkInputSurface() 54 mEGLConfig = eglChooseConfig(mEGLDisplay); in NdkInputSurface() 59 mEGLContext = eglCreateContext(mEGLDisplay, mEGLConfig); in NdkInputSurface() 64 mEGLSurface = createEGLSurface(mEGLDisplay, mEGLConfig, mNativeWindow); in NdkInputSurface() 69 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface); in NdkInputSurface() 70 mHeight = eglGetHeight(mEGLDisplay, mEGLSurface); in NdkInputSurface() 76 if (!eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLContext)) { in makeCurrent() 83 return eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers() [all …]
|
D | InputSurface.java | 41 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in InputSurface 66 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in eglSetup() 67 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in eglSetup() 71 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in eglSetup() 72 mEGLDisplay = null; in eglSetup() 87 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, mConfigs, 0, mConfigs.length, in eglSetup() 97 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, mConfigs[0], EGL14.EGL_NO_CONTEXT, in eglSetup() 127 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface() 135 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in releaseEGLSurface() 136 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in releaseEGLSurface() [all …]
|
D | OutputSurface.java | 48 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in OutputSurface 123 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in eglSetup() 124 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in eglSetup() 128 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in eglSetup() 129 mEGLDisplay = null; in eglSetup() 145 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup() 155 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup() 169 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 180 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in release() 181 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaOutputSurface.java | 52 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in CtsMediaOutputSurface 127 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in eglSetup() 128 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in eglSetup() 132 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in eglSetup() 133 mEGLDisplay = null; in eglSetup() 149 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup() 159 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup() 173 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() 184 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in release() 185 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release() [all …]
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 30 private EGLDisplay mEGLDisplay; field in GLEnv 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() 72 egl.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext); in makeCurrent() 97 egl.eglDestroySurface(mEGLDisplay, mEGLSurface); in tearDown() 98 egl.eglDestroyContext(mEGLDisplay, mEGLContext); in tearDown()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | FramebufferTest.java | 159 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in FramebufferTest.EglCore 181 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in EglCore() 189 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in EglCore() 190 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in EglCore() 194 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in EglCore() 195 mEGLDisplay = null; in EglCore() 208 EGLContext context = EGL14.eglCreateContext(mEGLDisplay, config, sharedContext, in EglCore() 229 EGLContext context = EGL14.eglCreateContext(mEGLDisplay, config, sharedContext, in EglCore() 239 EGL14.eglQueryContext(mEGLDisplay, mEGLContext, EGL14.EGL_CONTEXT_CLIENT_VERSION, in EglCore() 276 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in getConfig() [all …]
|
D | WrapperTest.java | 38 private EGLDisplay mEGLDisplay; field in WrapperTest 174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in testThreadCleanup() 198 EGL14.eglTerminate(mEGLDisplay); in testThreadCleanup() 232 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in eglSetup() 233 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in eglSetup() 237 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in eglSetup() 238 mEGLDisplay = null; in eglSetup() 265 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, configs, 0, configs.length, in eglSetup() 275 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in eglSetup() 288 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0); in eglSetup() [all …]
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 136275 int mEGLDisplay
|