Loading libs/hwui/OpenGLRenderer.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) { size_t count = mFunctors.size(); if (count > 0) { interrupt(); SortedVector<Functor*> functors(mFunctors); mFunctors.clear(); Loading @@ -365,10 +366,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) { mFunctors.add(f); } } // protect against functors binding to other buffers mCaches.unbindMeshBuffer(); mCaches.unbindIndicesBuffer(); mCaches.activeTexture(0); resume(); } return result; Loading Loading
libs/hwui/OpenGLRenderer.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) { size_t count = mFunctors.size(); if (count > 0) { interrupt(); SortedVector<Functor*> functors(mFunctors); mFunctors.clear(); Loading @@ -365,10 +366,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) { mFunctors.add(f); } } // protect against functors binding to other buffers mCaches.unbindMeshBuffer(); mCaches.unbindIndicesBuffer(); mCaches.activeTexture(0); resume(); } return result; Loading