mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Update webrender (various optimizations, layer fixes and antialiasing shaders).
This commit is contained in:
parent
7345905c8b
commit
ba90540352
8 changed files with 127 additions and 45 deletions
|
@ -19,12 +19,14 @@ flat varying uint vBorderPart; // Which part of the border we're drawing.
|
|||
// These are in device space
|
||||
#ifdef WR_FEATURE_TRANSFORM
|
||||
varying vec3 vLocalPos; // The clamped position in local space.
|
||||
flat varying vec4 vSizeInfo;
|
||||
flat varying vec4 vPieceRect;
|
||||
flat varying float vPieceRectHypotenuseLength;
|
||||
#else
|
||||
varying vec2 vLocalPos; // The clamped position in local space.
|
||||
|
||||
// These two are interpolated
|
||||
varying float vF; // This is a weighting as we get closer to the bottom right corner?
|
||||
varying float vDistanceFromMixLine; // This is the distance from the line where two colors
|
||||
// meet in border corners.
|
||||
varying vec2 vDevicePos; // The clamped position in device space.
|
||||
flat varying vec4 vBorders; // the rect of the border in (x, y, width, height) form
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue