diff options
author | 2015-02-28 00:29:57 +0000 | |
---|---|---|
committer | 2015-02-28 00:29:58 +0000 | |
commit | 3062e57072145ba5e71ba8b2cf565d3453db04a7 (patch) | |
tree | 67bde280b33b2fe8fac20a40d56075e1eb0027e1 /libs/hwui/OpenGLRenderer.h | |
parent | e88b8b99a5d1fee7cf1f1072ac989102653d95ec (diff) | |
parent | 6b109c74982033d4a220cd10a0eab8b024b351c9 (diff) |
Merge "Fix glop rendering within unclipped saveLayers"
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rwxr-xr-x | libs/hwui/OpenGLRenderer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index ae533130d186..63a63b83efb5 100755 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -426,7 +426,7 @@ public: virtual void onViewportInitialized() override; virtual void onSnapshotRestored(const Snapshot& removed, const Snapshot& restored) override; - virtual GLuint onGetTargetFbo() const override { return 0; } + virtual GLuint getTargetFbo() const override { return 0; } SkPath* allocPathForFrame() { std::unique_ptr<SkPath> path(new SkPath()); @@ -569,7 +569,7 @@ protected: RenderState& mRenderState; private: - void renderGlop(const Glop& glop); + void renderGlop(const Glop& glop, bool clearLayer = true); /** * Discards the content of the framebuffer if supported by the driver. |