Home
last modified time | relevance | path

Searched refs:mEGLDisplay (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java22 long mEGLDisplay; field in EGLDisplayImpl
25 mEGLDisplay = dpy; in EGLDisplayImpl()
35 return mEGLDisplay == that.mEGLDisplay; in equals()
46 result = 31 * result + (int) (mEGLDisplay ^ (mEGLDisplay >>> 32)); in hashCode()
DEGLImpl.java122 if (mDisplay.mEGLDisplay != value) in eglGetDisplay()
142 if (mDisplay.mEGLDisplay != value) in eglGetCurrentDisplay()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp275 mEGLDisplay(display), in SkiaGLRenderEngine()
284 eglDestroySurface(mEGLDisplay, mPlaceholderSurface); in ~SkiaGLRenderEngine()
287 eglDestroySurface(mEGLDisplay, mProtectedPlaceholderSurface); in ~SkiaGLRenderEngine()
290 eglDestroyContext(mEGLDisplay, mEGLContext); in ~SkiaGLRenderEngine()
293 eglDestroyContext(mEGLDisplay, mProtectedEGLContext); in ~SkiaGLRenderEngine()
295 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~SkiaGLRenderEngine()
296 eglTerminate(mEGLDisplay); in ~SkiaGLRenderEngine()
330 return eglMakeCurrent(mEGLDisplay, surface, surface, context) == EGL_TRUE; in useProtectedContextImpl()
382 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitGpuFence()
391 eglWaitSyncKHR(mEGLDisplay, sync, 0); in waitGpuFence()
[all …]
DSkiaGLRenderEngine.h85 EGLDisplay mEGLDisplay; variable
/frameworks/av/media/libstagefright/renderfright/gl/
DGLImage.cpp49 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage()
58 if (!eglDestroyImageKHR(mEGLDisplay, mEGLImage)) { in setNativeWindowBuffer()
66 mEGLImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setNativeWindowBuffer()
DGLFramebuffer.cpp34 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
49 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
DGLESRenderEngine.cpp337 mEGLDisplay(display), in GLESRenderEngine()
422 mPlaceholderImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in GLESRenderEngine()
437 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine()
439 eglDestroyImageKHR(mEGLDisplay, mPlaceholderImage); in ~GLESRenderEngine()
441 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine()
442 eglTerminate(mEGLDisplay); in ~GLESRenderEngine()
469 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
479 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
480 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
488 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush()
[all …]
DGLImage.h45 EGLDisplay mEGLDisplay;
DGLFramebuffer.h56 EGLDisplay mEGLDisplay; variable
DGLESRenderEngine.h80 EGLDisplay getEGLDisplay() const { return mEGLDisplay; } in getEGLDisplay()
181 EGLDisplay mEGLDisplay; variable