Thomas Friedel
|
3e6e46ca0d
|
reverted a previous change as it was not correct
|
2020-02-14 16:34:38 +01:00 |
|
Thomas Friedel
|
55572c59da
|
added performance setting for image cache size
|
2020-02-14 16:30:40 +01:00 |
|
Thomas Friedel
|
637509b5d4
|
minor fixes
|
2020-02-14 16:28:24 +01:00 |
|
Thomas Friedel
|
7f7efd5a8a
|
the image cache is now limited to 16mb
|
2020-02-14 16:28:12 +01:00 |
|
Thomas Friedel
|
0d915f7178
|
fixed and improved shadows
|
2020-02-12 17:38:33 +01:00 |
|
Thomas Friedel
|
7213b3edcd
|
much better shadow performance
|
2020-02-12 15:53:46 +01:00 |
|
Thomas Friedel
|
8b79ad18fa
|
fully unified into one shader
updated shadow test
|
2020-02-11 15:59:28 +01:00 |
|
Thomas Friedel
|
f5e7e6a060
|
replaced the gaussian shadow shaders with box blur shaders
|
2020-02-11 15:45:48 +01:00 |
|
Thomas Friedel
|
598ac1e325
|
simplified the drawBlurred function
|
2020-02-11 15:20:29 +01:00 |
|
Thomas Friedel
|
b0230892ab
|
added image shader into unified shader
|
2020-02-11 14:51:24 +01:00 |
|
Thomas Friedel
|
50bf39fe62
|
unified some of the shaders to simplify
|
2020-02-11 13:28:34 +01:00 |
|
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
|
259bb9e598
|
fixed Arc and ArcTo scaling
|
2020-02-11 11:10:53 +01:00 |
|
Thomas Friedel
|
50c77477c9
|
another triangulation bugfix, points should be considered inside the polygon if they are on a line, with a small amount of tolerance
|
2020-02-01 16:25:11 +01:00 |
|
Thomas Friedel
|
3f85d64ff3
|
ignore files starting with _
|
2020-02-01 15:51:45 +01:00 |
|
Thomas Friedel
|
1333730731
|
fixed a triangulation bug
|
2020-02-01 15:51:21 +01:00 |
|
Thomas Friedel
|
6912878a8c
|
sdlcanvas and glfwcanvas now scale automatically for hidpi
removed glfw 3.2 dependency
|
2020-01-25 16:56:32 +01:00 |
|
Thomas Friedel
|
04d4dab3ff
|
fixed resize when using macOS hidpi
|
2020-01-25 16:35:15 +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
|
79fde3ee1d
|
Merge pull request #22 from kanle-hotstar/bugfix/avoid-panic-when-loading-image-cache
Fix a panic issue of loading an image from cache
|
2019-12-18 16:57:50 +01:00 |
|
Kanle Shi
|
9729daa6d4
|
Fix a panic issue of loading an image from cache
|
2019-12-13 14:49:38 +08:00 |
|
Thomas Friedel
|
f0367ee72d
|
GetImageData bugfix
|
2019-12-04 12:13:09 +01:00 |
|
Thomas Friedel
|
fd1cca7ba9
|
LoadImage now also checks cache; updated go.mod/go.sum
|
2019-11-26 12:13:03 +01:00 |
|
Thomas Friedel
|
71741d4234
|
fixed a bug with anticlockwise arcs and ellipses
updated to new sdl library version
|
2019-10-01 12:04:18 +02:00 |
|
Thomas Friedel
|
239ab21259
|
added ellipse function
|
2019-10-01 11:49:58 +02:00 |
|
Thomas Friedel
|
950d2bb30a
|
added go version to go.mod
|
2019-10-01 11:27:10 +02:00 |
|
Thomas Friedel
|
58e7c45597
|
fixed key name
|
2019-10-01 11:26:50 +02:00 |
|
Thomas Friedel
|
98a8334efc
|
added a todo, regenerated xmobile backend
|
2019-07-10 11:36:02 +02:00 |
|
Thomas Friedel
|
9f92f2c5c4
|
added an error if glGenTextures fails
|
2019-07-10 11:34:21 +02:00 |
|
Thomas Friedel
|
5ce888f8b9
|
small performance improvements
|
2019-05-23 16:32:03 +02:00 |
|
Thomas Friedel
|
b5212c916a
|
added an example for software rendering
updated readme
|
2019-05-13 12:29:25 +02:00 |
|
Thomas Friedel
|
349e01e301
|
removed the shaders from the main canvas package, which were no longer used
|
2019-05-13 12:19:56 +02:00 |
|
Thomas Friedel
|
92d388c3c4
|
tests should run on OpenGL backend
|
2019-05-13 12:07:22 +02:00 |
|
Thomas Friedel
|
0386303dd6
|
updated readme
|
2019-05-13 12:03:55 +02:00 |
|
Thomas Friedel
|
e44b120ad8
|
removed gaussian blur code
|
2019-05-13 11:56:53 +02:00 |
|
Thomas Friedel
|
3695a6ef59
|
improved box blur accuracy
|
2019-05-13 11:56:36 +02:00 |
|
Thomas Friedel
|
62e4cae716
|
image mask uses fill style
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
ea3cb81231
|
renamed mask to stencil
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
c945678725
|
fixed xmobile backend
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
505386f199
|
added shadow blur to software implementation
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
e0b88c0ca6
|
implemented MSAA on quad drawing
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
17b212acba
|
implemented msaa
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
554fa84a0a
|
added code for MSAA, doesn't work properly yet though
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
d56f68b2e7
|
implemented software image pattern filling, added a test
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
4e5c38b295
|
implemented mipmapping
|
2019-05-12 13:06:23 +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
|
623a4742ce
|
removed debug code
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
bfbd54827b
|
ignore .vscode dir
|
2019-05-12 13:06:23 +02:00 |
|
Thomas Friedel
|
a913b8b33b
|
implemented software gradients
|
2019-05-12 13:06:23 +02:00 |
|