winemac: Prevent interpolation of the window surface image when it's blitted to the actual window.

Ken Thomases ken at codeweavers.com
Mon Feb 2 23:11:37 CST 2015


On high-resolution Retina displays, the OS X window backing store has twice the
pixels as Wine's window backing store.  So, our images get scaled up.  Core
Graphics had been interpolating/smoothing the image, which resulted in
fuzziness.  This tells it not to do that.

I had assumed this wouldn't be necessary since we pass FALSE for the
shouldInterpolate parameter of CGImageCreate() when we create the images.
Apparently, that's not sufficient.
---
dlls/winemac.drv/cocoa_window.m | 1 +
1 file changed, 1 insertion(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Prevent-interpolation-of-the-window-surface-.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150202/1df3c66d/attachment.bin>


More information about the wine-patches mailing list