[Libreoffice-bugs] [Bug 137468] Severe performance degradation on a macOS with 10-bit displays

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 22 13:09:35 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137468

--- Comment #33 from Leo Wang <ilford at gmail.com> ---
(In reply to Tor Lillqvist from comment #32)
> > I think the test needs to be improved so that it is aware of the color value shift due to the nature of color space difference.
> 
> Maybe, but surely also other code all over the place (slight exaggeration)
> would need to be adjusted, too, if the colour space used to display LO's
> windows were a device-dependent, potentially wide gamut, colour space. As it
> is (now with the change reverted), everything is sRGB.

Currently the test unit creates a bitmap, draws a point with specific color,
gets the pixel's color value and compares against the original value. This only
works when there is only one color space.

Maybe we can add a "hidden" preference item to let the user choose?

Without a complete rewrite of the renderer, it is very difficult to make use of
the GPU: all bitmap drawing works have to be done with CPU, and it is hard to
predict what color space CGLayer determines to blend all the layers to generate
the final bitmap.

PS: with all the 3 patches to "consistentize" the color spaces, on my Mac
LibreOffice retrieves 20-25fps for text, spreadsheets and simple presentations.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201022/d464fcb1/attachment.htm>


More information about the Libreoffice-bugs mailing list