skia2/include
Brian Osman 5c8a6b3238 Add helpers to deal with byte vs. half-float vertex colors
GrVertexColor stores either kind of color, and GrVertexWriter does the
right thing. SkColor4fPrepForDst helps to automate the conversion and
pinning. This ensures that colors are already pinned if the device has
no support for half-floats. This way, ops never need to worry about caps,
they can just check if all colors they're batching are normalized.

Bug: skia:
Change-Id: Ie0c15d3b16c6fc93a7f11d284029d77d482a6283
Reviewed-on: https://skia-review.googlesource.com/c/171725
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-11-19 17:32:39 +00:00
..
android Add SafetyNetLogging and use in SkPngCodec 2018-11-14 20:06:03 +00:00
atlastext include: whitespace changes for clang-format 2018-09-19 14:54:57 +00:00
c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
codec Revert "remove old name for SkCodec::kNoFrame" 2018-11-12 16:26:04 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Reland "remove dead code around SK_SUPPORT_LEGACY_FONT_FLAGS" 2018-11-16 19:41:55 +00:00
docs Add initial support for generating tagged PDFs. 2018-09-27 19:35:40 +00:00
effects Remove unused exposedInAndroidJavaAPI 2018-11-12 21:27:02 +00:00
encode Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
gpu Add flag to force purge resources from cache as soon as possible. 2018-11-15 16:45:30 +00:00
pathops fixup winding contours 2018-08-17 14:01:51 +00:00
ports SkImageGeneratorCG.h to only expose factory method. 2018-09-19 21:20:35 +00:00
private Add helpers to deal with byte vs. half-float vertex colors 2018-11-19 17:32:39 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00