diff options
author | Andy McFadden <fadden@android.com> | 2012-09-14 16:10:11 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2012-09-16 11:39:09 -0700 |
commit | 6905205c8d130b6ea3a813c1b9283492ed183367 (patch) | |
tree | 429c0855a3e4f9eb2610c730501f6c7ff5e0ba71 /include/gui | |
parent | 6e220a6ce6971555b883f4852c6e5d4c7a617815 (diff) | |
download | frameworks_native-6905205c8d130b6ea3a813c1b9283492ed183367.zip frameworks_native-6905205c8d130b6ea3a813c1b9283492ed183367.tar.gz frameworks_native-6905205c8d130b6ea3a813c1b9283492ed183367.tar.bz2 |
Fix transform hints
The hints were being set a little too late, so the pre-rotation stuff
wasn't quite working.
Bug 7054997
Change-Id: Id8d5c626db7a76f768ba762a145b315878ee08e6
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/BufferQueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h index 3481c6f..9e265ba 100644 --- a/include/gui/BufferQueue.h +++ b/include/gui/BufferQueue.h @@ -402,9 +402,11 @@ private: Rect mCrop; // mTransform is the current transform flags for this buffer slot. + // (example: NATIVE_WINDOW_TRANSFORM_ROT_90) uint32_t mTransform; // mScalingMode is the current scaling mode for this buffer slot. + // (example: NATIVE_WINDOW_SCALING_MODE_FREEZE) uint32_t mScalingMode; // mTimestamp is the current timestamp for this buffer slot. This gets |