Commit graph

256 commits

Author SHA1 Message Date
Thomas Friedel
9103dfb672 updated go.mod 2019-04-24 17:10:39 +02:00
Thomas Friedel
1f6301a2f9 canvas activate bugfix 2019-04-24 17:10:31 +02:00
Thomas Friedel
b2568a0205 updated readme 2019-04-24 12:37:09 +02:00
Thomas Friedel
7d0fc7ceb8 regenerated 2019-04-24 12:35:11 +02:00
Thomas Friedel
0476a8a85f shadow global alpha fix 2019-04-24 12:34:36 +02:00
Thomas Friedel
312633710b updated go-sdl2 version 2019-04-22 15:28:51 +02:00
Thomas Friedel
abfc73419b set global alpha 2019-04-18 21:13:06 +02:00
Thomas Friedel
287ff8905f another transformation bugfix 2019-04-18 16:33:50 +02:00
Thomas Friedel
41a0ed18af updated readme 2019-04-18 14:47:45 +02:00
Thomas Friedel
6d46d9d554 removed the clipping reapplication after context switching since it didn't work properly 2019-04-18 14:46:20 +02:00
Thomas Friedel
ff4c73b6b7 fixed a transformation issue 2019-04-17 16:11:25 +02:00
Thomas Friedel
857e6c4e47 IsPointInStroke implemented 2019-04-17 11:31:53 +02:00
Thomas Friedel
c9fcfbdd53 clipping bugfix 2019-04-16 16:15:59 +02:00
Thomas Friedel
70ece785e9 implemented self intersecting polygon support 2019-04-16 14:18:51 +02:00
Thomas Friedel
7c4521b227 added a function to check if a point is in a path 2019-04-10 11:59:26 +02:00
Thomas Friedel
e40654181e fixed build tags for macos and ios 2019-04-02 11:29:18 +02:00
Thomas Friedel
2163c982fd updated readme 2019-03-30 11:40:06 +01:00
Thomas Friedel
b7397ee4dc fixed stroke scaling 2019-03-30 11:35:32 +01:00
Thomas Friedel
b2502f5472 simplified matrix type 2019-03-30 11:08:49 +01:00
Thomas Friedel
0e16a8261b added function to create an image pattern 2019-03-28 11:25:59 +01:00
Thomas Friedel
5acbe5452b updated missing features 2019-03-28 10:55:23 +01:00
Thomas Friedel
6a082a74a3 clipping bugfix 2019-03-28 10:53:49 +01:00
Thomas Friedel
3590b73c8b udpated readme 2019-03-20 12:29:43 +01:00
Thomas Friedel
04b3418c3b added an activate function and an exported TextureID so that other GL code can also use the canvas 2019-03-20 12:18:36 +01:00
Thomas Friedel
c98bc6c23d backend can now reuse gl contexts, updated examples and docs 2019-03-20 11:48:52 +01:00
Thomas Friedel
22c3c25d8e removed opaque and deleted flags from backend, deleted state is now maintained in frontend 2019-02-27 16:06:41 +01:00
Thomas Friedel
ba8238ba66 canvas bounds update fix, gomobile example works again 2019-02-27 15:46:08 +01:00
Thomas Friedel
9c3cccabdd offscreen backend now has its own type, can be used as image when drawing images 2019-02-27 13:05:23 +01:00
Thomas Friedel
122488e64c updated glfwcanvas to use gl backend, fixed error handling 2019-02-24 16:34:42 +01:00
Thomas Friedel
2717a0bdd9 removed openglinterface implementations 2019-02-24 16:34:16 +01:00
Thomas Friedel
f8aa4d62ce updated gogl backend to work on ios as well, updated ios example 2019-02-24 16:30:17 +01:00
Thomas Friedel
654d9b1796 reduced the backend/gogl/gl package to GLES2 functions; added android support; adapted android example 2019-02-24 14:31:03 +01:00
Thomas Friedel
549a6f2c2e switched to a simplified generated gl binding that should work with both regular GL and GLES 2019-02-24 13:28:50 +01:00
Thomas Friedel
222c12142a updated tests 2019-02-24 13:25:29 +01:00
Thomas Friedel
77a9d14867 added an xmobile backend that can be generated from the gogl backend 2019-02-24 13:19:21 +01:00
Thomas Friedel
93c75a9b61 clear stencil when bounds change 2019-02-24 11:08:22 +01:00
Thomas Friedel
041cf94c5c updated glfw and sdl examples 2019-02-24 11:07:07 +01:00
Thomas Friedel
1f682f1f31 updated events example 2019-02-24 11:02:16 +01:00
Thomas Friedel
c207447158 SetBounds on GL backend now sets the viewport right away; updated drawing example 2019-02-24 11:01:33 +01:00
Thomas Friedel
a36c635367 renamed the gradient creation methods; removed SetLineEnd function 2019-02-22 16:56:27 +01:00
Thomas Friedel
ed34e3d8c4 removed matrix code in backend 2019-02-22 16:54:37 +01:00
Thomas Friedel
816582dbb3 removed FillMatrix and moved transformations to frontend 2019-02-22 16:53:53 +01:00
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