mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
470d4c6138
When we animate text, we rasterize the glyphs in an arbitrary local space once, and scale them during the animation. Some glyphs may be pressed against the edge of the texture, resulting in artifacts due to how the sampling works in the shader. This patch fixes the sampling issues by padding glyph textures with an extra transparent pixel border. This only applies to glyphs that are rasterized in local space. This patch does not add the extra padding for Mac because it is already padding its glyphs for Mac-specific reasons, and does not appear to be as suspectible to the problem. Differential Revision: https://phabricator.services.mozilla.com/D74457 |
||
---|---|---|
.. | ||
aa | ||
backface | ||
blend | ||
border | ||
boxshadow | ||
clip | ||
filters | ||
gradient | ||
image | ||
invalidation | ||
mask | ||
performance | ||
scrolling | ||
snap | ||
split | ||
text | ||
tiles | ||
transforms | ||
reftest.list |