DescriptionCleanup of code that converts from GPU-backed resources to SkImageInfo
Functions like GrMakeInfoFromTexture encouraged incorrect code to be
written. Similarly, the ability to construct an info from any GrSurface
was never going to be correct. Luckily, the only client of that had all
of the correct parameters much higher on the stack (and dictated or
replaced most of the properties of the returned info anyway).
With this, I can finally remove the color space as an output of the
pixel config -> color type conversion, which was never going to be
correct.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2173513002
Committed: https://skia.googlesource.com/skia/+/396fcdba14a0101ed43dcc3863585bf50c4ed6cc
Patch Set 1 #
Total comments: 2
Depends on Patchset: Messages
Total messages: 12 (8 generated)
|