mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update WR (resource cache changes, various optimizations).
This commit is contained in:
parent
4984a83f67
commit
04cd35914a
13 changed files with 32 additions and 41 deletions
|
@ -16,7 +16,8 @@ void write_clip(ClipInfo clip) {
|
|||
clip.bottom_right.outer_inner_radius.x,
|
||||
clip.bottom_left.outer_inner_radius.x);
|
||||
//TODO: interpolate the final mask UV
|
||||
vClipMaskUvRect = clip.mask_info.uv_rect;
|
||||
vec2 texture_size = textureSize(sMask, 0);
|
||||
vClipMaskUvRect = clip.mask_info.uv_rect / texture_size.xyxy;
|
||||
vClipMaskLocalRect = clip.mask_info.local_rect; //TODO: transform
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue