From 7c525e62d405d57ae7a7742cf607b9770a83a0ab Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 12 Jun 2018 10:11:12 -0400 Subject: Plumb GrContext everywhere There is no good way to split the monster CL up. This breaks out the GrContext plumbing but doesn't use it. Change-Id: I90856d428d372bcec3f8821e6364667b367927d4 Reviewed-on: https://skia-review.googlesource.com/133382 Commit-Queue: Robert Phillips Reviewed-by: Greg Daniel --- tests/GrMeshTest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/GrMeshTest.cpp') diff --git a/tests/GrMeshTest.cpp b/tests/GrMeshTest.cpp index e612fb4b5f..4535f13975 100644 --- a/tests/GrMeshTest.cpp +++ b/tests/GrMeshTest.cpp @@ -15,6 +15,7 @@ #include "GrContextPriv.h" #include "GrGeometryProcessor.h" #include "GrGpuCommandBuffer.h" +#include "GrMemoryPool.h" #include "GrOpFlushState.h" #include "GrRenderTargetContext.h" #include "GrRenderTargetContextPriv.h" @@ -261,6 +262,8 @@ public: } private: + friend class GrOpMemoryPool; // for ctor + GrMeshTestOp(std::function testFn) : INHERITED(ClassID()) , fTestFn(testFn) { -- cgit v1.2.3