diff options
author | Romain Guy <romainguy@google.com> | 2011-03-02 15:48:33 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-02 15:48:33 -0800 |
commit | 058f47e8455464d7c9d59297a5d4db026c61eafd (patch) | |
tree | 9dc565d36fe69cefeb1799b18dbd0b0a2cd46f31 /libs | |
parent | 0a25836486896069e3c6af8f46acf328c56377b3 (diff) | |
parent | 84962f2fe6ce779c583cc54b11a9de2b6a568117 (diff) | |
download | frameworks_base-058f47e8455464d7c9d59297a5d4db026c61eafd.zip frameworks_base-058f47e8455464d7c9d59297a5d4db026c61eafd.tar.gz frameworks_base-058f47e8455464d7c9d59297a5d4db026c61eafd.tar.bz2 |
Merge "We need to go deeper. Bug #3431907"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 361815a..dfca7eb 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -144,6 +144,8 @@ void OpenGLRenderer::prepareDirty(float left, float top, float right, float bott mSnapshot = new Snapshot(mFirstSnapshot, SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); + mSnapshot->fbo = getTargetFbo(); + mSaveCount = 1; glViewport(0, 0, mWidth, mHeight); |