aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-06-25 18:59:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-25 18:59:32 -0700
commit1852ec2b46a2a0efbb3550ff4d8b640f56a810e9 (patch)
tree47ed7ec7b88b354b185204e21e7ca18b228f6a6a /src/gpu/GrGpu.h
parentca10953d9ca38a5486c11cc50ac3fd27d4281e12 (diff)
Revert of Return GrGLContext from GrTestTarget (patchset #3 id:40001 of https://codereview.chromium.org/1207393002/)
Reason for revert: speculative revert to unblock DEPS roll (layout-tests) Original issue's description: > Return GrGLContext from GrTestTarget > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/b6d93ea428ca5d13641c35faca7d0380980a3a17 TBR=bsalomon@google.com,joshualitt@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1211123004
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r--src/gpu/GrGpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 8d449b7606..3bb84a4485 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -17,7 +17,7 @@
class GrBatchTracker;
class GrContext;
-class GrGLContext;
+struct GrGLInterface;
class GrIndexBuffer;
class GrNonInstancedVertices;
class GrPath;
@@ -366,7 +366,7 @@ public:
bool attachStencilAttachmentToRenderTarget(GrRenderTarget* target);
// This is only to be used in tests.
- virtual const GrGLContext* glContextForTesting() const { return NULL; }
+ virtual const GrGLInterface* glInterfaceForTesting() const { return NULL; }
protected:
// Functions used to map clip-respecting stencil tests into normal