vcl/skia/gdiimpl.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
New commits: commit 5a38e4f9798c5ff247aa57581adf2671485627fd Author: Patrick Luby <[email protected]> AuthorDate: Sat Nov 9 18:27:35 2024 -0500 Commit: Patrick Luby <[email protected]> CommitDate: Sun Nov 10 14:49:01 2024 +0100 tdf#163734 Revert commit f4c2c7c79cfe4464ac596afda37b8904d06969db Commit f4c2c7c79cfe4464ac596afda37b8904d06969db lowered the Skia flushing priority to solve tdf#157312. But the commit caused the "window will dock in rectangle" border to not be drawn when dragging a dockable window over a dockable position. Surprisingly, tdf#157312 does not reoccur without the commit so it appears that the commit is now unnecessary. Change-Id: Ibd74ef94e8448cf32fd690d7a26dd098191040b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176341 Tested-by: Jenkins Reviewed-by: Patrick Luby <[email protected]> diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index c97a1bebca5e..1324e6585303 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -269,13 +269,7 @@ public: { mpGraphics->performFlush(); Stop(); - // tdf#157312 Don't change priority - // Instances of this class are constructed with - // TaskPriority::POST_PAINT, but then it was set to - // TaskPriority::HIGHEST when reused. Flushing - // seems to be expensive (at least with Skia/Metal) so keep the - // existing priority when reused. - SetPriority(TaskPriority::POST_PAINT); + SetPriority(TaskPriority::HIGHEST); } };
