Webrender update (border anti-aliasing, primitive caching).

This commit is contained in:
Glenn Watson 2016-08-31 19:43:32 +10:00
parent acb47007ba
commit 25f60a29db
8 changed files with 80 additions and 66 deletions

View file

@ -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.