Commit Graph

972 Commits

Author SHA1 Message Date
Anten Skrabec f6e2f3a8d8 add check for valid msaa values in NewWindow() 2021-08-15 23:31:06 -06:00
Anten Skrabec 7615c055cf move gl.Enable call to inside gl context in window creation 2021-06-21 14:13:43 -06:00
Anten Skrabec 80b107c039 add multisampling 2021-06-21 13:51:26 -06:00
Allen Ray 98f3e740e6
Merge pull request #272 from jstewart7/master
Added input event tracking to prevent missed inputs
2021-06-21 15:07:48 -04:00
Alex R. Delp 842ae8d470 Add some unit tests to a few geometry functions. 2021-01-29 08:41:37 -08:00
Jacob Stewart b31c294d4d Added input event tracking to prevent missed inputs 2021-01-28 20:13:28 -05:00
Alex R. Delp 75e7b4120b
Update CHANGELOG.md 2021-01-26 17:42:25 -08:00
Alex R. Delp 0e9102e224
Update CHANGELOG.md 2021-01-26 17:41:59 -08:00
Alex R. Delp 2101dc89e3
Merge pull request #252 from roipoussiere/anchor
Add AnchorPos struct and functions
2021-01-26 17:41:24 -08:00
Alex R. Delp eae5a2e96b
Update CHANGELOG.md 2021-01-26 17:31:32 -08:00
Alex R. Delp 24ffdadbf8
Merge pull request #258 from crthpl/master
Clipboard Support
2021-01-26 17:30:48 -08:00
Alex R. Delp f931f69d6e
Update CHANGELOG.md 2020-11-21 20:24:00 -08:00
Alex R. Delp 6e34aae429
Merge pull request #246 from dusk125/tri_shader
#244 GLTriangle's fragment shader is used when rendered by the Canvas.
2020-11-21 20:22:37 -08:00
Alex R. Delp cef3a7e7a6
Update CHANGELOG.md 2020-11-21 19:58:32 -08:00
Alex R. Delp fd754b5263
Merge pull request #262 from snargleplax/rangeTargets
Use slice for range in Drawer.Dirty(), to improve performance
2020-11-21 19:56:25 -08:00
Luke Meyers ef6cafa0cb Use slice for range in Drawer.Dirty(), to improve performance 2020-10-12 22:31:00 -07:00
Theoo3 7a67b10cec undo go.mod change 2020-09-12 11:02:02 -07:00
Theoo3 7027267cbf Clipboard 2020-09-12 10:56:39 -07:00
Alex R. Delp ba7fa122b2
Update CHANGELOG.md 2020-08-22 09:50:41 -07:00
Alex R. Delp 65ff420b25
Merge pull request #253 from roipoussiere/fix-newatlas
tests and fixes faiface#123, SIGSEGV on text.NewAtlas if glyph absent
2020-08-22 09:49:59 -07:00
Alex R. Delp fd73dd5216
Update CHANGELOG.md 2020-08-22 09:43:47 -07:00
Alex R. Delp 775e23efac
Update CHANGELOG.md 2020-08-22 09:39:04 -07:00
Alex R. Delp ae6c93ba96
Update CHANGELOG.md 2020-08-22 09:37:06 -07:00
Nathanael Jourdane 3b599e70ec Fix text anchor position when txt.Bounds().W() != txt.Dot.X-txt.Orig.X 2020-08-22 15:31:07 +02:00
Nathanael Jourdane 7d92e04e63 tests and fixes faiface#123, SIGSEGV on text.NewAtlas if glyph absent 2020-08-13 11:57:30 +02:00
Nathanael Jourdane c9681cec8a Add Anchor.Opposite() func 2020-08-12 17:31:05 +02:00
Nathanael Jourdane 2342984744 bugfix: inverse all anchors 2020-08-12 17:24:29 +02:00
Nathanaël a8b7779fbe Add Text.AlignedTo() 2020-08-11 22:16:16 +02:00
Nathanaël Jourdane 7a106fa572 Makes Anchor a type Vec instead of a struct 2020-08-11 11:33:05 +02:00
Nathanaël e66e94b943 func AlignedTo is used for Rect instead of Matrix 2020-08-11 09:17:51 +02:00
Nathanaël d6663ba0a0 Add Matrix.Aligned() 2020-08-11 08:44:39 +02:00
Nathanaël Jourdane 50e1d8c96b Add Rect.AnchorTo() 2020-08-10 17:25:09 +02:00
Nathanaël Jourdane 2c79e7325a Add AnchorPos struct and functions 2020-08-10 15:57:56 +02:00
Allen Ray 865e930023
Merge branch 'master' into tri_shader 2020-06-28 20:03:04 -04:00
Alex R. Delp 88b1e1c2d3
Merge pull request #245 from dusk125/master
Adding Clipping rectangle support in GLTriangles
2020-06-28 16:54:03 -07:00
Allen Ray 850dd62a98 Updating changelog 2020-06-28 12:58:13 -04:00
Allen Ray 926463aa6f #244 GLTriangle's fragment shader is used when rendered by the Canvas.
Allows for custom fragment shaders to be used after canvas.MakeTriangles.
2020-06-21 23:27:28 -04:00
Allen Ray 543819d066 Forgot to add import in PR 2020-06-21 23:09:08 -04:00
Allen Ray c3e5e4fdb2 Moved triangle clipping to the proper location 2020-06-21 22:54:23 -04:00
Allen Ray e79a8c37e6 Adding support for clipping rectangles in GLTriangles 2020-06-21 22:51:08 -04:00
Alex R. Delp d65a63e962
Merge pull request #243 from andrebq/master
expose glfw.WaitEvent using Window.WaitInput
2020-06-17 12:21:18 -07:00
André 6cef9cf779 rename method and handle negative timeouts 2020-06-16 21:11:41 +02:00
André 1f914181d8 add entry to CHANGELOG 2020-06-14 18:28:14 +02:00
André a61d321615 expose glfw.WaitEvent using Window.WaitInput 2020-06-14 17:52:03 +02:00
Alex R. Delp 585f7c1f14
Merge pull request #237 from fgrosse/more-window-hints
Add window hints to created maximized or invisible windows
2020-05-24 00:01:25 -07:00
Friedrich Große 607e0a11c0 Update changelog 2020-05-21 12:00:13 +02:00
Friedrich Große 506588f40b Add window hints to created maximized or invisible windows 2020-05-21 11:56:00 +02:00
Alex R. Delp 42582c7f8e
Update CHANGELOG.md 2020-05-18 18:30:40 -07:00
Alex R. Delp 625c4c393d
Merge pull request #233 from zergon321/gamepad-support
Gamepad API added.
2020-05-18 18:30:17 -07:00
Alex R. Delp 5568202e30
Merge pull request #235 from fgrosse/window-initial-position
Support setting an initial window position
2020-05-16 09:09:35 -07:00