| commit | 5545b1cc36fd47bb33d87875b451f9f5c870d8bf | [log] [tgz] |
|---|---|---|
| author | John Reck <jreck@google.com> | Thu May 04 11:29:45 2023 -0400 |
| committer | Massimo Carli <mcarli@google.com> | Tue May 09 11:19:30 2023 +0000 |
| tree | 99d63a5f9f96631039a9c3fcdb834f5f37f59e34 | |
| parent | 007f91eb6ce1b572d6aa304cb950229266acf9ce [diff] [blame] |
Invalidate buffers on transform change Fixes: 271419600 Test: repro steps on bug Change-Id: Ib4eef40a0f59512c669b069532e55d36293f9e1c (cherry picked from commit 61c64472417a272ec2aa2fd38e0d1874dbf16319) Merged-In: Ib4eef40a0f59512c669b069532e55d36293f9e1c
diff --git a/libs/hwui/renderthread/VulkanSurface.h b/libs/hwui/renderthread/VulkanSurface.h index b8ccf78..ff328b2 100644 --- a/libs/hwui/renderthread/VulkanSurface.h +++ b/libs/hwui/renderthread/VulkanSurface.h
@@ -113,6 +113,7 @@ WindowInfo* outWindowInfo); static bool UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo); void releaseBuffers(); + void invalidateBuffers(); // TODO: This number comes from ui/BufferQueueDefs. We're not pulling the // header in so that we don't need to depend on libui, but we should share