Descriptionrename filterTextFlags to disableLCD
Under the hood, add SkPixelGeometry to the CreateInfo for new devices, allowing them to see their geometry (SkDeviceProperties) up front, rather than having it changed later.
The only exception is for devices that are used on the root-layer, where we don't see the device until after the fact (at least as long as we allow clients to attach a device to a canvas externally).
We also filter the geometry when we're creating a layer, so we can disable LCD text automatically if the layer is not marked as opaque.
NOTRY=True
-- gammatext flake?
Committed: https://skia.googlesource.com/skia/+/b2db898573e3cdcc8234eebf51961bfc4977ebbc
Patch Set 1 #
Total comments: 5
Patch Set 2 : rebase #Patch Set 3 : add param to CreateInfo #Patch Set 4 : rename disableLCD to shouldDisableLCD #
Messages
Total messages: 18 (8 generated)
|