Searched refs:mEGLImage (Results 1 – 4 of 4) sorted by relevance
35 : 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()
58 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()
41 EGLImageKHR getEGLImage() const { return mEGLImage; } in getEGLImage()46 EGLImageKHR mEGLImage = EGL_NO_IMAGE_KHR; variable
43 EGLImageKHR getEGLImage() const { return mEGLImage; } in getEGLImage()57 EGLImageKHR mEGLImage; variable