Loading libs/hwui/renderthread/CanvasContext.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,8 @@ void CanvasContext::setStopped(bool stopped) { void CanvasContext::allocateBuffers() { if (mNativeSurface) { mNativeSurface->allocateBuffers(); ANativeWindow* anw = mNativeSurface->getNativeWindow(); ANativeWindow_allocateBuffers(anw); } } Loading libs/hwui/renderthread/ReliableSurface.h +0 −2 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ public: int reserveNext(); void allocateBuffers() { mSurface->allocateBuffers(); } int query(int what, int* value) const { return mSurface->query(what, value); } uint64_t getNextFrameNumber() const { return mSurface->getNextFrameNumber(); } Loading Loading
libs/hwui/renderthread/CanvasContext.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,8 @@ void CanvasContext::setStopped(bool stopped) { void CanvasContext::allocateBuffers() { if (mNativeSurface) { mNativeSurface->allocateBuffers(); ANativeWindow* anw = mNativeSurface->getNativeWindow(); ANativeWindow_allocateBuffers(anw); } } Loading
libs/hwui/renderthread/ReliableSurface.h +0 −2 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ public: int reserveNext(); void allocateBuffers() { mSurface->allocateBuffers(); } int query(int what, int* value) const { return mSurface->query(what, value); } uint64_t getNextFrameNumber() const { return mSurface->getNextFrameNumber(); } Loading