mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Webrender update (border anti-aliasing, primitive caching).
This commit is contained in:
parent
acb47007ba
commit
25f60a29db
8 changed files with 80 additions and 66 deletions
|
@ -16,10 +16,11 @@ flat varying vec2 vRefPoint;
|
|||
flat varying uint vBorderStyle;
|
||||
flat varying uint vBorderPart; // Which part of the border we're drawing.
|
||||
|
||||
flat varying vec4 vPieceRect;
|
||||
|
||||
// These are in device space
|
||||
#ifdef WR_FEATURE_TRANSFORM
|
||||
varying vec3 vLocalPos; // The clamped position in local space.
|
||||
flat varying vec4 vPieceRect;
|
||||
flat varying float vPieceRectHypotenuseLength;
|
||||
#else
|
||||
varying vec2 vLocalPos; // The clamped position in local space.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue