Loading libs/hwui/AutoBackendTextureRelease.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -142,7 +142,7 @@ 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, 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 Loading Loading
libs/hwui/AutoBackendTextureRelease.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -142,7 +142,7 @@ 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, 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 Loading