diff options
author | 2015-06-25 18:59:32 -0700 | |
---|---|---|
committer | 2015-06-25 18:59:32 -0700 | |
commit | 1852ec2b46a2a0efbb3550ff4d8b640f56a810e9 (patch) | |
tree | 47ed7ec7b88b354b185204e21e7ca18b228f6a6a /src/gpu/GrGpu.h | |
parent | ca10953d9ca38a5486c11cc50ac3fd27d4281e12 (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.h | 4 |
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 |