Chip Davis : winemac.drv: Set the surface contents directly to the layer.
Alexandre Julliard
julliard at winehq.org
Wed Sep 1 15:45:10 CDT 2021
Module: wine
Branch: master
Commit: 9e599a89e30c9ae403f5c7861e0f7690a03c4e22
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9e599a89e30c9ae403f5c7861e0f7690a03c4e22
Author: Chip Davis <cdavis at codeweavers.com>
Date: Wed Sep 1 09:28:23 2021 -0500
winemac.drv: Set the surface contents directly to the layer.
Use a top-down DIB for the surface instead of a bottom-up DIB. This
seems to match better with how Core Graphics expects to receive image
data, and allows us to avoid a transform to flip the surface image.
Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winemac.drv/cocoa_window.m | 86 +++++++++++++++++++++++++++++++++--------
dlls/winemac.drv/macdrv_cocoa.h | 3 +-
dlls/winemac.drv/surface.c | 42 ++++++++++++++------
3 files changed, 101 insertions(+), 30 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=9e599a89e30c9ae403f5c7861e0f7690a03c4e22
More information about the wine-cvs
mailing list