diff options
| author | 2013-01-29 17:50:58 -0800 | |
|---|---|---|
| committer | 2013-01-29 17:50:58 -0800 | |
| commit | 781fd2b7c86a20b0f00b5e009237d69b557e3cc4 (patch) | |
| tree | 44d50d4d4aaf9a8e52d54e99073f01194ddc6b8e /libs/hwui/OpenGLRenderer.h | |
| parent | 7a8a1799ef36df5d2df740adc2568fe4b30fa617 (diff) | |
| parent | f5f8502271b04d63c518e3aecfd5eaf557904e72 (diff) | |
am f5f85022: Merge "Fix graphical corruption on QCOM GPU Bug #7146141"
# Via Android (Google) Code Review (1) and Romain Guy (1)
* commit 'f5f8502271b04d63c518e3aecfd5eaf557904e72':
Fix graphical corruption on QCOM GPU Bug #7146141
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. */ |