Commit graph

  • a01a6799f1 reduced the maximum shadow blur size to avoid running into some gpu limitations for now Thomas Friedel 2018-10-31 12:39:14 +0100
  • 6f74599567 added an offscreen canvas Thomas Friedel 2018-10-31 12:30:39 +0100
  • d7513ddf4d added window resize and close handling to glfwcanvas package Thomas Friedel 2018-10-31 11:58:09 +0100
  • be6d1db04f fixed that restoring after calling clip didn't always restore properly Thomas Friedel 2018-10-27 15:02:17 +0200
  • 93d30a1ff7 added a glfwcanvas subpackage Thomas Friedel 2018-10-20 14:42:29 +0200
  • 32bbbdd7c8 added a way to replace an image after it has been loaded Thomas Friedel 2018-10-20 12:43:25 +0200
  • 091db17ac0 DrawImage can now take image.Image values; added error messages if the automatic image and font loading doesn't work Thomas Friedel 2018-10-06 18:20:20 +0200
  • c71711e498 fixed a bug when text was rendered starting left of the window Thomas Friedel 2018-10-04 19:09:24 +0200
  • b73d093683 implemented line dash offset Thomas Friedel 2018-09-18 15:17:04 +0200
  • e887b6ad3e updated xmobile implementation for new version, also added to tests Thomas Friedel 2018-09-18 15:07:45 +0200
  • c30fb5f4d3 removed unnecessary blank identifier Thomas Friedel 2018-09-18 15:02:06 +0200
  • 3d82ce6998 completed the gl implementations Thomas Friedel 2018-09-18 15:00:50 +0200
  • 34c01f47d4 added checks that LoadGL is called before anything else is done Thomas Friedel 2018-09-18 14:20:08 +0200
  • caaba150e8 fixed a bug when lines in a polygon are parallel Thomas Friedel 2018-09-18 14:15:42 +0200
  • 77993ea244 added MouseWheel event function Thomas Friedel 2018-09-08 11:07:55 +0200
  • bfed5dc792 implemented text stroking Thomas Friedel 2018-09-01 17:06:00 +0200
  • 56995ff396 line dash is now only applied when calling stroke Thomas Friedel 2018-09-01 16:41:28 +0200
  • 4c11aac929 added another test Thomas Friedel 2018-09-01 15:59:14 +0200
  • 1392b6caa8 added two more tests Thomas Friedel 2018-08-06 17:17:04 +0200
  • 368dda1372 disabled multisampling for tests Thomas Friedel 2018-07-31 11:52:32 +0200
  • b6c22b9374 line dash bugfix, implemented getLineDash, added a test Thomas Friedel 2018-07-30 14:55:45 +0200
  • a68d11e11a two more tests Thomas Friedel 2018-07-27 16:55:03 +0200
  • ee6bdb3af3 added two more test cases Thomas Friedel 2018-07-27 16:46:32 +0200
  • 61612d0b50 fixed a bug in the triangulation function Thomas Friedel 2018-07-27 16:46:18 +0200
  • f32a3df7f6 started adding tests Thomas Friedel 2018-07-27 16:28:15 +0200
  • cd8fea11e5 mark shadowBlur as implemented Thomas Friedel 2018-07-27 15:59:29 +0200
  • afad74f7b2 vary the gaussian shader kernel size depending on the blur radius for better performance Thomas Friedel 2018-07-27 15:58:38 +0200
  • f2225e857a implemented shadowBlur (wip) Thomas Friedel 2018-07-27 14:11:47 +0200
  • 0cb030619e added a function to switch to an offscreen framebuffer Thomas Friedel 2018-06-11 21:47:33 +0200
  • aabe03b003 added support for miter limit Thomas Friedel 2018-07-19 18:05:41 +0200
  • 5da544d78b performance optimization, avoid use of stencil buffer when drawing with opaque styles Thomas Friedel 2018-07-19 16:59:22 +0200
  • 78a6d8f020 bugfix for text getting cut off Thomas Friedel 2018-07-03 13:01:56 +0200
  • 6b4af8f29f added support for shadows (not yet blurred) Thomas Friedel 2018-06-14 11:41:54 +0200
  • 3b9604efab bugfix, cached images were only rendered from the next frame onwards Thomas Friedel 2018-06-10 17:52:59 +0200
  • 60be0b7d92 added golang.org/x/mobile/gl implementation and an example using shiny Thomas Friedel 2018-05-28 17:05:00 +0200
  • 61ad4d0dc2 sdlcanvas package now handles resize events automatically if there is no resize handler Thomas Friedel 2018-05-28 16:14:01 +0200
  • 1cd53a4e6b added a SetBounds function to replace the SetSize function Thomas Friedel 2018-05-28 16:04:13 +0200
  • 447d83e9f0 bugfix, gradient textures were still incorrectly set as 1D textures Thomas Friedel 2018-05-28 16:01:35 +0200
  • 964380f673 implemented clearRect Thomas Friedel 2018-05-23 12:32:43 +0200
  • d877b57424
    Merge pull request #5 from jackwakefield/ascent-descent Thomas Friedel 2018-05-21 00:23:19 +0200
  • a3cc04778f added ascent and descent to text measurements Jack Wakefield 2018-05-19 15:51:00 +0100
  • 7d87ef795a deleted the compiled android examples, moved the ios readme Thomas Friedel 2018-05-17 17:08:09 +0200
  • 0efc4c6d59 line widths now work more like the html5 canvas Thomas Friedel 2018-05-17 16:24:29 +0200
  • a42e694c47 moved the gl implementations into a subdirectory Thomas Friedel 2018-05-17 15:16:50 +0200
  • eee6571d44 added size change event handler to events example Thomas Friedel 2018-05-17 15:11:03 +0200
  • 50941d3075 clear stencil buffer on activate Thomas Friedel 2018-05-17 15:08:06 +0200
  • 4e1004ec57
    Merge pull request #3 from jackwakefield/master Thomas Friedel 2018-05-17 15:06:26 +0200
  • 27f755f171 added a size change event handler Jack Wakefield 2018-05-16 00:11:31 +0100
  • fec30a0848
    Update README.md Thomas Friedel 2018-05-15 18:51:42 +0200
  • 87fa8256eb added an iOS GL implementation and example Thomas Friedel 2018-05-15 18:49:30 +0200
  • d56fc2e8ce
    Update README.md Thomas Friedel 2018-05-15 18:19:46 +0200
  • e5d6793d59 added an Android GL implementation and an example for an Android app Thomas Friedel 2018-05-10 17:30:10 +0200
  • 54e97761de no longer using TEXTURE_1D since it is not available on GL ES Thomas Friedel 2018-05-10 17:26:31 +0200
  • 06267645f6 changed openglinterface a bit to be less specific to the go-gl implementation Thomas Friedel 2018-05-10 13:08:30 +0200
  • 7042a59cdb
    Update README.md Thomas Friedel 2018-05-09 19:52:32 +0200
  • fc1a194e69 added a key char event handler Thomas Friedel 2018-05-09 19:45:21 +0200
  • e2e03846b8 added a simple event handling example Thomas Friedel 2018-05-09 19:38:06 +0200
  • 22eceabf9f added some basic input handling to sdl and glfw examples Thomas Friedel 2018-05-09 19:27:19 +0200
  • 6ed91cb412 updated to go-sdl2 v0.3; also fixed key runes Thomas Friedel 2018-05-09 19:17:59 +0200
  • 53630c5cff reduced the goglimpl.go and added the complete versions for reference Thomas Friedel 2018-05-09 19:03:46 +0200
  • 62eb6793c7 updated doc Thomas Friedel 2018-05-08 20:58:34 +0200
  • a30356b7cc
    Update README.md Thomas Friedel 2018-05-08 16:46:31 +0200
  • fb5f9e6fe1
    Update README.md Thomas Friedel 2018-05-08 16:38:10 +0200
  • a229633bf4 changed window title Thomas Friedel 2018-04-30 16:56:04 +0200
  • 95f3a42987
    Update README.md tfriedel6 2018-04-30 16:54:42 +0200
  • baa8b6aed5 more docs Thomas Friedel 2018-04-30 16:34:50 +0200
  • 5bd0ccce2e updated docs Thomas Friedel 2018-04-30 16:30:19 +0200
  • c50447827c fixed doc Thomas Friedel 2018-04-30 12:10:18 +0200
  • 35f6c274a9 added an example for using GLFW Thomas Friedel 2018-04-30 12:09:57 +0200
  • 6b36b47b0c added an example for using SDL directly Thomas Friedel 2018-04-30 11:45:13 +0200
  • 05a7355a7f fixed closed paths Thomas Friedel 2018-04-30 11:34:33 +0200
  • 3a51ce9843 more clipping fixes Thomas Friedel 2018-04-30 11:25:25 +0200
  • 48a2c698df added an example Thomas Friedel 2018-04-30 11:18:58 +0200
  • 616ddaded0 fixed some clipping bugs Thomas Friedel 2018-04-30 11:01:31 +0200
  • 0489833474 implemented textAlign; unknown characters now act like a space Thomas Friedel 2018-04-19 17:02:28 +0200
  • 30c6c8a270 text rendering now works on the string rather than individual characters Thomas Friedel 2018-04-17 11:06:17 +0200
  • 0913a92782 don't draw text that is outside the screen bounds Thomas Friedel 2018-04-14 11:56:42 +0200
  • 489a758c3c also close window on quit event Thomas Friedel 2018-04-14 11:21:37 +0200
  • b32f7eeafc measuring text width no longer renders the text Thomas Friedel 2018-04-14 11:20:54 +0200
  • 8507e9ed71 added documentation Thomas Friedel 2018-04-11 17:40:39 +0200
  • e75355ac37 implemented globalAlpha Thomas Friedel 2018-04-09 17:39:26 +0200
  • 3fcf95cc86 fixed cache bug Thomas Friedel 2018-04-05 20:13:17 +0200
  • 1699257f6d removed the name parameter from LoadImage as well; fixed a bug if the image finalizer is called after explicitly deleting Thomas Friedel 2018-04-05 18:54:14 +0200
  • ad16b6fee2 removed the name parameter from LoadFont Thomas Friedel 2018-04-04 17:27:04 +0200
  • db1797c19a the first loaded font is now used as the default font Thomas Friedel 2018-04-04 17:22:03 +0200
  • 3854f40898 arcs are now marked as convex to optimize performance Thomas Friedel 2018-04-04 17:12:57 +0200
  • 8502818b6f clipping with the rect function now uses scissor test instead of stencil Thomas Friedel 2018-04-04 16:54:50 +0200
  • d5a4c0b4bb use bit flags instead of booleans for more compact storage Thomas Friedel 2018-04-04 16:21:24 +0200
  • f0d9b83afb moved FillRect into paths.go Thomas Friedel 2018-04-04 16:15:54 +0200
  • ef652e17ba added StrokeRect function Thomas Friedel 2018-04-04 16:15:39 +0200
  • c1dce1c12a fill fix Thomas Friedel 2018-04-04 16:05:38 +0200
  • d08eb63181 added rect function Thomas Friedel 2018-04-04 16:01:26 +0200
  • 7be3a4383c paths with sub-paths fixed Thomas Friedel 2018-04-04 15:53:26 +0200
  • 34ceb96676 fallback to no msaa Thomas Friedel 2018-03-28 18:58:07 +0200
  • 13127f2816 added MeasureText method Thomas Friedel 2018-03-28 12:42:50 +0200
  • 5f3b74834b added BSD license Thomas Friedel 2018-03-28 11:33:15 +0200
  • 1703c1a8fd added documentation; added input event functions Thomas Friedel 2018-03-28 11:29:58 +0200
  • 95e59ccb5f
    Update README.md tfriedel6 2018-03-27 16:16:25 +0200
  • df650c6113 deduplicated some code Thomas Friedel 2018-03-27 16:03:02 +0200
  • 37767fa86f more documentation; renamed W/H to Width/Height on Image type Thomas Friedel 2018-03-27 15:57:01 +0200