Support rendering at non-integer display scales:
* 2x and 3x DPI artwork can be specified using Image2x and Image3x in chrome.yaml. * Images are rendered using bilinear interpolation. * For non-integer screen scales, prefer downscaling the next biggest resolution image over upscaling.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
^Glyphs:
|
||||
Image: glyphs.png
|
||||
Image2x: glyphs-2x.png
|
||||
Image3x: glyphs-3x.png
|
||||
|
||||
^LoadScreen:
|
||||
Image: loadscreen.png
|
||||
|
||||
@@ -139,6 +139,8 @@ Hotkeys:
|
||||
|
||||
LoadScreen: LogoStripeLoadScreen
|
||||
Image: d2k|uibits/loadscreen.png
|
||||
Image2x: d2k|uibits/loadscreen-2x.png
|
||||
Image3x: d2k|uibits/loadscreen-3x.png
|
||||
Text: Filling Crates..., Breeding Sandworms..., Fuelling carryalls..., Deploying harvesters..., Preparing thopters..., Summoning mentats...
|
||||
|
||||
ServerTraits:
|
||||
|
||||
Reference in New Issue
Block a user