core: Fix pixel grid snapping in RenderViewport
Our painting code is assumed to work as following: scale the geometry, snap it to the pixel grid, apply the render transform, e.g. flip the geometry vertically. However, with QMatrix4x4 in RenderViewport, we have a slightly different order: scale the geometry, apply the render transform, snap to the pixel grid. It results in mapToRenderTarget() not properly mapping logical geometry to the device geometry, which later manifests as glitches. BUG: 477455
parent
44419d83
Please register or sign in to comment