aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-29 11:37:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-29 11:37:25 -0700
commit993a4216a6014b9de8f4d8120360c94550dc6761 (patch)
tree75e4863a6fa83d35c519a3103a9d2c94520dbd1e /src/gpu/GrGpu.h
parent4061b1262e931be19e1176cbd0e93b8c268eb131 (diff)
SkImage::NewFromYUVTexturesCopy
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r--src/gpu/GrGpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 5b5be1b69b..539a6a7a60 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -14,6 +14,7 @@
#include "SkPath.h"
class GrContext;
+struct GrGLInterface;
class GrNonInstancedVertices;
class GrPath;
class GrPathRange;
@@ -386,6 +387,9 @@ public:
// Given a rt, find or create a stencil buffer and attach it
bool attachStencilAttachmentToRenderTarget(GrRenderTarget* target);
+ // This is only to be used in tests.
+ virtual const GrGLInterface* glInterfaceForTesting() const { return NULL; }
+
protected:
// Functions used to map clip-respecting stencil tests into normal
// stencil funcs supported by GPUs.