summaryrefslogtreecommitdiff
path: root/libs/hwui/Layer.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2013-01-29 17:26:25 -0800
committer Romain Guy <romainguy@google.com> 2013-01-29 17:46:17 -0800
commitc3fedafc5f50100219449125a000e3138f6fb987 (patch)
tree830bacf80a5b9e4194de2d221199dc86efe75555 /libs/hwui/Layer.h
parent8c47e856b067057b5fcbb6eccfc79d1da4cff8f1 (diff)
Fix graphical corruption on QCOM GPU
Bug #7146141 The GL_QCOM_tiled_rendering extension requires careful use of start/endTiling when attaching a renderbuffer dynamically. Change-Id: I20036683ed3909ffaf40cc3d57a25257e35b6fa2
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r--libs/hwui/Layer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h
index a551b3f21000..e8a85fdf3dde 100644
--- a/libs/hwui/Layer.h
+++ b/libs/hwui/Layer.h
@@ -277,6 +277,10 @@ struct Layer {
* Texture coordinates of the layer.
*/
Rect texCoords;
+ /**
+ * Clipping rectangle.
+ */
+ Rect clipRect;
/**
* Dirty region indicating what parts of the layer