skia2/include
Brian Osman 986563bcff Add Gray8 pixel config
This is still just linear (non-sRGB), but adding sRGB will
be the next step. I've verified that this is really making
R8 textures when uploading Gray8 bitmaps. Tests pass, and
the all_bitmap_configs GM still renders correctly (unlike
when we just mapped Gray8 to Alpha8).

This adds another pixel config, which could grow our cache
footprint, but the benefits of not using 4bpp for 1bpp data
should outweigh that?

Re-land of https://skia-review.googlesource.com/c/6817/,
with fixes for Vulkan.

BUG=skia:6110

Change-Id: Ia763c276808be28027ed0005ee4b88637306583f
Reviewed-on: https://skia-review.googlesource.com/6839
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-01-10 20:37:09 +00:00
..
android SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
animator Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
c Make C API compatible with -Wstrict-prototypes 2017-01-03 17:38:35 +00:00
codec SK_API-export SkCodec 2016-12-14 18:55:47 +00:00
config gyp/sfntly: set SK_SFNTLY_SUBSETTER uniformly 2016-08-24 12:28:38 -07:00
core Remove last of SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS 2017-01-10 19:36:17 +00:00
effects Separate SkArithmeticImageFilter from SkXfermodeImageFilter. 2017-01-09 18:31:29 +00:00
gpu Add Gray8 pixel config 2017-01-10 20:37:09 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Remove SkUseTestFontConfigFile. 2017-01-10 16:20:05 +00:00
private Add Gray8 pixel config 2017-01-10 20:37:09 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils support external raster handles 2017-01-10 17:31:58 +00:00
views GN: iOS basics 2016-11-03 19:31:50 +00:00
xml remove SkDebugWStream and other cleanups 2017-01-07 21:49:07 +00:00