Add Swizzle FP, and remove swizzle logic from GrConfigConversionEffect
authorBrian Osman <brianosman@google.com>
Wed, 22 Mar 2017 18:37:50 +0000 (14:37 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 22 Mar 2017 19:16:30 +0000 (19:16 +0000)
commitce425510a07632f14b7b779ec3864f719cb4326b
tree9d0c42b3aa282f4a7610c91108854fd94f6a33cb
parentdda14b9b7ac13dba9214f484fc6270b3ccf4b68b
Add Swizzle FP, and remove swizzle logic from GrConfigConversionEffect

Trying to decompose read/writePixels into some reusable chunks.

BUG=skia:5853

Change-Id: If08b004b008e8ca7d464d9dc47068e487bae850a
Reviewed-on: https://skia-review.googlesource.com/10015
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
include/gpu/GrContext.h
include/gpu/GrFragmentProcessor.h
include/private/GrSwizzle.h
src/gpu/GrContext.cpp
src/gpu/GrFragmentProcessor.cpp
src/gpu/effects/GrConfigConversionEffect.cpp
src/gpu/effects/GrConfigConversionEffect.h