Commit graph

31 commits

Author SHA1 Message Date
Thomas Friedel
a80e3778fd changed the way window scaling is done
to support high DPI scaling, use the FramebufferSize functions in glfwcanvas and sdlcanvas to determine the canvas size
2020-02-11 11:36:16 +01:00
Thomas Friedel
1333730731 fixed a triangulation bug 2020-02-01 15:51:21 +01:00
Thomas Friedel
ecadd0e5ec added support for macOS hidpi when using SDL
updated to go-sdl 0.4
2020-01-25 16:29:27 +01:00
Thomas Friedel
c8ff508299 updated glfw code to fix scaling on macOS 2020-01-25 15:59:54 +01:00
Thomas Friedel
b5212c916a added an example for software rendering
updated readme
2019-05-13 12:29:25 +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
c98bc6c23d backend can now reuse gl contexts, updated examples and docs 2019-03-20 11:48:52 +01:00
Thomas Friedel
ba8238ba66 canvas bounds update fix, gomobile example works again 2019-02-27 15:46:08 +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
77a9d14867 added an xmobile backend that can be generated from the gogl backend 2019-02-24 13:19:21 +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
4debf145d2 added an example for a gomobile (gomobile build) implementation 2018-10-31 12:43:15 +01:00
Thomas Friedel
93d30a1ff7 added a glfwcanvas subpackage 2018-10-20 14:42:29 +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
1cd53a4e6b added a SetBounds function to replace the SetSize function 2018-05-28 16:04:13 +02:00
Thomas Friedel
7d87ef795a deleted the compiled android examples, moved the ios readme 2018-05-17 17:08:09 +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
Jack Wakefield
27f755f171 added a size change event handler 2018-05-16 00:11:31 +01:00
Thomas Friedel
87fa8256eb added an iOS GL implementation and example 2018-05-15 18:49:35 +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
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
a229633bf4 changed window title 2018-04-30 16:56:04 +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
48a2c698df added an example 2018-04-30 11:18:58 +02:00