aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-01-12 13:29:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-12 13:29:26 -0800
commit7f9b2e4a45775e8cdd3f98260a66c0c6e1840550 (patch)
tree2634c3fe68d98ece6e9a30a4db7a251303c587ca /src/gpu/gl/GrGLGpu.h
parent87a721b2465c9ccfa191ce9f5012f92be7731fbc (diff)
Swizzle shader output and blend when using GL_RED to implement kAlpha_8_GrPixelConfig
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r--src/gpu/gl/GrGLGpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
index 532a864f07..cdd8a38c66 100644
--- a/src/gpu/gl/GrGLGpu.h
+++ b/src/gpu/gl/GrGLGpu.h
@@ -26,6 +26,7 @@
class GrPipeline;
class GrNonInstancedVertices;
+class GrSwizzle;
#ifdef SK_DEVELOPER
#define PROGRAM_CACHE_STATS
@@ -199,8 +200,7 @@ private:
const GrNonInstancedVertices& vertices,
size_t* indexOffsetInBytes);
- // Subclasses should call this to flush the blend state.
- void flushBlend(const GrXferProcessor::BlendInfo& blendInfo);
+ void flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle&);
bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); }