Commit graph

25 commits

Author SHA1 Message Date
Thomas Friedel
39e9e6400b round coordinates when filling with image mask to improve text rendering 2020-03-23 11:26:48 +01:00
Thomas Friedel
34087abece Path2D now caches the triangulation for filling 2020-03-22 11:52:35 +01:00
Thomas Friedel
804a9c2774 replaced [2]float64 with Vec type 2020-03-22 10:15:42 +01:00
Thomas Friedel
59ddfe59c1 more efficient alpha texture loading 2020-03-21 16:35:22 +01:00
Thomas Friedel
7830bb2cc5 removed the alpha tex clear 2020-03-21 16:19:35 +01:00
Thomas Friedel
f47d24543d removed explicit deleting of gradients
removed finalizers from backends, instead using a finalizer as an emergency catch on the frontend
2020-03-21 13:05:04 +01:00
Thomas Friedel
7faf3cdcc6 improved caching and added font context cache 2020-03-21 12:50:44 +01:00
Thomas Friedel
82290ace4a removed some dead code; small code improvements 2020-02-20 12:15:15 +01:00
Thomas Friedel
239026dd49 fixed that gradients weren't reloaded after being changed 2020-02-18 17:05:56 +01:00
Thomas Friedel
3e6e46ca0d reverted a previous change as it was not correct 2020-02-14 16:34:38 +01:00
Thomas Friedel
637509b5d4 minor fixes 2020-02-14 16:28:24 +01:00
Thomas Friedel
0d915f7178 fixed and improved shadows 2020-02-12 17:38:33 +01:00
Thomas Friedel
7213b3edcd much better shadow performance 2020-02-12 15:53:46 +01:00
Thomas Friedel
8b79ad18fa fully unified into one shader
updated shadow test
2020-02-11 15:59:28 +01:00
Thomas Friedel
f5e7e6a060 replaced the gaussian shadow shaders with box blur shaders 2020-02-11 15:45:48 +01:00
Thomas Friedel
598ac1e325 simplified the drawBlurred function 2020-02-11 15:20:29 +01:00
Thomas Friedel
b0230892ab added image shader into unified shader 2020-02-11 14:51:24 +01:00
Thomas Friedel
50bf39fe62 unified some of the shaders to simplify 2020-02-11 13:28:34 +01:00
Thomas Friedel
f0367ee72d GetImageData bugfix 2019-12-04 12:13:09 +01:00
Thomas Friedel
98a8334efc added a todo, regenerated xmobile backend 2019-07-10 11:36:02 +02:00
Thomas Friedel
9f92f2c5c4 added an error if glGenTextures fails 2019-07-10 11:34:21 +02:00
Thomas Friedel
5ce888f8b9 small performance improvements 2019-05-23 16:32:03 +02:00
Thomas Friedel
bbcb712b73 renamed the backend directories so they match the package names 2019-05-12 13:06:23 +02:00
Thomas Friedel
7dbcd9b420 made DrawStyle public for use by backends; changed color to be color.RGBA 2019-02-22 16:38:27 +01:00
Thomas Friedel
1e5180dd65 started work on moving all the gl code into a backend package so that other backends can be created 2019-02-22 16:38:27 +01:00