Thomas Friedel
|
afbdfdec44
|
added a Size function to get the window size
|
2018-11-13 12:19:05 +01:00 |
|
Thomas Friedel
|
4327bd938a
|
added offscreen rendering to test cases
|
2018-11-01 17:32:02 +01:00 |
|
Thomas Friedel
|
7297427a70
|
fixed a bug with offscreen rendering
|
2018-11-01 17:31:36 +01:00 |
|
Thomas Friedel
|
4debf145d2
|
added an example for a gomobile (gomobile build) implementation
|
2018-10-31 12:43:15 +01:00 |
|
Thomas Friedel
|
a01a6799f1
|
reduced the maximum shadow blur size to avoid running into some gpu limitations for now
|
2018-10-31 12:39:14 +01:00 |
|
Thomas Friedel
|
6f74599567
|
added an offscreen canvas
|
2018-10-31 12:30:39 +01:00 |
|
Thomas Friedel
|
d7513ddf4d
|
added window resize and close handling to glfwcanvas package
|
2018-10-31 11:58:09 +01:00 |
|
Thomas Friedel
|
be6d1db04f
|
fixed that restoring after calling clip didn't always restore properly
|
2018-10-27 15:02:17 +02:00 |
|
Thomas Friedel
|
93d30a1ff7
|
added a glfwcanvas subpackage
|
2018-10-20 14:42:29 +02:00 |
|
Thomas Friedel
|
32bbbdd7c8
|
added a way to replace an image after it has been loaded
|
2018-10-20 12:43:25 +02:00 |
|
Thomas Friedel
|
091db17ac0
|
DrawImage can now take image.Image values; added error messages if the automatic image and font loading doesn't work
|
2018-10-06 18:20:20 +02:00 |
|
Thomas Friedel
|
c71711e498
|
fixed a bug when text was rendered starting left of the window
|
2018-10-04 19:09:24 +02:00 |
|
Thomas Friedel
|
b73d093683
|
implemented line dash offset
|
2018-09-18 15:17:04 +02:00 |
|
Thomas Friedel
|
e887b6ad3e
|
updated xmobile implementation for new version, also added to tests
|
2018-09-18 15:07:45 +02:00 |
|
Thomas Friedel
|
c30fb5f4d3
|
removed unnecessary blank identifier
|
2018-09-18 15:02:06 +02:00 |
|
Thomas Friedel
|
3d82ce6998
|
completed the gl implementations
|
2018-09-18 15:00:50 +02:00 |
|
Thomas Friedel
|
34c01f47d4
|
added checks that LoadGL is called before anything else is done
|
2018-09-18 14:20:08 +02:00 |
|
Thomas Friedel
|
caaba150e8
|
fixed a bug when lines in a polygon are parallel
|
2018-09-18 14:15:42 +02:00 |
|
Thomas Friedel
|
77993ea244
|
added MouseWheel event function
|
2018-09-08 11:07:55 +02:00 |
|
Thomas Friedel
|
bfed5dc792
|
implemented text stroking
|
2018-09-01 17:06:00 +02:00 |
|
Thomas Friedel
|
56995ff396
|
line dash is now only applied when calling stroke
|
2018-09-01 16:42:07 +02:00 |
|
Thomas Friedel
|
4c11aac929
|
added another test
|
2018-09-01 15:59:14 +02:00 |
|
Thomas Friedel
|
1392b6caa8
|
added two more tests
|
2018-08-06 17:17:04 +02:00 |
|
Thomas Friedel
|
368dda1372
|
disabled multisampling for tests
|
2018-07-31 11:52:32 +02:00 |
|
Thomas Friedel
|
b6c22b9374
|
line dash bugfix, implemented getLineDash, added a test
|
2018-07-30 14:56:19 +02:00 |
|
Thomas Friedel
|
a68d11e11a
|
two more tests
|
2018-07-27 16:55:03 +02:00 |
|
Thomas Friedel
|
ee6bdb3af3
|
added two more test cases
|
2018-07-27 16:46:32 +02:00 |
|
Thomas Friedel
|
61612d0b50
|
fixed a bug in the triangulation function
|
2018-07-27 16:46:18 +02:00 |
|
Thomas Friedel
|
f32a3df7f6
|
started adding tests
|
2018-07-27 16:28:15 +02:00 |
|
Thomas Friedel
|
cd8fea11e5
|
mark shadowBlur as implemented
|
2018-07-27 15:59:29 +02:00 |
|
Thomas Friedel
|
afad74f7b2
|
vary the gaussian shader kernel size depending on the blur radius for better performance
|
2018-07-27 15:58:38 +02:00 |
|
Thomas Friedel
|
f2225e857a
|
implemented shadowBlur (wip)
|
2018-07-27 14:11:53 +02:00 |
|
Thomas Friedel
|
0cb030619e
|
added a function to switch to an offscreen framebuffer
|
2018-07-24 12:50:18 +02:00 |
|
Thomas Friedel
|
aabe03b003
|
added support for miter limit
|
2018-07-19 18:05:41 +02:00 |
|
Thomas Friedel
|
5da544d78b
|
performance optimization, avoid use of stencil buffer when drawing with opaque styles
|
2018-07-19 16:59:22 +02:00 |
|
Thomas Friedel
|
78a6d8f020
|
bugfix for text getting cut off
|
2018-07-03 13:02:17 +02:00 |
|
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 |
|