Text snapping more noticeable after animation on https://git.news/
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: jrmuizel, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Also notice a small amount of snapping in Safari but it's less noticeable than in Firefox.
Reporter | ||
Comment 1•5 years ago
|
||
Lee, do you see what I'm talking about here? Can we do better?
Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Andrew, do your recent snapping changes help this any?
Assignee | ||
Comment 3•4 years ago
|
||
This patch makes the CPU side incorporate the raster scale when
calculating the subpixel position of a glyph. It also makes the shader
side not include the glyph scale factor when recalculating the glyph
position (since it was not known/used when determining the subpixel
position in the first place). This makes the subpixel position stable
when we transition between Screen and Local(raster_scale) spaces.
Assignee | ||
Updated•4 years ago
|
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bd4120bc977 Match shader and CPU glyph rasterization logic for glyphs in local space. r=lsalzman
Comment 5•4 years ago
|
||
bugherder |
Assignee | ||
Comment 7•4 years ago
|
||
Comment on attachment 9126544 [details]
Bug 1529260 - Match shader and CPU glyph rasterization logic for glyphs in local space.
Beta/Release Uplift Approval Request
- User impact if declined: Glyphs may wiggle / be placed on the wrong subpixel position during animations
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It is a minor change to how to we place glyphs when animated with WebRender. It is already drawn at the wrong position, so it is unlikely to get worse.
- String changes made/needed:
Assignee | ||
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Comment on attachment 9126544 [details]
Bug 1529260 - Match shader and CPU glyph rasterization logic for glyphs in local space.
Fixes visual glitches related to glyph positioning with WebRender. Approved for 74.0b4.
Comment 9•4 years ago
|
||
bugherder uplift |
Description
•