GNOME Bugzilla – Bug 659166
extra line at window edge in zoom
Last modified: 2018-02-01 10:33:24 UTC
Created attachment 196658 [details] screenshot As I move the zoom view around both the horizontal and vertical edges of windows exhibit what seems to be a +/- single pixel gap between the edge and the shadow. This seems to alternate between 1 and 0 as I move around.
This is probably OpenGL blending the window texture against random junk in memory when the screen's pixel grid doesn't align with the texture's pixel grid, like scaling down in the overview, or scaling up in zoom. Because the invisible borders made the pixmap larger, we occasionally see the random junk around the edges instead of nothing. Somebody with more knowledge of OpenGL would know how to fix this better.
Created attachment 198584 [details] [review] tests: Add a test for scaling multitextured materials
Produced a raw Clutter test, punting to them.
Created attachment 199931 [details] [review] meta-shaped-texture: Use nearest neighbor interpolation when upscaling If we don't do this, when upscaling the texture, we could sample pixels that are supposed to be hidden by the alpha mask.
Ping on this?
Looks like unrelated space changes in the patch.
(In reply to comment #6) > Looks like unrelated space changes in the patch. Would you like a separate highlighting changes?
s/highlighting/indentation/g
Doesn't reproduce here, and the clutter drawing, including how we deal with scaling and what not have changed since this was reported. Closing as fixed.