summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-01-03 13:08:57 -0800
committerRomain Guy <romainguy@google.com>2013-01-03 13:08:57 -0800
commitdcfc836b457a87881da409e1acf251515f121446 (patch)
tree686ad8eef577ad0233f4b8bab40dad76a779bb8b /libs/hwui/OpenGLRenderer.h
parente0c93e085ff79b0adedfb7c316c395b9e06581f9 (diff)
downloadframeworks_base-dcfc836b457a87881da409e1acf251515f121446.zip
frameworks_base-dcfc836b457a87881da409e1acf251515f121446.tar.gz
frameworks_base-dcfc836b457a87881da409e1acf251515f121446.tar.bz2
Remove C++11 related warning
Change-Id: I250ff7bd0ea49908e11b14c995d77312cd09a8b4
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index c5e4c8e..f165581 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -366,6 +366,13 @@ protected:
private:
/**
+ * Discards the content of the framebuffer if supported by the driver.
+ * This method should be called at the beginning of a frame to optimize
+ * rendering on some tiler architectures.
+ */
+ void discardFramebuffer(float left, float top, float right, float bottom);
+
+ /**
* Ensures the state of the renderer is the same as the state of
* the GL context.
*/