darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Upgrade darktable to use cairo graphics "stable release" 1.18.0

Open TiredOfGuessing opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Hoping the Cairo -> macOS-quartz changes to display color space will improve the display rendering on macOS.

John Ralls (4): [quartz] Cleanup and make better use of cairo_quartz_image_surface_t. [quartz] Pretty up the surface-type and zero-size tests. [quartz] Replace surface-pattern xfail with latest CI fail image. [quartz]Conditionally Use Main Display ColorSpace instead of kCGColorSpaceDefaultRGB.

Per the latest news the release 1.18.0 (2023-09-20) it seems that the upgrade would be generally beneficial to dt.

The first stable cairo release in five years should be cause for celebration.

All the API added in the 1.17 development cycle is now considered stable, and will not change. https://www.cairographics.org/news/cairo-1.18.0/

Describe the solution you'd like

Alternatives

Additional context

TiredOfGuessing avatar Dec 26 '23 18:12 TiredOfGuessing

cairo 1.18.0 isn't yet provided by macports so not available for arm64 build yet. If the port is done it will be used ...

MStraeten avatar Dec 26 '23 18:12 MStraeten

I don’t think these changes allow dt to render colors outside of sRGB colorspace. It’s only about render performance (speed).

parafin avatar Dec 26 '23 19:12 parafin

@TiredOfGuessing darktable is built with those libraries that are in the build environment. We have no influence on when this library appears in the various environments where darktable can be built.

So in what sense do you suggest "upgrading" darktable?

victoryforce avatar Jan 02 '24 21:01 victoryforce

Sorry I don't know what drives this kind of feature/update. Sounds like it will automatically occur when available. Thx

TiredOfGuessing avatar Jan 02 '24 23:01 TiredOfGuessing

Sounds like it will automatically occur when available.

Probably darktable will simply work with a new version of the library when such a build becomes available. We will not be able to check whether there will be any problems until it happens.

victoryforce avatar Jan 03 '24 09:01 victoryforce