[Libreoffice-bugs] [Bug 114012] High CPU usage when deleting some text with backspace
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 23 16:37:27 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=114012
--- Comment #1 from Telesto <telesto at surfxs.nl> ---
Created attachment 137946
--> https://bugs.documentfoundation.org/attachment.cgi?id=137946&action=edit
Bibisect log
Bisected to:
author Miklos Vajna <vmiklos at collabora.co.uk> 2015-08-07 14:35:11 (GMT)
committer Miklos Vajna <vmiklos at collabora.co.uk> 2015-08-07 14:35:23
(GMT)
commit c64a7ce1fcd1e30956a77530d0b76ad493841024 (patch)
tree 723796de700b511614ffeb9c36b12284fa5d3255
parent a6c7a0bf105c399d087e2d9f843dbd9b175fdf42 (diff)
Resolves: tdf#92982 vcl rendercontext: handle buffered paint of vcl::Cursor
Instead of painting on the vcl::Window directly, take a
PaintBufferGuard, and use the vcl::RenderContext of it, that may be
either the vcl::Window or the toplevel frame's buffer.
Trigger the paint of the buffer by informing the guard what area was
painted. In case of direct painting, both the ctor and the dtor of the
guard is a NOP.
This means that finally we can also assert Invert() calls on the output
device, so that direct paint can't happen when double-buffering.
--
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/20171123/918ebe30/attachment.html>
More information about the Libreoffice-bugs
mailing list