summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.h
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-05-27 16:38:57 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-05-27 16:38:57 +0000
commit433ba6df077c26ad1aa8455f1f87e7cf1ecda706 (patch)
treec6ec82189c27b7db1cb9cdd6b05cd72375c19799 /libs/hwui/AutoBackendTextureRelease.h
parent6addf5854a72a3a1c581fa2f23c3a7cf70ac3231 (diff)
parent27e1fa257b9c538c53bcfbf30f6fc1833342b055 (diff)
Merge "In Vk DeferredLayerUpdater make sure we releause buffers to foreign queue." into sc-dev
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.h')
-rw-r--r--libs/hwui/AutoBackendTextureRelease.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/AutoBackendTextureRelease.h b/libs/hwui/AutoBackendTextureRelease.h
index 06f51fcd1105..c9bb767a3185 100644
--- a/libs/hwui/AutoBackendTextureRelease.h
+++ b/libs/hwui/AutoBackendTextureRelease.h
@@ -49,6 +49,8 @@ public:
void newBufferContent(GrDirectContext* context);
+ void releaseQueueOwnership(GrDirectContext* context);
+
private:
// The only way to invoke dtor is with unref, when mUsageCount is 0.
~AutoBackendTextureRelease() {}