HomeSort by relevance Sort by last modified time
    Searched defs:mEGLSurface (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/effect/src/android/effect/cts/
GLEnv.java 29 private EGLSurface mEGLSurface;
66 mEGLSurface = egl.eglCreatePbufferSurface(mEGLDisplay, mEGLConfig, surfaceSize);
72 egl.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext);
97 egl.eglDestroySurface(mEGLDisplay, mEGLSurface);
  /cts/tests/tests/media/src/android/media/cts/
NdkInputSurface.java 30 private long mEGLSurface;
64 mEGLSurface = createEGLSurface(mEGLDisplay, mEGLConfig, mNativeWindow);
65 if (mEGLSurface == 0) {
69 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface);
70 mHeight = eglGetHeight(mEGLDisplay, mEGLSurface);
76 if (!eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLContext)) {
83 return eglSwapBuffers(mEGLDisplay, mEGLSurface);
88 eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, nsecs);
106 mEGLSurface = createEGLSurface(mEGLDisplay, mEGLConfig, mNativeWindow);
107 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface);
    [all...]
InputSurface.java 44 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE;
137 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface,
140 if (mEGLSurface == null) {
146 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface);
147 mEGLSurface = EGL14.EGL_NO_SURFACE;
157 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface);
169 mEGLSurface = EGL14.EGL_NO_SURFACE;
179 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
196 return EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface);
    [all...]
OutputSurface.java 50 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE;
169 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0);
171 if (mEGLSurface == null) {
181 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface);
195 mEGLSurface = EGL14.EGL_NO_SURFACE;
206 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
CtsMediaOutputSurface.java 54 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE;
173 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0);
175 if (mEGLSurface == null) {
185 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface);
199 mEGLSurface = EGL14.EGL_NO_SURFACE;
210 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
  /cts/tests/tests/opengl/src/android/opengl/cts/
WrapperTest.java 40 private EGLSurface mEGLSurface;
174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
232 * Sets mEGLDisplay, mEGLContext, and mEGLSurface, and makes them current.
291 mEGLSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, configs[0], surfaceAttribs, 0);
293 if (mEGLSurface == null) {
298 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
318 mEGLSurface = null;
FramebufferTest.java 478 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE;
492 if (mEGLSurface != EGL14.EGL_NO_SURFACE) {
495 mEGLSurface = mEglCore.createWindowSurface(surface);
496 mWidth = mEglCore.querySurface(mEGLSurface, EGL14.EGL_WIDTH);
497 mHeight = mEglCore.querySurface(mEGLSurface, EGL14.EGL_HEIGHT);
504 if (mEGLSurface != EGL14.EGL_NO_SURFACE) {
507 mEGLSurface = mEglCore.createOffscreenSurface(width, height);
530 mEglCore.releaseSurface(mEGLSurface);
531 mEGLSurface = EGL14.EGL_NO_SURFACE;
539 mEglCore.makeCurrent(mEGLSurface);
    [all...]

Completed in 447 milliseconds