[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ui/cocoa: Do not copy members of pixman image
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH] ui/cocoa: Do not copy members of pixman image |
Date: |
Wed, 17 Feb 2021 14:04:28 +0100 |
On Fri, Feb 12, 2021 at 09:06:29AM +0900, Akihiko Odaki wrote:
> The old CocoaView had an idea of synchronizing the host window
> configuration and the guest screen configuration. Here, the guest screen
> actually means pixman image given ui/cocoa display implementation.
>
> However, [CocoaView -drawRect:] directly interacts with the pixman
> image buffer in reality. There is no such distinction of "host" and
> "guest." This change removes the "host" configuration and let drawRect
> consistently have the direct reference to pixman image. It allows to
> get rid of the error-prone "sync" and reduce code size a bit.
Added to UI patch queue.
thanks,
Gerd