Timm Bäder
|
685288216f
|
gl renderer: Move rect transformation to the vertex shader
No need to do this for every fragment.
|
2020-01-24 06:08:39 +01:00 |
|
Timm Bäder
|
44ac2d5abb
|
gl renderer: Pass linear gradient stops to shaders directly
No need to copy them into the render ops like this.
|
2020-01-07 17:27:16 +01:00 |
|
Timm Bäder
|
91472b2ecd
|
gl renderer: Compute final color in vertex shader
This is a very often used shader. No need to to do this for every
fragment.
|
2020-01-07 17:27:16 +01:00 |
|
Timm Bäder
|
fdce30d3f8
|
gl renderer: Add some in/out compat glue to the shaders
so we can use _IN_ and _OUT_ and get the right things for
desktop/es/legacy GL.
|
2020-01-07 17:27:16 +01:00 |
|
Timm Bäder
|
cc909b160f
|
gl renderer: Rewrite shader builder
Use a unified approach to write both vertex and fragment shader in the
same file.
|
2020-01-07 17:27:15 +01:00 |
|