Home
last modified time | relevance | path

Searched refs:mEGLImage (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/renderengine/gl/
DGLFramebuffer.cpp35 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
48 if (mEGLImage != EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
50 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
53 mEGLImage = EGL_NO_IMAGE_KHR; in setNativeWindowBuffer()
59 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
61 if (mEGLImage == EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
DGLImage.cpp58 if (mEGLImage != EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
59 if (!eglDestroyImageKHR(mEGLDisplay, mEGLImage)) { in setNativeWindowBuffer()
63 mEGLImage = EGL_NO_IMAGE_KHR; in setNativeWindowBuffer()
68 mEGLImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setNativeWindowBuffer()
70 if (mEGLImage == EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
DGLImage.h41 EGLImageKHR getEGLImage() const { return mEGLImage; } in getEGLImage()
46 EGLImageKHR mEGLImage = EGL_NO_IMAGE_KHR; variable
DGLFramebuffer.h43 EGLImageKHR getEGLImage() const { return mEGLImage; } in getEGLImage()
57 EGLImageKHR mEGLImage; variable