Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b08ea03c authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Reenable region composition pipeline for layers Bug #3341848" into honeycomb

parents 1aaae92f c038ea35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -627,7 +627,7 @@ void OpenGLRenderer::composeLayerRegion(Layer* layer, const Rect& rect) {
        setupDrawDirtyRegionsDisabled();
        setupDrawPureColorUniforms();
        setupDrawTexture(layer->texture);
        setupDrawModelViewIdentity();
        setupDrawModelViewTranslate(rect.left, rect.top, rect.right, rect.bottom);
        setupDrawMesh(&mesh[0].position[0], &mesh[0].texture[0]);

        for (size_t i = 0; i < count; i++) {
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
 */

// If turned on, layers drawn inside FBOs are optimized with regions
#define RENDER_LAYERS_AS_REGIONS 0
#define RENDER_LAYERS_AS_REGIONS 1

/**
 * Debug level for app developers.