aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSurfaceContext.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-01-25 17:31:35 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-26 13:15:14 +0000
commit72152831a01f7b5d334eb0e6f4cd6d2422e3f6e6 (patch)
treefe6d4949b1625e3f39791feb2931bc654c7e1693 /src/gpu/GrSurfaceContext.cpp
parent98829b979119297bd9dbbe9313ba98ea0b3289af (diff)
Move GrDrawingManager pointer to GrSurfaceContext
Change-Id: Ic285b24b384bbf284cc680fe770433dd4d643833 Reviewed-on: https://skia-review.googlesource.com/7561 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceContext.cpp')
-rw-r--r--src/gpu/GrSurfaceContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrSurfaceContext.cpp b/src/gpu/GrSurfaceContext.cpp
index f8c1cbcc27..7e4d4fb4b5 100644
--- a/src/gpu/GrSurfaceContext.cpp
+++ b/src/gpu/GrSurfaceContext.cpp
@@ -15,6 +15,7 @@
// stack. When this occurs with a closed GrOpList, a new one will be allocated
// when the renderTargetContext attempts to use it (via getOpList).
GrSurfaceContext::GrSurfaceContext(GrContext* context,
+ GrDrawingManager* drawingMgr,
sk_sp<SkColorSpace> colorSpace,
GrAuditTrail* auditTrail,
GrSingleOwner* singleOwner)
@@ -24,5 +25,5 @@ GrSurfaceContext::GrSurfaceContext(GrContext* context,
#ifdef SK_DEBUG
, fSingleOwner(singleOwner)
#endif
-{
+ , fDrawingManager(drawingMgr) {
}