I'm not deep into squeak enough to know if this is possible, so I'm throwing the question around here.
Is there a way to use hardware to scale output to the display? I.e. if I set up an image to have a specific resolution, is there a way to not use internal scaling to upscale/downscale the visual output? I know it's possible inside of squeak to have squeak make up for the difference, but it's quite taxing for such a task that would be better off handed to the OS to do natively.
Thanks for any insights.
Hi, there.
Does this help? http://forum.world.st/long-Squeak-and-High-DPI-td4893349.html [http://forum.world.st/long-Squeak-and-High-DPI-td4893349.html]
Best, Marcel Am 26.04.2018 10:03:38 schrieb Jeremy Landry hakyoku@gmail.com: I'm not deep into squeak enough to know if this is possible, so I'm throwing the question around here.
Is there a way to use hardware to scale output to the display? I.e. if I set up an image to have a specific resolution, is there a way to not use internal scaling to upscale/downscale the visual output? I know it's possible inside of squeak to have squeak make up for the difference, but it's quite taxing for such a task that would be better off handed to the OS to do natively.
Thanks for any insights.
Yes, it's possible that the VM scales the display. For example, SqueakJS has a "fixed resolution" mode where it gives Squeak a fixed-sized screen to draw in, and scales that to whatever size the browser window is. Inversely, it scales system mouse events to Squeak's virtual resolution. See for example here: https://squeak.js.org/etoys/#fullscreen When you resize the browser window, the image does not even notice.
AFAIK no other VM does that, but it would certainly be possible to add.
We did need that feature for displaying the OLPC version of Etoys (which runs at a fixed 1200x900 resolution) on other platforms. To avoid having to add this to all VMs (Windows, Mac, X11), Andreas set up the "internal scaling" you mention which uses WarpBlt. But indeed there is a noticeable slow-down, and having this feature in the VM would be much better.
- Bert -
On 26 April 2018 at 10:56, Marcel Taeumel marcel.taeumel@hpi.de wrote:
Hi, there.
Does this help? http://forum.world.st/long-Squeak-and-High-DPI-td4893349.html
Best, Marcel
Am 26.04.2018 10:03:38 schrieb Jeremy Landry hakyoku@gmail.com: I'm not deep into squeak enough to know if this is possible, so I'm throwing the question around here.
Is there a way to use hardware to scale output to the display? I.e. if I set up an image to have a specific resolution, is there a way to not use internal scaling to upscale/downscale the visual output? I know it's possible inside of squeak to have squeak make up for the difference, but it's quite taxing for such a task that would be better off handed to the OS to do natively.
Thanks for any insights.
squeak-dev@lists.squeakfoundation.org