diff options
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r-- | libs/hwui/Layer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h index d8440ea..b428404 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -84,9 +84,9 @@ public: regionRect.translate(layer.left, layer.top); } - void updateDeferred(OpenGLRenderer* renderer, RenderNode* displayList, + void updateDeferred(RenderNode* displayList, int left, int top, int right, int bottom) { - this->renderer = renderer; + requireRenderer(); this->displayList = displayList; const Rect r(left, top, right, bottom); dirtyRect.unionWith(r); @@ -300,6 +300,8 @@ public: bool hasDrawnSinceUpdate; private: + void requireRenderer(); + Caches& caches; /** |