skia2/include
Brian Osman f2956459f7 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?

BUG=skia:6110

Change-Id: I4fc4c2479fc25f1d278e174a9bb5b542a0cb184c
Reviewed-on: https://skia-review.googlesource.com/6817
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-01-10 16:20:03 +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 Allow constrained and unconstrained picture-images 2017-01-09 21:40:27 +00:00
effects Separate SkArithmeticImageFilter from SkXfermodeImageFilter. 2017-01-09 18:31:29 +00:00
gpu Add Gray8 pixel config 2017-01-10 16:20:03 +00:00
images Revert "SkImageEncoder::* going away" 2016-12-09 17:07:18 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Stage SkFontMgr factories to return smart pointers. 2017-01-04 14:51:09 +00:00
private Add Gray8 pixel config 2017-01-10 16:20:03 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils helper to convert CGImage -> SkImage 2016-12-21 17:38:18 +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