| Ticket UUID: | 22a4ad2a6ef159f0fb2cd0771730fc88cccd891b | |||
| Title: | Aqua: let Core Graphics manage pixmap data memory | |||
| Type: | Patch | Version: | core-8-6-branch | |
| Submitter: | chrstphrchvz | Created on: | 2023-11-19 19:58:31 | |
| Subsystem: | 82. X11 Emulation | Assigned To: | fvogel | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2023-11-22 14:24:01 | |
| Resolution: | Fixed | Closed By: | nab | |
| Closed on: | 2023-11-22 14:24:01 | |||
| Description: |
Since 10.6 Snow Leopard, CGBitmapContextCreate() supports NULL being passed for data: “If data is NULL, the data for context is allocated automatically and freed when the context is deallocated.”I think Tk Aqua should take advantage of this for simplicity; see attached patch. | |||
| User Comments: |
nab added on 2023-11-22 14:24:01:
Hi, is it possible to merge also to core-8-branch? thank you. fvogel added on 2023-11-22 12:38:13: Thanks for your feedback Marc. This is now merged in core-8-6-branch and trunk. marc_culler (claiming to be Marc Culler) added on 2023-11-22 03:56:00: No I don't have a different opinion. It seems like a good idea to me. fvogel added on 2023-11-21 22:21:31:
Thanks, I can't see any reason why we would not apply your patch. Patch now committed as [6926b536c5]. Marc, any different opinion perhaps? | |||
Attachments:
- 22a4ad2a6ef1.diff [download] added by chrstphrchvz on 2023-11-19 19:59:06. [details]
