diff options
| author | 2011-08-25 14:01:48 -0700 | |
|---|---|---|
| committer | 2011-08-25 14:01:48 -0700 | |
| commit | 04c9d8c2ffd028c35c750bac0a4a7b79e48059b5 (patch) | |
| tree | 5f81921f30f373d4377f470e06193b242b3c8ae4 /libs/hwui/OpenGLRenderer.cpp | |
| parent | 189887e0ae171c1b7601991442104a30e56c50ab (diff) | |
Optimize display lists
Remove redundant or useless operations
Change-Id: If989b4eaa9143eef4254c38b39959aeed1f2b9ab
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 04f3c58244c7..a20a88e34388 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -1278,7 +1278,7 @@ bool OpenGLRenderer::drawDisplayList(DisplayList* displayList, uint32_t width, u // All the usual checks and setup operations (quickReject, setupDraw, etc.) // will be performed by the display list itself - if (displayList) { + if (displayList && displayList->isRenderable()) { return displayList->replay(*this, dirty, level); } |