diff options
author | 2021-01-12 13:56:07 -0500 | |
---|---|---|
committer | 2021-01-12 13:57:23 -0500 | |
commit | dc1a696f7ced5709fcaf962385525ee895609c24 (patch) | |
tree | 3f6616f04f23f0c67a1395074fc096a3d8b9dac4 /libs/hwui/RenderNode.h | |
parent | 9134bffa4ba186d5382619006384883f6e8f0703 (diff) |
Avoid DisplayList* hitting the JNI layer
Keep the actual display list type internal to HWUI/native
avoids requiring that the recording type fits in a jlong
aka, opens up a usage of value types here instead
Test: boots
Change-Id: Idf5a4acc7dbcb61e6742a6bf6369bd351f595be4
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 6d5e62e955bb..1eaf0d425818 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -101,6 +101,7 @@ public: enum ReplayFlag { kReplayFlag_ClipChildren = 0x1 }; void setStagingDisplayList(DisplayList* newData); + void discardStagingDisplayList(); void output(); int getUsageSize(); |