Commit graph

  • fb1b1c09ec Fix module naming master v0.13.1 mstar 2025-04-10 14:12:26 +0200
  • 560fc9e11f Remove everything that might depend on cgo v0.13.0 mstar 2025-04-10 14:05:55 +0200
  • 364c8706b6 rgba() color parsing now uses a float in range 0.0-1.0 for the alpha component Thomas Friedel 2020-12-01 16:17:29 +0100
  • 0c528ecc87 updated dependencies Thomas Friedel 2020-08-12 15:26:19 +0200
  • 631290f5f2 regenerated xmobile backend v0.12.1 Thomas Friedel 2020-06-02 11:06:57 +0200
  • 6586c5c7d1 fixed a bug on macos, nothing got rendered with disabled vertex attrib arrays Thomas Friedel 2020-06-02 11:06:21 +0200
  • 5eb5dc34e1 switch to vector text rendering in more cases fixed text rendering test case v0.12.0 Thomas Friedel 2020-05-28 11:12:55 +0200
  • f36e11bdff directly replace image when calling Replace if it is an image Thomas Friedel 2020-05-10 17:48:18 +0200
  • 3a0ca2cdcd bugfix in ClosePath Thomas Friedel 2020-05-09 10:18:56 +0200
  • e37f4f5565 added sorting of font contours for correct triangulation Thomas Friedel 2020-04-04 12:51:29 +0200
  • c4d3130770 converted earcut.hpp library to Go and used it to triangulate fonts Thomas Friedel 2020-03-28 16:08:58 +0100
  • 1d5a02b1d6 bugfix in rune path Thomas Friedel 2020-03-28 12:08:33 +0100
  • 1711693a57 fixed text stroke scaling Thomas Friedel 2020-03-27 21:39:19 +0100
  • ef4c2c3191 fixed font scaling bug Thomas Friedel 2020-03-27 19:31:03 +0100
  • a0a1cea270 faster font contour path Thomas Friedel 2020-03-24 14:25:51 +0100
  • c36395c0c8 fixed stroke text rendering Thomas Friedel 2020-03-24 10:24:44 +0100
  • 30531aaab7 new way to fill text (work in progress) Thomas Friedel 2020-03-22 14:57:03 +0100
  • 39e9e6400b round coordinates when filling with image mask to improve text rendering Thomas Friedel 2020-03-23 11:26:48 +0100
  • 34087abece Path2D now caches the triangulation for filling Thomas Friedel 2020-03-22 10:51:25 +0100
  • 804a9c2774 replaced [2]float64 with Vec type Thomas Friedel 2020-03-22 10:15:42 +0100
  • cc9247c627 moved math code to backendbase package so that backends can also use it Thomas Friedel 2020-03-22 10:07:18 +0100
  • 066f4f55bb kerning in StrokeText Thomas Friedel 2020-03-22 09:50:32 +0100
  • d3cc20f911 much improved text scaling Thomas Friedel 2020-03-21 18:54:34 +0100
  • 978852494a removed dead code enabled font hinting Thomas Friedel 2020-03-21 16:47:05 +0100
  • 59ddfe59c1 more efficient alpha texture loading Thomas Friedel 2020-03-21 16:34:19 +0100
  • 7830bb2cc5 removed the alpha tex clear Thomas Friedel 2020-03-21 16:19:35 +0100
  • 1b94cf0703 added comments Thomas Friedel 2020-03-21 15:51:19 +0100
  • b39fdd0a48 added panic when an image is loaded with a different canvas Thomas Friedel 2020-03-21 13:20:54 +0100
  • f47d24543d removed explicit deleting of gradients removed finalizers from backends, instead using a finalizer as an emergency catch on the frontend Thomas Friedel 2020-03-21 13:03:56 +0100
  • 7faf3cdcc6 improved caching and added font context cache Thomas Friedel 2020-03-21 12:07:35 +0100
  • 9d1e5b306a improved cache code Thomas Friedel 2020-03-21 11:36:27 +0100
  • 896af05ba4 updated xmobile backend v0.11.1 Thomas Friedel 2020-03-17 15:22:56 +0100
  • a0ba7b2ad3 removed some unused variables Thomas Friedel 2020-03-17 12:54:33 +0100
  • d670f964c8 self intersecting polygon bugfix Thomas Friedel 2020-03-17 10:21:09 +0100
  • 421d388f91 faster text rendering Thomas Friedel 2020-03-16 18:29:05 +0100
  • 84d2b4f3cb code cleanup Thomas Friedel 2020-03-16 18:28:22 +0100
  • 3378745af4 fixed method order v0.11.0 Thomas Friedel 2020-02-28 08:54:33 +0100
  • ffd40c721e float colors always in range 0.0-1.0 for consistency Thomas Friedel 2020-02-28 08:53:59 +0100
  • 82290ace4a removed some dead code; small code improvements Thomas Friedel 2020-02-20 12:15:15 +0100
  • 239026dd49 fixed that gradients weren't reloaded after being changed Thomas Friedel 2020-02-18 17:05:56 +0100
  • e3098ff636 images are likely rgba Thomas Friedel 2020-02-14 16:36:06 +0100
  • 3e6e46ca0d reverted a previous change as it was not correct Thomas Friedel 2020-02-14 16:34:38 +0100
  • 55572c59da added performance setting for image cache size Thomas Friedel 2020-02-14 16:30:40 +0100
  • 637509b5d4 minor fixes Thomas Friedel 2020-02-14 16:28:24 +0100
  • 7f7efd5a8a the image cache is now limited to 16mb Thomas Friedel 2020-02-14 16:28:12 +0100
  • 0d915f7178 fixed and improved shadows Thomas Friedel 2020-02-12 17:38:33 +0100
  • 7213b3edcd much better shadow performance Thomas Friedel 2020-02-12 11:24:00 +0100
  • 8b79ad18fa fully unified into one shader updated shadow test Thomas Friedel 2020-02-11 15:59:26 +0100
  • f5e7e6a060 replaced the gaussian shadow shaders with box blur shaders Thomas Friedel 2020-02-11 15:45:48 +0100
  • 598ac1e325 simplified the drawBlurred function Thomas Friedel 2020-02-11 15:17:06 +0100
  • b0230892ab added image shader into unified shader Thomas Friedel 2020-02-11 14:51:24 +0100
  • 50bf39fe62 unified some of the shaders to simplify Thomas Friedel 2020-02-11 13:24:06 +0100
  • 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 v0.10.0 Thomas Friedel 2020-02-11 11:28:18 +0100
  • 259bb9e598 fixed Arc and ArcTo scaling Thomas Friedel 2020-02-11 10:59:55 +0100
  • 50c77477c9 another triangulation bugfix, points should be considered inside the polygon if they are on a line, with a small amount of tolerance Thomas Friedel 2020-02-01 16:21:00 +0100
  • 3f85d64ff3 ignore files starting with _ Thomas Friedel 2020-02-01 15:51:45 +0100
  • 1333730731 fixed a triangulation bug Thomas Friedel 2020-02-01 15:51:21 +0100
  • 6912878a8c sdlcanvas and glfwcanvas now scale automatically for hidpi removed glfw 3.2 dependency Thomas Friedel 2020-01-25 16:56:32 +0100
  • 04d4dab3ff fixed resize when using macOS hidpi Thomas Friedel 2020-01-25 16:35:15 +0100
  • ecadd0e5ec added support for macOS hidpi when using SDL updated to go-sdl 0.4 Thomas Friedel 2020-01-25 16:29:27 +0100
  • c8ff508299 updated glfw code to fix scaling on macOS Thomas Friedel 2020-01-25 15:59:54 +0100
  • 79fde3ee1d
    Merge pull request #22 from kanle-hotstar/bugfix/avoid-panic-when-loading-image-cache v0.9.3 Thomas Friedel 2019-12-18 16:57:50 +0100
  • 9729daa6d4 Fix a panic issue of loading an image from cache Kanle Shi 2019-12-13 14:49:38 +0800
  • f0367ee72d GetImageData bugfix v0.9.2 Thomas Friedel 2019-12-04 12:13:09 +0100
  • fd1cca7ba9 LoadImage now also checks cache; updated go.mod/go.sum Thomas Friedel 2019-11-26 10:34:34 +0100
  • 71741d4234 fixed a bug with anticlockwise arcs and ellipses updated to new sdl library version v0.9.1 Thomas Friedel 2019-10-01 12:04:13 +0200
  • 239ab21259 added ellipse function Thomas Friedel 2019-10-01 11:49:58 +0200
  • 950d2bb30a added go version to go.mod Thomas Friedel 2019-10-01 11:27:10 +0200
  • 58e7c45597 fixed key name Thomas Friedel 2019-10-01 11:26:50 +0200
  • 98a8334efc added a todo, regenerated xmobile backend Thomas Friedel 2019-07-10 11:34:32 +0200
  • 9f92f2c5c4 added an error if glGenTextures fails Thomas Friedel 2019-07-10 11:34:21 +0200
  • 5ce888f8b9 small performance improvements Thomas Friedel 2019-05-23 16:32:03 +0200
  • b5212c916a added an example for software rendering updated readme Thomas Friedel 2019-05-13 12:29:15 +0200
  • 349e01e301 removed the shaders from the main canvas package, which were no longer used Thomas Friedel 2019-05-13 12:19:56 +0200
  • 92d388c3c4 tests should run on OpenGL backend v0.9.0 Thomas Friedel 2019-05-13 12:07:22 +0200
  • 0386303dd6 updated readme Thomas Friedel 2019-05-13 12:03:55 +0200
  • e44b120ad8 removed gaussian blur code Thomas Friedel 2019-05-13 11:56:53 +0200
  • 3695a6ef59 improved box blur accuracy Thomas Friedel 2019-05-13 11:56:36 +0200
  • 62e4cae716 image mask uses fill style Thomas Friedel 2019-05-05 11:48:00 +0200
  • ea3cb81231 renamed mask to stencil Thomas Friedel 2019-05-05 11:38:24 +0200
  • c945678725 fixed xmobile backend Thomas Friedel 2019-05-05 10:29:15 +0200
  • 505386f199 added shadow blur to software implementation Thomas Friedel 2019-05-04 22:36:14 +0200
  • e0b88c0ca6 implemented MSAA on quad drawing Thomas Friedel 2019-05-04 12:37:57 +0200
  • 17b212acba implemented msaa Thomas Friedel 2019-05-03 21:31:57 +0200
  • 554fa84a0a added code for MSAA, doesn't work properly yet though Thomas Friedel 2019-05-03 12:10:05 +0200
  • d56f68b2e7 implemented software image pattern filling, added a test Thomas Friedel 2019-05-02 13:06:24 +0200
  • 4e5c38b295 implemented mipmapping Thomas Friedel 2019-05-01 22:21:07 +0200
  • bbcb712b73 renamed the backend directories so they match the package names Thomas Friedel 2019-04-24 15:57:43 +0200
  • 623a4742ce removed debug code Thomas Friedel 2019-04-24 13:22:58 +0200
  • bfbd54827b ignore .vscode dir Thomas Friedel 2019-04-24 13:22:32 +0200
  • a913b8b33b implemented software gradients Thomas Friedel 2019-04-24 13:22:24 +0200
  • e3bb07a09c fixed image drawing, added some interpolation Thomas Friedel 2019-04-18 12:36:05 +0200
  • a0a1adef12 fixed overlapping alpha Thomas Friedel 2019-04-18 10:55:03 +0200
  • 9edbb8da85 added a boolean to run tests on the software backend Thomas Friedel 2019-04-18 10:49:57 +0200
  • ec3bde6374 proper color mixing Thomas Friedel 2019-04-17 13:12:57 +0200
  • 4d0f41cc6b more precise rasterization Thomas Friedel 2019-04-17 13:01:38 +0200
  • 973e410204 more accurate rasterizing Thomas Friedel 2019-04-16 17:25:48 +0200
  • d1d2186a2f added a function to run the tests on the software backend Thomas Friedel 2019-04-16 16:39:53 +0200
  • 7fa1f9096f implemented FillImageMask in software backend Thomas Friedel 2019-04-16 16:33:55 +0200
  • faf179caa0 implemented clipping and drawImage Thomas Friedel 2019-04-16 16:15:23 +0200