updateBackendTexture uses GrSurfaceContext to write pixmaps.
Bug: skia:11786
Change-Id: I1c70b7152a69b2bb976aec2ed1dc9d5f96cad7ab
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/348185
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
index 6d822cd..8aec8f3 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -820,7 +820,8 @@
GrColorType srcColorType,
GrColorType dstColorType,
const GrMipLevel levels[],
- int levelCount) {
+ int levelCount,
+ bool prepForSampling) {
SkDEBUGCODE(this->validate());
SkASSERT(fContext);
@@ -842,7 +843,8 @@
srcColorType,
dstColorType,
levels,
- levelCount));
+ levelCount,
+ prepForSampling));
if (!task) {
return false;
}