diff options
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index d4e1eb50d78f..594580eda86d 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -400,12 +400,21 @@ private: /** * Tells the GPU what part of the screen is about to be redrawn. + * This method will use the clip rect that we started drawing the + * frame with. * This method needs to be invoked every time getTargetFbo() is * bound again. */ void startTiling(const sp<Snapshot>& snapshot, bool opaque = false); /** + * Tells the GPU what part of the screen is about to be redrawn. + * This method needs to be invoked every time getTargetFbo() is + * bound again. + */ + void startTiling(const Rect& clip, int windowHeight, bool opaque = false); + + /** * Tells the GPU that we are done drawing the frame or that we * are switching to another render target. */ |