[Libreoffice-bugs] [Bug 113158] LO calc scrolling slow; dragging to select cells slow, left and right arrows slow with OpenGL enabled Apache Open Office fast
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 17 17:50:39 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113158
--- Comment #6 from Telesto <telesto at surfxs.nl> ---
Created attachment 137061
--> https://bugs.documentfoundation.org/attachment.cgi?id=137061&action=edit
Bibisect log
Bisected to the following commit:
author Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk> 2017-07-21 07:15:27
(GMT)
committer Michael Stahl <mstahl at redhat.com> 2017-07-21 10:44:36
(GMT)
commit e197b4a88c421201e157552f94e7eaaa00a76269 (patch)
tree 0d5afd4f6b101195b26d24c87cb4c32a3d0266af
parent 4a169551433a0897ca9b1baccbfce134059aef05 (diff)
tdf#107166 improve AA mode selection, retry, more checks
Major problem when setting the render mode and the text antialias
mode is that when you set the render mode to something that isn't
compatible with the text antialias mode, then every next call will
cause an error (invalid parameters). So we need to be sure that we
never set incompatible modes. Additionally we just need to set it
one time when we create the surface and not every time we draw.
If we get the D2DERR_RECREATE_TARGET we can create a new render
target and retry the whole call. Somethimes this is not possible
so we try 3 times and the give up.
We need to add more checks where we exit early or not continue with
some calls as any additional calls could taint the draw state and
some things wouldn't be drawn. For example if we calculate the
sizes of 0 glyphs we shouldn't continue with binding the hDC with
an "empty" rectangle. This will fail and cause some text that is
called afterwards to not draw.
--
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/20171017/e6a43991/attachment.html>
More information about the Libreoffice-bugs
mailing list