Optimize FBO drawing with regions.

This optimization is currently disabled until Launcher is
modified to take advantage of it. The optimization can be
enabled by turning on RENDER_LAYERS_AS_REGIONS in the
OpenGLRenderer.h file.

Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
This commit is contained in:
Romain Guy 2010-10-27 18:57:51 -07:00
parent d6a3cddba5
commit b801624dc4
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ private:
void flushSpan() {
bool merge = false;
if (tail-head == ssize_t(span.size())) {
Rect const* p = cur;
Rect const* p = span.editArray();
Rect const* q = head;
if (p->top == q->bottom) {
merge = true;