diff options
author | 2023-08-25 12:59:08 -0700 | |
---|---|---|
committer | 2023-08-25 12:59:08 -0700 | |
commit | 7d3ffbae618e9e728644a96647ed709bf39ae759 (patch) | |
tree | ab369a30c6a0e17a69c8f80c6353be4de3692e10 /libs/hwui/RenderNode.h | |
parent | a8a87bbca9162af7add830139198c4ee899fa123 (diff) | |
parent | 8a809c6e46007521f75ac035ad4b1dcc1d00d9cf (diff) |
Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I3c9e9d15786fbead1b874636b46844f6c24bccc2
Change-Id: Id6cf6cc13baef4e67486c6271a1510146204affa
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 7092e1733570..d27c428ca8c3 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -16,7 +16,6 @@ #pragma once -#include <SkCamera.h> #include <SkMatrix.h> #include <utils/LinearAllocator.h> @@ -222,6 +221,8 @@ public: int64_t uniqueId() const { return mUniqueId; } + void setIsTextureView() { mIsTextureView = true; } + void markDrawStart(SkCanvas& canvas); void markDrawEnd(SkCanvas& canvas); @@ -291,6 +292,8 @@ private: bool mHasHolePunches; StretchMask mStretchMask; + bool mIsTextureView = false; + // METHODS & FIELDS ONLY USED BY THE SKIA RENDERER public: /** |