diff options
author | bsalomon <bsalomon@google.com> | 2016-01-12 13:29:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-12 13:29:26 -0800 |
commit | 7f9b2e4a45775e8cdd3f98260a66c0c6e1840550 (patch) | |
tree | 2634c3fe68d98ece6e9a30a4db7a251303c587ca /src/gpu/gl/GrGLGpu.h | |
parent | 87a721b2465c9ccfa191ce9f5012f92be7731fbc (diff) |
Swizzle shader output and blend when using GL_RED to implement kAlpha_8_GrPixelConfig
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1584473002
Review URL: https://codereview.chromium.org/1584473002
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 4 |
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); } |