summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rwxr-xr-xlibs/hwui/OpenGLRenderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index ae53313..63a63b8 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.