Revert "TextureView Vulkan support and optimized OpenGL draw"
This reverts commit c8e22a6532.
Reason for revert: broke camera, b/113555199
Bug: 113555199
Change-Id: Iae9b462694d5de0cd99427afead63b567fb4d71d
This commit is contained in:
@@ -178,7 +178,7 @@ void RenderThread::requireGlContext() {
|
||||
return;
|
||||
}
|
||||
mEglManager->initialize();
|
||||
renderState().onContextCreated();
|
||||
renderState().onGLContextCreated();
|
||||
|
||||
#ifdef HWUI_GLES_WRAP_ENABLED
|
||||
debug::GlesDriver* driver = debug::GlesDriver::get();
|
||||
@@ -199,7 +199,7 @@ void RenderThread::requireGlContext() {
|
||||
void RenderThread::destroyGlContext() {
|
||||
if (mEglManager->hasEglContext()) {
|
||||
setGrContext(nullptr);
|
||||
renderState().onContextDestroyed();
|
||||
renderState().onGLContextDestroyed();
|
||||
mEglManager->destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user