Loading libs/hwui/renderthread/CanvasContext.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -60,8 +60,6 @@ CanvasContext::~CanvasContext() { void CanvasContext::destroy() { stopDrawing(); setSurface(NULL); mEglManager.usePBufferSurface(); freePrefetechedLayers(); destroyHardwareResources(); mAnimationContext->destroy(); Loading @@ -69,6 +67,7 @@ void CanvasContext::destroy() { delete mCanvas; mCanvas = 0; } setSurface(NULL); } void CanvasContext::setSurface(ANativeWindow* window) { Loading Loading
libs/hwui/renderthread/CanvasContext.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -60,8 +60,6 @@ CanvasContext::~CanvasContext() { void CanvasContext::destroy() { stopDrawing(); setSurface(NULL); mEglManager.usePBufferSurface(); freePrefetechedLayers(); destroyHardwareResources(); mAnimationContext->destroy(); Loading @@ -69,6 +67,7 @@ void CanvasContext::destroy() { delete mCanvas; mCanvas = 0; } setSurface(NULL); } void CanvasContext::setSurface(ANativeWindow* window) { Loading