Commit Graph

272 Commits

Author SHA1 Message Date
Allen Ray b61f150701
Merge pull request #285 from cebarks/msaa
Add Multisample Anti-aliasing support
2021-08-31 08:36:26 -04:00
Allen Ray f079cc25fe
Update window.go 2021-08-31 08:35:57 -04:00
Anten Skrabec 1d936eae7b add comment about power of two setting for msaa samples 2021-08-17 23:23:32 -06:00
Allen Ray 6c717101a7
Merge branch 'master' into clipTris 2021-08-16 09:55:30 -04:00
Anten Skrabec f6e2f3a8d8 add check for valid msaa values in NewWindow() 2021-08-15 23:31:06 -06:00
Alexandru-Paul Copil bb0a0f485e Optimize *GLShader.Update() by allocating array before for loop 2021-07-09 10:44:48 +03:00
Alexandru-Paul Copil aae9927b58 Apply gofumpt and basic styling changes 2021-07-09 10:43:10 +03:00
Allen Ray 9307280c91
Merge pull request #283 from dusk125/master 2021-06-22 07:49:51 -04: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
Allen Ray 798c6c2a48 Adding new triangles type: TrianglesClipped 2021-06-21 10:29:53 -04:00
Allen Ray 063b8952f9 Adding Clipboard get/set functions to window 2021-06-21 08:42:27 -04:00
Jacob Stewart b31c294d4d Added input event tracking to prevent missed inputs 2021-01-28 20:13:28 -05:00
Alex R. Delp 24ffdadbf8
Merge pull request #258 from crthpl/master
Clipboard Support
2021-01-26 17:30:48 -08:00
Theoo3 7027267cbf Clipboard 2020-09-12 10:56:39 -07:00
Allen Ray 865e930023
Merge branch 'master' into tri_shader 2020-06-28 20:03:04 -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
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