skia2/src
Brian Osman 0387d35f59 Add SkColorSpace_Base::makeColorSpin
This is a utility that creates a version of an existing XYZ color space
that performs our color spin operation. Assigning this to a source remaps
RGB to GBR. Assigning it to a destination does the opposite (RGB to BRG).

Bug: skia:
Change-Id: I3528698220bd32aa01dcd3db225e60f151a4b5bd
Reviewed-on: https://skia-review.googlesource.com/71280
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-11-14 16:33:34 +00:00
..
android Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
c Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
codec Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
core Add SkColorSpace_Base::makeColorSpin 2017-11-14 16:33:34 +00:00
effects Revert "Alloc glyph image correctly for SkMask::k3D_Format." 2017-11-14 16:16:45 +00:00
fonts move Sk{Test,Random}ScalerContext to tools 2017-11-10 17:02:20 +00:00
gpu Revert "Alloc glyph image correctly for SkMask::k3D_Format." 2017-11-14 16:16:45 +00:00
image Add MakeCrossContextFromPixmap 2017-11-07 15:59:38 +00:00
images Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
jumper AVX2 specialization for lowp gradient lookup 2017-11-10 19:38:17 +00:00
lazy SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
opts Support for direct gaussian blur evaluation 2017-11-02 19:34:11 +00:00
pathops move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
pdf SkPDF: TextSize > 0; 2017-10-18 18:41:58 +00:00
pipe Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports streamline GDI bots 2017-11-13 18:47:11 +00:00
sfnt Windows GDI Typeface: set NotEmbeddable_FontFlag same as other backends. 2017-11-10 14:21:17 +00:00
shaders Simplify analytical GPU gradient impls 2017-11-09 15:15:54 +00:00
sksl SPIR-V switch statement support 2017-11-13 21:32:03 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils sksl enum support 2017-11-13 14:36:40 +00:00
views Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
xml Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
xps Revert "move SkMatrix anonymous affine enum to private" 2017-10-13 13:26:08 +00:00