mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +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
11
resources/shaders/ps_text_run.glsl
Normal file
11
resources/shaders/ps_text_run.glsl
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
flat varying vec4 vColor;
|
||||
varying vec2 vUv;
|
||||
|
||||
#ifdef WR_FEATURE_TRANSFORM
|
||||
varying vec3 vLocalPos;
|
||||
flat varying vec4 vLocalRect;
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue