skia2/include
Greg Daniel 5ab94e1ae6 Add GrContext getter to SkSurface.
Currently this is possible by getting the canvas off of surface and then
getting the context off of the canvas. However, if in the future we wanted
a surface that didn't have a canvas (maybe something that looked like a
mutible image that only had a writePixels call), this would allow us to
still get the GrContext.

Bug: skia:10118
Change-Id: Ie8504bb708c1e4532edc8c7832ead86ae711e237
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289479
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-05-13 19:09:05 +00:00
..
android [canvaskit] Create an SkImage from a frame of an SkAnimatedImage 2020-01-09 13:25:43 +00:00
atlastext move SkDeque.h into private 2020-02-18 02:05:08 +00:00
c Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
codec Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core Add GrContext getter to SkSurface. 2020-05-13 19:09:05 +00:00
docs Allow passing multiple node IDs per PDF structure node. 2020-02-24 18:21:16 +00:00
effects Add layout(srgb_unpremul) to SkSL 2020-05-01 20:12:43 +00:00
encode Revert "add runtime registration for encoders" 2019-05-15 22:02:39 +00:00
gpu A flush and submit apis to public headers. 2020-05-13 18:43:54 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Remove CGFontRef parameter from SkMakeTypefaceFromCTFont 2020-01-31 18:35:10 +00:00
private Dump out path-mask generation and caching stats 2020-05-05 18:21:49 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Remove D3D12X. 2020-04-06 12:02:37 +00:00
utils Revert "Revert "custom typeface"" 2020-05-07 22:52:56 +00:00