~alcinnz/Mondrian

ref: 396e7db5dd94429a8522e091d806bf80f25dbc55 Mondrian/lib/Graphics/Rendering/Rect/Backgrounds.hs -rw-r--r-- 10.6 KiB
396e7db5 — Adrian Cochrane 1 year, 6 months ago
Implement conic gradients, support elliptical extents.
ec7d175b — Adrian Cochrane 1 year, 6 months ago
Parse radial gradient extents, slightly differs for circles vs ellipse.
cde21026 — Adrian Cochrane 1 year, 6 months ago
Minor legibility & theoretical-performance optimizations.

Use forward-unrolled loop to lookup the transition to apply, avoiding else-if branches.
Use GL_TRIANGLE_STRIP to avoid the need to upload duplicate vertex data.
b49146ea — Adrian Cochrane 1 year, 6 months ago
Parse radial gradient center-position.
483226a3 — Adrian Cochrane 1 year, 6 months ago
Add support for circular gradients, prepare shaders to allow setting center.
745d80f2 — Adrian Cochrane 1 year, 6 months ago
Add simple radial gradient support, fix lint warnings.
bd6dd38b — Adrian Cochrane 1 year, 6 months ago
Allow configuring where colour stops occur.
e8160393 — Adrian Cochrane 1 year, 6 months ago
Add support for colour stops, equally spaced.

10 stops should be generous!
c4d7272d — Adrian Cochrane 1 year, 6 months ago
Add angular linear gradient support!
1adb7b35 — Adrian Cochrane 1 year, 6 months ago
Add basic support for linear gradients!
4fb39760 — Adrian Cochrane 1 year, 6 months ago
Implement background-size!
5b6139fd — Adrian Cochrane 1 year, 6 months ago
Fix coordinatespace for texture-pixel lookup.
94547420 — Adrian Cochrane 1 year, 6 months ago
Build texturing infrastructure & implement background-color!
05c8b4fe — Adrian Cochrane 1 year, 6 months ago
Build texturing infrastructure.
6236cf8a — Adrian Cochrane 1 year, 6 months ago
Add support for background-clip & prepare for multilayered backgrounds!
595c10c3 — Adrian Cochrane 1 year, 6 months ago
Fix transformation matrix (should be fixed upstream, but that'd be breaking).
049383f6 — Adrian Cochrane 1 year, 6 months ago
Fix colour output, add OpenGL cleanup.
10e61b66 — Adrian Cochrane 1 year, 6 months ago
Add test script!
7a7ce8ff — Adrian Cochrane 1 year, 6 months ago
Implement background-colour rendering!
eba0f9a2 — Adrian Cochrane 1 year, 6 months ago
Draft background-colour shader.