Patrick Walton
|
77b3555828
|
Separate opacity out from paint.
This allows `globalAlpha` to work on render targets.
|
2020-02-26 12:43:07 -08:00 |
Patrick Walton
|
0883f54e2d
|
Add a separate mask blit step, in preparation for supporting clips.
We can elide this in the future if there are no clips, but it isn't a huge
performance regression right now, so let's just unconditionally do it.
|
2020-02-14 21:56:43 -08:00 |
Patrick Walton
|
5a21557a6d
|
Implement basic linear gradients.
This is not a very efficient implementation yet, but it seems to work.
|
2020-02-10 16:01:05 -08:00 |
Patrick Walton
|
a66ed4c073
|
Specify tile texture coordinates as an affine transform.
Part of the groundwork for gradients.
|
2020-02-05 13:59:32 -08:00 |
Patrick Walton
|
b269723254
|
Switch to per-pixel texture lookup for paints.
This is a prerequisite for supporting gradients and images.
|
2020-02-04 21:50:13 -08:00 |