skia2/include
Brian Salomon 5ad6fd3160 Put SkImageInfo on SkImage to avoid cost of reconstructing for queries.
Previously calling SkImage::alphaType(), for example, woult call
the virtual SkImage_Base::onImageInfo() which would construct
and return a temporary SkImageInfo. This often meant ref-ing a
SkColorSpace.


Change-Id: I54975a6b20dea5bc84739068df0c81c022a12067
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202711
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-03-21 20:07:34 +00:00
..
android Allow setting an SkColorSpace on SkAnimatedImage 2019-02-22 18:58:05 +00:00
atlastext pass a font to GlyphRunBuilder 2019-01-02 21:02:33 +00:00
c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
codec Remove a few semicolons. 2019-02-11 14:40:37 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Put SkImageInfo on SkImage to avoid cost of reconstructing for queries. 2019-03-21 20:07:34 +00:00
docs SkPDF: clean up public header 2019-01-02 15:55:33 +00:00
effects Remove SkColorSpaceXformCanvas, and supporting code: 2019-03-21 17:12:33 +00:00
encode Remove a few semicolons. 2019-02-11 14:40:37 +00:00
gpu Add macro to decide GrGLStandard 2019-03-19 18:19:12 +00:00
pathops fixup winding contours 2018-08-17 14:01:51 +00:00
ports Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
private Reland "Disable coverage counting by default" 2019-03-18 16:22:47 +00:00
svg [SVGCanvas] Clean up public factories 2019-02-14 19:17:35 +00:00
third_party/vulkan Move vulkan headers from third_party to include/third_party. 2018-12-12 14:16:43 +00:00
utils Reland "Reland "Update SkCanvas' experimental SkiaRenderer API"" 2019-03-19 14:18:52 +00:00