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