aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureContext.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-01 11:06:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-01 15:33:12 +0000
commita16f6cb40a7d6d186c86c2689c2be827b2093ae4 (patch)
tree555c42c676426d4e11a35de4c88468cc17f45f78 /src/gpu/GrTextureContext.cpp
parent9f6f41b01bdc8144808e78128676087bfb310a27 (diff)
Update copyOp to split-opList world
Change-Id: Ib18fc0a589185b11b21241e50acb7b506c44bfac Reviewed-on: https://skia-review.googlesource.com/17325 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrTextureContext.cpp')
-rw-r--r--src/gpu/GrTextureContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTextureContext.cpp b/src/gpu/GrTextureContext.cpp
index 0021c23da1..b4e76cbca1 100644
--- a/src/gpu/GrTextureContext.cpp
+++ b/src/gpu/GrTextureContext.cpp
@@ -77,7 +77,7 @@ bool GrTextureContext::onCopy(GrSurfaceProxy* srcProxy,
SkDEBUGCODE(this->validate();)
GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrTextureContext::onCopy");
- return this->getOpList()->copySurface(fContext->resourceProvider(),
+ return this->getOpList()->copySurface(*fContext->caps(),
fTextureProxy.get(), srcProxy, srcRect, dstPoint);
}