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

--- Comment #34 from Jan-Marek Glogowski <[email protected]> ---
After your OpenGL comment I've started reading the scaling codepath on Windows.
When OpenGL is available it is used to scale bitmaps. LO reads the PNG, then
copies the data to a texture, scales the texture, uses this texture for
painting and copies the texture's data to write the PNG.

As far as I understand the bug report, the first time the scaled icons are
correct, so I assume the error happens when copying the texture data to the
bitmap to write the scaled PNG.

Just to be sure: can you check if the icons written at the first start are
already corrupt, despite LO looking correct?

So my guess is the texture fetching code is wrong
(OpenGLSalBitmap::ReadTexture). My main problem is that I don't have Windows
with OpenGL, so I can just blindly guess a fix. I don't think that is a useable
bugfixing environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to