Loading libs/hwui/DeferredDisplayList.h +2 −2 Original line number Diff line number Diff line Loading @@ -52,8 +52,6 @@ public: kOpBatch_Count, // Add other batch ids before this }; void clear(); bool isEmpty() { return mBatches.isEmpty(); } /** Loading @@ -80,6 +78,8 @@ private: */ void resetBatchingState(); void clear(); void storeStateOpBarrier(OpenGLRenderer& renderer, StateOp* op); void storeRestoreToCountBarrier(OpenGLRenderer& renderer, StateOp* op, int newSaveCount); Loading libs/hwui/Layer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -167,7 +167,6 @@ void Layer::defer() { displayList->defer(deferredState, 0); deferredUpdateScheduled = false; displayList = NULL; } void Layer::flush() { Loading @@ -182,7 +181,7 @@ void Layer::flush() { renderer = NULL; dirtyRect.setEmpty(); deferredList->clear(); displayList = NULL; } } Loading libs/hwui/OpenGLRenderer.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -571,8 +571,8 @@ void OpenGLRenderer::updateLayers() { startMark("Defer Layer Updates"); } // Note: it is very important to update the layers in reverse order for (int i = count - 1; i >= 0; i--) { // Note: it is very important to update the layers in order for (int i = 0; i < count; i++) { Layer* layer = mLayerUpdates.itemAt(i); updateLayer(layer, false); if (CC_UNLIKELY(mCaches.drawDeferDisabled)) { Loading @@ -594,8 +594,8 @@ void OpenGLRenderer::flushLayers() { startMark("Apply Layer Updates"); char layerName[12]; // Note: it is very important to update the layers in reverse order for (int i = count - 1; i >= 0; i--) { // Note: it is very important to update the layers in order for (int i = 0; i < count; i++) { sprintf(layerName, "Layer #%d", i); startMark(layerName); Loading Loading
libs/hwui/DeferredDisplayList.h +2 −2 Original line number Diff line number Diff line Loading @@ -52,8 +52,6 @@ public: kOpBatch_Count, // Add other batch ids before this }; void clear(); bool isEmpty() { return mBatches.isEmpty(); } /** Loading @@ -80,6 +78,8 @@ private: */ void resetBatchingState(); void clear(); void storeStateOpBarrier(OpenGLRenderer& renderer, StateOp* op); void storeRestoreToCountBarrier(OpenGLRenderer& renderer, StateOp* op, int newSaveCount); Loading
libs/hwui/Layer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -167,7 +167,6 @@ void Layer::defer() { displayList->defer(deferredState, 0); deferredUpdateScheduled = false; displayList = NULL; } void Layer::flush() { Loading @@ -182,7 +181,7 @@ void Layer::flush() { renderer = NULL; dirtyRect.setEmpty(); deferredList->clear(); displayList = NULL; } } Loading
libs/hwui/OpenGLRenderer.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -571,8 +571,8 @@ void OpenGLRenderer::updateLayers() { startMark("Defer Layer Updates"); } // Note: it is very important to update the layers in reverse order for (int i = count - 1; i >= 0; i--) { // Note: it is very important to update the layers in order for (int i = 0; i < count; i++) { Layer* layer = mLayerUpdates.itemAt(i); updateLayer(layer, false); if (CC_UNLIKELY(mCaches.drawDeferDisabled)) { Loading @@ -594,8 +594,8 @@ void OpenGLRenderer::flushLayers() { startMark("Apply Layer Updates"); char layerName[12]; // Note: it is very important to update the layers in reverse order for (int i = count - 1; i >= 0; i--) { // Note: it is very important to update the layers in order for (int i = 0; i < count; i++) { sprintf(layerName, "Layer #%d", i); startMark(layerName); Loading