diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/IGraphicBufferConsumer.h | 4 | ||||
-rw-r--r-- | include/ui/TMatHelpers.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/gui/IGraphicBufferConsumer.h b/include/gui/IGraphicBufferConsumer.h index 3327b37..0e35f13 100644 --- a/include/gui/IGraphicBufferConsumer.h +++ b/include/gui/IGraphicBufferConsumer.h @@ -91,6 +91,10 @@ public: // Indicates whether this buffer has been seen by a consumer yet bool mAcquireCalled; + + // Indicates this buffer must be transformed by the inverse transform of the screen + // it is displayed onto. This is applied after mTransform. + bool mTransformToDisplayInverse; }; diff --git a/include/ui/TMatHelpers.h b/include/ui/TMatHelpers.h index cead10a..a6aadca 100644 --- a/include/ui/TMatHelpers.h +++ b/include/ui/TMatHelpers.h @@ -245,7 +245,7 @@ template <template<typename T> class BASE, typename T> class TMatDebug { public: String8 asString() const { - return matrix::asString(*this); + return matrix::asString( static_cast< const BASE<T>& >(*this) ); } }; |