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:
parent
d6a3cddba5
commit
b801624dc4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue