skia2/include
Brian Salomon ecbb0fb2d5 Simplify view getters on GrTextureProducer.
The only thing that affects the view returned is whether it ought to
be MIP mapped or not. So don't take a whole GrSamplerState.

The view() function won't ever change the colortype so just query
GrTextureProducer rather than having view() return a tuple.

The rest is transitively reaching through callers and callees of
GrTextureProducer::view() to only pass filter or GrMipMapped instead of
GrSamplerState. Also, some params that indicate whether MIPs are
requested are changed from bool to GrMipMapped. And some minor style
stuff (mainly de-yoda-ifying GrMipMapped checks, using
GrSurfaceProxyView operator bool()).

Change-Id: Ia184aa793cf51d42642ea3bb0521ce06da2efb10
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274205
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-01 00:32:04 +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 Simplify view getters on GrTextureProducer. 2020-03-01 00:32:04 +00:00
docs Allow passing multiple node IDs per PDF structure node. 2020-02-24 18:21:16 +00:00
effects In SkRuntimeEffect, use a single shared Compiler instance 2020-02-21 20:25:04 +00:00
encode Revert "add runtime registration for encoders" 2019-05-15 22:02:39 +00:00
gpu Initialize D3D format table. 2020-02-28 15:01:31 +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 Add a condition to prevent a thread annotation meant for blaze from showing up to emscripten 2020-02-28 17:57:20 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skia/third_party/skcms ef3043bd8110..64374756e037 (1 commits) 2019-12-11 23:12:09 +00:00
utils rm Sk3D.h -- long live SkMat4 2020-02-20 13:15:33 +00:00