skia2/include
Brian Salomon fa2ebeaf33 Replace bool purgeImmediately with enum GrWrapCacheable.
Store budgeted status as a tri-state enum on GrGpuResource:
kBudgeted
kUnbudgetedCacheable
kUnbudgetedUncacheable

Uncacheable vs. Cacheable captures the current distinction between
wrapped resources created with purgeImmediately or !purgeImmediately.

Non-wrapped and unbudgeted resources are all kUnbudgetedCacheable to
match current behavior.

This change just introduces the new types. No behavior is changed.

Bug: chromium:922851

Change-Id: Ic2387bf321cf9b56b4c9ffd9dbef8ade60f9cb98
Reviewed-on: https://skia-review.googlesource.com/c/185003
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-01-24 21:26:24 +00:00
..
android add saveBehind to canvas 2018-12-19 14:44:09 +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 Fix uninitialized bug in SkWuffsCodec for incomplete images 2018-12-05 18:27:28 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Update Skia milestone to 74 2019-01-24 20:47:42 +00:00
docs SkPDF: clean up public header 2019-01-02 15:55:33 +00:00
effects Add SkBlurDrawLooper::Make(SkColor4f, SkColorSpace) 2019-01-12 08:46:04 +00:00
encode Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
gpu Replace bool purgeImmediately with enum GrWrapCacheable. 2019-01-24 21:26:24 +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 Replace bool purgeImmediately with enum GrWrapCacheable. 2019-01-24 21:26:24 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +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 new experimental API for rectangles with per-edge AA control 2019-01-23 16:45:01 +00:00