Merge "Reenable region composition pipeline for layers Bug #3341848" into honeycomb
This commit is contained in:
@@ -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++) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user