Commit graph

135 commits

Author SHA1 Message Date
Thomas Friedel
6b4af8f29f added support for shadows (not yet blurred) 2018-06-14 15:03:25 +02:00
Thomas Friedel
3b9604efab bugfix, cached images were only rendered from the next frame onwards 2018-06-10 17:52:59 +02:00
Thomas Friedel
60be0b7d92 added golang.org/x/mobile/gl implementation and an example using shiny 2018-05-28 17:08:24 +02:00
Thomas Friedel
61ad4d0dc2 sdlcanvas package now handles resize events automatically if there is no resize handler 2018-05-28 16:14:01 +02:00
Thomas Friedel
1cd53a4e6b added a SetBounds function to replace the SetSize function 2018-05-28 16:04:13 +02:00
Thomas Friedel
447d83e9f0 bugfix, gradient textures were still incorrectly set as 1D textures 2018-05-28 16:01:35 +02:00
Thomas Friedel
964380f673 implemented clearRect 2018-05-23 12:33:18 +02:00
Thomas Friedel
d877b57424
Merge pull request #5 from jackwakefield/ascent-descent
Added ascent and descent to text measurements
2018-05-21 00:23:19 +02:00
Jack Wakefield
a3cc04778f added ascent and descent to text measurements 2018-05-19 15:51:00 +01:00
Thomas Friedel
7d87ef795a deleted the compiled android examples, moved the ios readme 2018-05-17 17:08:09 +02:00
Thomas Friedel
0efc4c6d59 line widths now work more like the html5 canvas 2018-05-17 16:24:46 +02:00
Thomas Friedel
a42e694c47 moved the gl implementations into a subdirectory 2018-05-17 15:16:50 +02:00
Thomas Friedel
eee6571d44 added size change event handler to events example 2018-05-17 15:11:03 +02:00
Thomas Friedel
50941d3075 clear stencil buffer on activate 2018-05-17 15:08:22 +02:00
Thomas Friedel
4e1004ec57
Merge pull request #3 from jackwakefield/master
Added a size change event handler
2018-05-17 15:06:26 +02:00
Jack Wakefield
27f755f171 added a size change event handler 2018-05-16 00:11:31 +01:00
Thomas Friedel
fec30a0848
Update README.md 2018-05-15 18:51:42 +02:00
Thomas Friedel
87fa8256eb added an iOS GL implementation and example 2018-05-15 18:49:35 +02:00
Thomas Friedel
d56fc2e8ce
Update README.md 2018-05-15 18:19:46 +02:00
Thomas Friedel
e5d6793d59 added an Android GL implementation and an example for an Android app 2018-05-10 17:33:03 +02:00
Thomas Friedel
54e97761de no longer using TEXTURE_1D since it is not available on GL ES 2018-05-10 17:26:31 +02:00
Thomas Friedel
06267645f6 changed openglinterface a bit to be less specific to the go-gl implementation 2018-05-10 13:08:30 +02:00
Thomas Friedel
7042a59cdb
Update README.md 2018-05-09 19:52:32 +02:00
Thomas Friedel
fc1a194e69 added a key char event handler 2018-05-09 19:45:21 +02:00
Thomas Friedel
e2e03846b8 added a simple event handling example 2018-05-09 19:38:06 +02:00
Thomas Friedel
22eceabf9f added some basic input handling to sdl and glfw examples 2018-05-09 19:27:19 +02:00
Thomas Friedel
6ed91cb412 updated to go-sdl2 v0.3; also fixed key runes 2018-05-09 19:24:00 +02:00
Thomas Friedel
53630c5cff reduced the goglimpl.go and added the complete versions for reference 2018-05-09 19:06:04 +02:00
Thomas Friedel
62eb6793c7 updated doc 2018-05-08 20:58:34 +02:00
Thomas Friedel
a30356b7cc
Update README.md 2018-05-08 16:46:31 +02:00
Thomas Friedel
fb5f9e6fe1
Update README.md 2018-05-08 16:38:10 +02:00
Thomas Friedel
a229633bf4 changed window title 2018-04-30 16:56:04 +02:00
tfriedel6
95f3a42987
Update README.md 2018-04-30 16:54:42 +02:00
Thomas Friedel
baa8b6aed5 more docs 2018-04-30 16:34:50 +02:00
Thomas Friedel
5bd0ccce2e updated docs 2018-04-30 16:30:19 +02:00
Thomas Friedel
c50447827c fixed doc 2018-04-30 12:10:18 +02:00
Thomas Friedel
35f6c274a9 added an example for using GLFW 2018-04-30 12:09:57 +02:00
Thomas Friedel
6b36b47b0c added an example for using SDL directly 2018-04-30 12:02:26 +02:00
Thomas Friedel
05a7355a7f fixed closed paths 2018-04-30 11:34:33 +02:00
Thomas Friedel
3a51ce9843 more clipping fixes 2018-04-30 11:25:25 +02:00
Thomas Friedel
48a2c698df added an example 2018-04-30 11:18:58 +02:00
Thomas Friedel
616ddaded0 fixed some clipping bugs 2018-04-30 11:01:31 +02:00
Thomas Friedel
0489833474 implemented textAlign; unknown characters now act like a space 2018-04-19 17:02:28 +02:00
Thomas Friedel
30c6c8a270 text rendering now works on the string rather than individual characters 2018-04-17 11:06:17 +02:00
Thomas Friedel
0913a92782 don't draw text that is outside the screen bounds 2018-04-14 11:59:09 +02:00
Thomas Friedel
489a758c3c also close window on quit event 2018-04-14 11:21:37 +02:00
Thomas Friedel
b32f7eeafc measuring text width no longer renders the text 2018-04-14 11:20:54 +02:00
Thomas Friedel
8507e9ed71 added documentation 2018-04-11 17:40:39 +02:00
Thomas Friedel
e75355ac37 implemented globalAlpha 2018-04-09 17:39:26 +02:00
Thomas Friedel
3fcf95cc86 fixed cache bug 2018-04-05 20:13:17 +02:00