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 |
|
Thomas Friedel
|
e17505b056
|
removed gl code that is no longer needed in frontend
|
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
|
ac9a395c05
|
removed some dead code
|
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
|
7cef867541
|
moved backend interface to canvas.go
|
2019-02-22 16:38:27 +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 |
|
Thomas Friedel
|
6091afb755
|
added some tests; improved gradient and image pattern transformations
|
2019-02-22 16:37:48 +01:00 |
|
Thomas Friedel
|
65ebe6af69
|
arc transformation fix
|
2019-02-21 11:03:38 +01:00 |
|
Thomas Friedel
|
57348acc02
|
added an optional alpha channel for offscreen canvas, and a DeleteOffscreen function
|
2019-02-18 11:29:12 +01:00 |
|
Thomas Friedel
|
7aeae444a9
|
fixed a rect clipping bug
|
2019-01-26 23:02:02 +01:00 |
|
Thomas Friedel
|
c1f855278d
|
undid some of the changes from the last update since it didn't work properly; added some tests
|
2019-01-25 13:16:48 +01:00 |
|
Thomas Friedel
|
c5d148331b
|
proper scaling of stroked paths
|
2019-01-24 16:14:05 +01:00 |
|
Thomas Friedel
|
f77841e973
|
added StrokePath and FillPath functions
|
2019-01-24 15:56:47 +01:00 |
|
Thomas Friedel
|
7ce0b7bf9d
|
line dash now gets properly scaled
|
2019-01-24 10:50:39 +01:00 |
|
Thomas Friedel
|
99b9763f00
|
added some nonstandard performance flags
|
2019-01-23 18:11:41 +01:00 |
|
Thomas Friedel
|
bb244c4868
|
separated out a Path2D type
|
2019-01-23 17:23:47 +01:00 |
|
Thomas Friedel
|
7565296c42
|
removed the SetSize method
|
2019-01-16 10:31:45 +01:00 |
|
Thomas Friedel
|
f62e309d77
|
updated readme
|
2019-01-11 11:03:53 +01:00 |
|