Loading libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -183,8 +183,8 @@ void VkInteropFunctorDrawable::onDraw(SkCanvas* canvas) { // drawing into the offscreen surface, so we need to reset it here. canvas->resetMatrix(); auto functorImage = SkImage::MakeFromAHardwareBuffer(mFrameBuffer.get(), kPremul_SkAlphaType, canvas->imageInfo().refColorSpace(), auto functorImage = SkImages::DeferredFromAHardwareBuffer( mFrameBuffer.get(), kPremul_SkAlphaType, canvas->imageInfo().refColorSpace(), kBottomLeft_GrSurfaceOrigin); canvas->drawImage(functorImage, 0, 0, SkSamplingOptions(), &paint); canvas->restore(); Loading Loading
libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -183,8 +183,8 @@ void VkInteropFunctorDrawable::onDraw(SkCanvas* canvas) { // drawing into the offscreen surface, so we need to reset it here. canvas->resetMatrix(); auto functorImage = SkImage::MakeFromAHardwareBuffer(mFrameBuffer.get(), kPremul_SkAlphaType, canvas->imageInfo().refColorSpace(), auto functorImage = SkImages::DeferredFromAHardwareBuffer( mFrameBuffer.get(), kPremul_SkAlphaType, canvas->imageInfo().refColorSpace(), kBottomLeft_GrSurfaceOrigin); canvas->drawImage(functorImage, 0, 0, SkSamplingOptions(), &paint); canvas->restore(); Loading