Commit Graph

252 Commits

Author SHA1 Message Date
Allen Ray e79a8c37e6 Adding support for clipping rectangles in GLTriangles 2020-06-21 22:51:08 -04:00
André 6cef9cf779 rename method and handle negative timeouts 2020-06-16 21:11:41 +02:00
André a61d321615 expose glfw.WaitEvent using Window.WaitInput 2020-06-14 17:52:03 +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 625c4c393d
Merge pull request #233 from zergon321/gamepad-support
Gamepad API added.
2020-05-18 18:30:17 -07:00
Friedrich Große 70eff126da
Merge branch 'master' into window-initial-position 2020-05-11 18:04:58 +02:00
Friedrich Große b7d5e41486 Support setting an initial window position 2020-05-09 21:07:17 +02:00
Friedrich Große 5e3b82eeab Support glfw.TransparentFramebuffer window hint 2020-05-09 20:59:40 +02:00
zergon321 0a8feedd8a Gamepad API added. 2020-05-09 17:17:24 +03:00
Alex R. Delp 197e604220
Merge pull request #211 from zergon321/add-glfw-v33
pixelgl has been ported to GLFW 3.3.
2020-05-08 19:18:31 -07:00
Alex R. Delp d35b25061e
Merge pull request #214 from jared-nishikawa/master
Added DisableCursor
2020-05-06 17:02:32 -07:00
zergon321 8909d199d1 Revert "Gamepad API added."
This reverts commit 484c1775b0.
2020-04-20 21:46:15 +03:00
zergon321 09ea5585a0 Revert "Magic number removed."
This reverts commit 7e3a88ef63.
2020-04-20 21:43:49 +03:00
Luke Meyers effd43bc56 Expose pixelgl.Window.SwapBuffers
Allow buffers to be swapped without polling input, offering decoupling symmetrical with that provided by UpdateInput.
2020-02-09 20:59:59 -08:00
Jared fc29ad7886 changed name to SetCursorDisabled 2020-02-07 16:22:39 -07:00
Jared 93a24aa6df Added DisableCursor 2020-01-08 22:24:48 -07:00
nightghost 7e3a88ef63 Magic number removed. 2020-01-05 21:47:11 +03:00
nightghost 484c1775b0 Gamepad API added. 2020-01-05 21:37:24 +03:00
nightghost a3aba6004d pixelgl has been ported to GLFW 3.5. 2019-12-31 01:59:20 +03:00
Friedrich Große dd5e0d8b09 Adding NoIconify and AlwaysOnTop GLFW window hints 2019-05-30 14:29:43 +02:00
Ben Cragg 85b18b567a prevented concurrent race condition 2019-04-15 11:20:40 +01:00
CodeLingo Bot 489b03138f Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-11 00:45:01 +00:00
Humphrey Shotton 3be890ea80 Use JoystickLast instead of Joystick16 2019-01-22 21:48:24 +00:00
Humphrey Shotton a46f6f6cf4 Correctly index joysticks in internal state 2019-01-22 21:37:15 +00:00
Stephen Michaelis 8d20deea05 update MouseEntered to MouseInsideWindow 2019-01-21 17:13:51 -05:00
Stephen Michaelis 4c817d7c20 adding mouse operations 2019-01-19 10:24:01 -05:00
Humphrey Shotton 026878de07 Mark API as experimental 2019-01-10 19:25:55 +00:00
Humphrey Shotton 52b4384240 Removed JoystickLast 2019-01-09 21:07:46 +00:00
Humphrey Shotton 676509d856 Added joystick input 2018-12-30 18:42:02 +00:00
Magnus c18b8f1c29
Added position as out variable from vertex shader.
Adding the position out form vertex shader makes us skip computation of position in the fragment shader based on gl_FragCoord.
2018-12-11 09:24:17 +01:00
Brandon dc545043c1 lowercased SetUniform arguments 2018-10-07 12:28:20 -06:00
Brandon f4edf628b1 standardized glsl variable naming 2018-10-07 08:33:37 -06:00
Brandon e9dfd22ffa pr 141 review #3 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-162261776 2018-10-06 10:27:47 -06:00
Brandon fa10844351 pr 141 review #2 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-162259357 2018-10-06 10:01:05 -06:00
Brandon a25a444cbf pr 141 review #1 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-161208458 2018-10-03 13:02:10 -06:00
Brandon 45642083a2 renamed file shader.go to glshader.go 2018-10-03 09:37:10 -06:00
Brandon 55d3a6ab00 implemented custom fragment shader support 2018-10-02 08:59:37 -06:00
David Linus Briemann 446247e369 adjusts VideoMode and associated function to pull request change requests. 2018-05-04 18:03:25 +02:00
David Linus Briemann 2a1ab90ad5 adds a community example for the usage of video modes 2018-05-03 20:52:42 +02:00
faiface 3cf59b1044 fix #100 2018-02-26 18:38:12 +01:00
mewmew 98be0b43c8 pixelgl: clarify UpdateInput docs 2018-01-04 19:23:53 +01:00
mewmew 6c69d9b06b pixelgl: export UpdateInput 2018-01-01 21:04:56 +01:00
ALex Ogier 3c78161418 add GetPos function to window 2017-11-20 13:37:22 +13:00
faiface e554b1e3c1 dirty fix #58 (panic on minimizing windows) 2017-11-08 22:28:32 +01:00
Sander Schobers 48e37828c8 Added SetPos to pixelgl.Window 2017-10-27 20:35:45 +02:00
faiface 12df203229 Merge branch 'dev' 2017-06-11 01:19:57 +02:00
Seebs f68301dcd8 don't call Len() when it can't change
updateData()'s loops checking gt.Len() turns out to have been costing
significant computation, not least because each call then in turn
called gt.vs.Stride().
2017-06-10 10:47:18 -05:00
faiface cfdc8beb81 switch back to OpenGL 3.3 (OS X issues) 2017-06-10 15:11:45 +02:00
faiface 1fd110ce4c optimize GLTriangles SetLen and Update 2017-06-10 01:10:59 +02:00
faiface 3665eaf702 Merge branch 'master' into gl2.1 2017-06-09 19:26:14 +02:00