diff options
| author | 2023-08-17 18:07:03 +0000 | |
|---|---|---|
| committer | 2023-08-17 18:07:03 +0000 | |
| commit | 36ef5e5d69208f0867832dbaa030c890be718910 (patch) | |
| tree | b95363bcc84477274955b54d83e7c8aca23da910 /libs/hwui/RenderNode.h | |
| parent | 09a9799f6ad6151aa72ca7ae4780b8f7c8b8a364 (diff) | |
| parent | 07f3d9115236e641b89af8ad9ef5d00017795019 (diff) | |
Merge "Add TextureView list to dumpsys gfxinfo" into main
Diffstat (limited to 'libs/hwui/RenderNode.h')
| -rw-r--r-- | libs/hwui/RenderNode.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index d1e04adcb642..b5b828e50cdd 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -129,10 +129,6 @@ public: StretchMask& getStretchMask() { return mStretchMask; } - VirtualLightRefBase* getUserContext() const { return mUserContext.get(); } - - void setUserContext(VirtualLightRefBase* context) { mUserContext = context; } - bool isPropertyFieldDirty(DirtyPropertyMask field) const { return mDirtyPropertyFields & field; } @@ -215,6 +211,8 @@ public: void output(std::ostream& output, uint32_t level); + void visit(std::function<void(const RenderNode&)>) const; + void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } UsageHint usageHint() const { return mUsageHint; } @@ -222,6 +220,7 @@ public: int64_t uniqueId() const { return mUniqueId; } void setIsTextureView() { mIsTextureView = true; } + bool isTextureView() const { return mIsTextureView; } void markDrawStart(SkCanvas& canvas); void markDrawEnd(SkCanvas& canvas); @@ -248,7 +247,6 @@ private: const int64_t mUniqueId; String8 mName; - sp<VirtualLightRefBase> mUserContext; uint32_t mDirtyPropertyFields; RenderProperties mProperties; |