summaryrefslogtreecommitdiff
path: root/libs/hwui/renderstate/PixelBufferState.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/renderstate/PixelBufferState.h')
-rw-r--r--libs/hwui/renderstate/PixelBufferState.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/renderstate/PixelBufferState.h b/libs/hwui/renderstate/PixelBufferState.h
index 8dab21db176c..f7ae6c575f6a 100644
--- a/libs/hwui/renderstate/PixelBufferState.h
+++ b/libs/hwui/renderstate/PixelBufferState.h
@@ -22,10 +22,11 @@ namespace android {
namespace uirenderer {
class PixelBufferState {
- friend class Caches; // TODO: move to RenderState
+ friend class Caches; // TODO: move to RenderState
public:
bool bind(GLuint buffer);
bool unbind();
+
private:
PixelBufferState();
GLuint mCurrentPixelBuffer;
@@ -34,4 +35,4 @@ private:
} /* namespace uirenderer */
} /* namespace android */
-#endif // RENDERSTATE_PIXELBUFFERSTATE_H
+#endif // RENDERSTATE_PIXELBUFFERSTATE_H