diff options
author | 2023-08-16 17:51:07 +0000 | |
---|---|---|
committer | 2023-08-16 17:52:58 +0000 | |
commit | c2054aea1e55fb30241272bff727d71e2bc0aea7 (patch) | |
tree | 2cc7f7608a05979f58a98130452803ef657d7f9e /libs/hwui/AutoBackendTextureRelease.cpp | |
parent | 413089960aa898eeb17a68bf1d4b8c9ca4df5c65 (diff) |
Replace GrBackendSurfaceMutableState with skgpu::MutableTextureState
This was essentially an old alias from a rename. Making this change so the alias (and header) can be deleted.
Bug: b/296240795
Change-Id: I6edfac5571263b3fc0a4f1e0d95ac6258e2fa27b
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
-rw-r--r-- | libs/hwui/AutoBackendTextureRelease.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/AutoBackendTextureRelease.cpp b/libs/hwui/AutoBackendTextureRelease.cpp index fcb1bfeae6b5..4d020c567972 100644 --- a/libs/hwui/AutoBackendTextureRelease.cpp +++ b/libs/hwui/AutoBackendTextureRelease.cpp @@ -18,9 +18,9 @@ #include <SkImage.h> #include <include/gpu/ganesh/SkImageGanesh.h> -#include <include/gpu/GrBackendSurfaceMutableState.h> #include <include/gpu/GrDirectContext.h> #include <include/gpu/GrBackendSurface.h> +#include <include/gpu/MutableTextureState.h> #include "renderthread/RenderThread.h" #include "utils/Color.h" #include "utils/PaintUtils.h" @@ -142,8 +142,8 @@ void AutoBackendTextureRelease::releaseQueueOwnership(GrDirectContext* context) LOG_ALWAYS_FATAL_IF(Properties::getRenderPipelineType() != RenderPipelineType::SkiaVulkan); if (mBackendTexture.isValid()) { // Passing in VK_IMAGE_LAYOUT_UNDEFINED means we keep the old layout. - GrBackendSurfaceMutableState newState(VK_IMAGE_LAYOUT_UNDEFINED, - VK_QUEUE_FAMILY_FOREIGN_EXT); + skgpu::MutableTextureState newState(VK_IMAGE_LAYOUT_UNDEFINED, + VK_QUEUE_FAMILY_FOREIGN_EXT); // The unref for this ref happens in the releaseProc passed into setBackendTextureState. The // releaseProc callback will be made when the work to set the new state has finished on the |