Commit graph

71 commits

Author SHA1 Message Date
Thomas Friedel
3e874d544b updated tests, copied improved gradients from master branch 2019-02-22 16:44:34 +01:00
Thomas Friedel
63b71e5e52 fixed image drawing transformation 2019-02-22 16:39:30 +01:00
Thomas Friedel
97dff96ca2 removed unused shader variables 2019-02-22 16:39:30 +01:00
Thomas Friedel
f962da34c4 removed openglinterface 2019-02-22 16:39:30 +01:00
Thomas Friedel
8dc91b34f5 moved offscreen canvas to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
a0dfb6f530 shadows.go wasn't used 2019-02-22 16:39:30 +01:00
Thomas Friedel
fe9d6e60e4 moved clipping to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
cf788d55f3 unified Clear and ClearRect 2019-02-22 16:39:30 +01:00
Thomas Friedel
fc4d3dbd9e moved image data code into backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
e7d0b1a7ee text shadow rendering moved to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
43f040f777 moved text display to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
c5c13de2a4 moved gradients to backend 2019-02-22 16:39:30 +01:00
Thomas Friedel
a354e192b6 image pattern support in backend 2019-02-22 16:39:18 +01:00
Thomas Friedel
476dbac6e2 moved image loading and drawing into backend 2019-02-22 16:39:18 +01:00
Thomas Friedel
c28c50a22e added a blurred fill style in backend, used it for blurred shadow drawing 2019-02-22 16:38:27 +01:00
Thomas Friedel
c5c8ac500f some shadow drawing now works using the backend 2019-02-22 16:38:27 +01:00
Thomas Friedel
38eddd2837 moved a lot of fill code to the backend; also started moving shadow drawing code to backend 2019-02-22 16:38:27 +01:00
Thomas Friedel
359b52f473 more general backend fill function 2019-02-22 16:38:27 +01:00
Thomas Friedel
114b292be7 moved some more gl code into the backend 2019-02-22 16:38:27 +01: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