From 7f9b2e4a45775e8cdd3f98260a66c0c6e1840550 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 12 Jan 2016 13:29:26 -0800 Subject: 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 --- src/gpu/gl/GrGLGpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/gl/GrGLGpu.h') 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); } -- cgit v1.2.3