Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLFramebuffer.cpp34 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
47 if (mEGLImage != EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
49 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
51 mEGLImage = EGL_NO_IMAGE_KHR; in setNativeWindowBuffer()
57 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
59 if (mEGLImage == EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
DGLImage.cpp57 if (mEGLImage != EGL_NO_IMAGE_KHR) { in setNativeWindowBuffer()
58 if (!eglDestroyImageKHR(mEGLDisplay, mEGLImage)) { in setNativeWindowBuffer()
61 mEGLImage = EGL_NO_IMAGE_KHR; in setNativeWindowBuffer()
66 mEGLImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setNativeWindowBuffer()
68 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.h40 EGLImageKHR getEGLImage() const { return mEGLImage; } in getEGLImage()
49 EGLImageKHR mEGLImage; variable