Descriptiontake gr-context parameter to refEncoded, indicating a desire for only gpu-specific formats
Prime motivator:
- we always call refEncoded on the generator when trying to upload
- we call it *before* we ask for raster or YUV
- for blink, this call can be very slow, as they have to cons-up their SkData the first time (and grab a mutex to do it)
- this parameter will indicate to them that we're only interested in gpu formats, which they will know if they have.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1556333004
Committed: https://skia.googlesource.com/skia/+/05dd251e5e135626d170b9e77eb64729bd482169
Patch Set 1 #
Total comments: 2
Patch Set 2 : update dox #
Messages
Total messages: 21 (8 generated)
|