skia2/include
Brian Salomon 01ceae9352 Control access to adding ref to a GrGpuResource when it's ref count is zero.
We want GrResourceCache to be able to track which resources are held by
refs (as opposed to pending IOs) so that it can track the affect of
flushing on resource purgeability. Therefore, all cases that can add the
first ref to a GrGpuResource must funnel through GrResourceCache. This
lays the groundwork by restricting initial refs.

No-Presubmit: true
No-Tree-Checks: true
No-Try: true

Bug: skia:8927
Change-Id: I1213c3db258d2412df6666e3222419211ceaa192
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205482
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-04-03 13:16:23 +00:00
..
android Add API to get canvas wrapped by SkPaintFilterCanvas 2019-03-28 21:16:10 +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 unused setAlphaAndRequiredFrame condition 2019-03-26 13:47:22 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Move SkTileModes to top level 2019-04-03 00:18:35 +00:00
docs SkPDF: runtime switch between subsetters 2019-03-23 16:31:10 +00:00
effects Start to unify signatures: return bool 2019-03-30 19:02:24 +00:00
encode Remove a few semicolons. 2019-02-11 14:40:37 +00:00
gpu Control access to adding ref to a GrGpuResource when it's ref count is zero. 2019-04-03 13:16:23 +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 Control access to adding ref to a GrGpuResource when it's ref count is zero. 2019-04-03 13:16:23 +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 Add API to get canvas wrapped by SkPaintFilterCanvas 2019-03-28 21:16:10 +00:00