summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceTextureClient.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-07-19 17:10:10 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-19 17:10:10 -0700
commit9ec1f1d259f9dfc4a9359739e4711ba1a99375b2 (patch)
tree98e541782c4f0f6d9de2c92e59ebcb7d52283e83 /include/gui/SurfaceTextureClient.h
parent6461c97331e9e672e2abd6a46eaaa7b948974484 (diff)
parentf07b8a3f691be39083fb5163f9456bcfa566f93f (diff)
Merge "implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation""
Diffstat (limited to 'include/gui/SurfaceTextureClient.h')
-rw-r--r--include/gui/SurfaceTextureClient.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h
index 76e7119fecf4..829d8abf7057 100644
--- a/include/gui/SurfaceTextureClient.h
+++ b/include/gui/SurfaceTextureClient.h
@@ -151,6 +151,18 @@ private:
// dequeued format or to mReqFormat if no buffer was dequeued.
uint32_t mQueryFormat;
+ // mDefaultWidth is default width of the window, regardless of the
+ // set_dimension call
+ uint32_t mDefaultWidth;
+
+ // mDefaultHeight is default width of the window, regardless of the
+ // set_dimension call
+ uint32_t mDefaultHeight;
+
+ // mTransformHint is the transform probably applied to buffers of this
+ // window. this is only a hint, actual transform may differ.
+ uint32_t mTransformHint;
+
// mMutex is the mutex used to prevent concurrent access to the member
// variables of SurfaceTexture objects. It must be locked whenever the
// member variables are accessed.