Commit Graph

4503 Commits

Author SHA1 Message Date
Hajime Hoshi
15cad6ed9a graphics: Rename shareableImages -> mipmap 2018-10-25 02:05:25 +09:00
Hajime Hoshi
022c40aa17 graphics: Move creating mipmap logic to shareableImages 2018-10-25 01:35:34 +09:00
Hajime Hoshi
4cd3e3ae30 Update go.mod/go.sum 2018-10-24 01:16:17 +09:00
Hajime Hoshi
7494b19dea graphics: Refactoring: Add shareableImages struct 2018-10-24 01:09:59 +09:00
Hajime Hoshi
68199f85c9 docs: Update 2018-10-18 23:19:18 +09:00
Hajime Hoshi
057c16e4eb Update go.mod 2018-10-18 23:16:40 +09:00
Hajime Hoshi
7cf85abb86 docs: Use transparent background at example iframes 2018-10-17 02:51:17 +09:00
Hajime Hoshi
6bc6c6674f docs: Update 2018-10-16 00:47:29 +09:00
Hajime Hoshi
2c9a634752 Update version to 1.9.0-alpha 2018-10-16 00:19:04 +09:00
Hajime Hoshi
d14202ef7b audio: Add Context.IsReady
Fixes #717
2018-10-16 00:02:19 +09:00
Hajime Hoshi
b6f7a0043c examples/windowsize: Show DeviceScaleFactor 2018-10-14 19:15:26 +09:00
Hajime Hoshi
7e29a81177 ui: Refactoring 2018-10-14 18:28:27 +09:00
Hajime Hoshi
443e3ae3a4 examples/windowsize: Bug fix: Strange delta of window size 2018-10-14 17:34:02 +09:00
Hajime Hoshi
0c4ef7ee8e ui: Bug fix: fix the initial window position on multiple monitors 2018-10-14 16:59:14 +09:00
Hajime Hoshi
13174cdb22 examples/flappy: Should use fullscreen on Wasm 2018-10-14 01:21:13 +09:00
Hajime Hoshi
56541a8c0a examples/blocks: Fix message 2018-10-14 00:55:27 +09:00
Hajime Hoshi
b56061281d ui: Add comments 2018-10-13 22:41:21 +09:00
Hajime Hoshi
a073f48faf input: Bug fix: keypress event were not fired
This change suspends to 'preventDefault' on keydown events.

Now preventing navigation by pressing backspace is deprecated in
Chrome. For other keys, it looks like keyup's preventDefault is
enough to disable the browser default behavior.
2018-10-13 19:18:13 +09:00
Hajime Hoshi
d6e109555d examples/blocks: Bug fix: multiple gamepad detection 2018-10-13 16:59:52 +09:00
Hajime Hoshi
8ed02efd28 examples/blocks: Improve gameover message 2018-10-13 16:59:52 +09:00
Hajime Hoshi
244e078810 examples/audioinfiniteloop: Fix message 2018-10-13 14:46:13 +09:00
Hajime Hoshi
faf32b9d37 devicescale: Plan 9 support 2018-10-13 04:08:40 +09:00
Hajime Hoshi
0fb33e7c36 examples/highdpi: Bug fix: doesn't work well on multiple monitors 2018-10-13 03:59:31 +09:00
Hajime Hoshi
7f291b7bb1 Fix screenshot/internal-images file names 2018-10-13 03:24:02 +09:00
Hajime Hoshi
f59f1990e7 docs: Reword GoDoc -> API 2018-10-13 01:12:47 +09:00
Hajime Hoshi
13aa4f69e0 docs: Update websites 2018-10-13 01:04:13 +09:00
Hajime Hoshi
f4ea5aef2e
docs: Update README 2018-10-13 00:52:34 +09:00
Hajime Hoshi
922ec70cf9 affine: Misspelling 2018-10-13 00:07:48 +09:00
Hajime Hoshi
1ac17862d4 docs: Fix about audio 2018-10-12 01:27:17 +09:00
Hajime Hoshi
9eac57f588 docs: Update 2018-10-12 01:25:49 +09:00
Hajime Hoshi
659f3ad8a0 examples/fullscreen: Fix offset 2018-10-12 01:11:14 +09:00
Hajime Hoshi
0509abfab6 examples: Use FilterDefault at NewImage 2018-10-12 00:40:48 +09:00
Hajime Hoshi
7e604c6890 input: Fix comments 2018-10-11 22:36:38 +09:00
Hajime Hoshi
6a9184dd63 ui: Add MonitorSize again
Fixes #711
2018-10-11 10:30:02 +09:00
Hajime Hoshi
b9328bf14d graphics: Add tests for #710 2018-10-11 02:44:51 +09:00
Hajime Hoshi
5e09da1298 graphics: Bug fix: don't apply color matrix when creating mipmap images
TODO: Add tests.

Fixes #710
2018-10-11 02:34:07 +09:00
Hajime Hoshi
4813650735 docs: Add 'animation' example 2018-10-11 01:39:47 +09:00
Hajime Hoshi
e6d385133a Change the screenshot location 2018-10-11 01:39:33 +09:00
Hajime Hoshi
3600c8aa6c ui: Add documents about concurrent-safety
Fixes #709.
2018-10-10 23:23:30 +09:00
Hajime Hoshi
34596bb1cf ui: Bug fix: IsVsyncEnabled can cause deadlock 2018-10-10 23:17:45 +09:00
Hajime Hoshi
b4a4b87b56 ui: Bug fix: ScreenSizeInFullscreen returned wrong scaled values
Fixes #708
2018-10-10 03:10:18 +09:00
Hajime Hoshi
e971f6d41c ui: Avoid glfw.GetCurrentContext for threading issues 2018-10-10 01:45:39 +09:00
Hajime Hoshi
b5344bc994 ui: glfwScale must be called on the main thread 2018-10-10 01:07:47 +09:00
Hajime Hoshi
c758a1f8c6 ui: Rename MonitorSize -> ScreenSizeInFullscreen (#708) 2018-10-09 23:42:03 +09:00
Hajime Hoshi
0a54ce48fd Add Yuval Langer to AUTHORS 2018-10-09 03:20:18 +09:00
Yuval Langer
8ba787522f Fix minor typo (#706) 2018-10-09 03:19:27 +09:00
Hajime Hoshi
ab195a08a2 ui: Update GLFW
The latest GLFW includes the fix for #648.

Fixes #648
2018-10-08 23:43:18 +09:00
Hajime Hoshi
bfb34499c6 Update go.mod 2018-10-08 18:30:30 +09:00
Hajime Hoshi
dbe71e81bd ui: Bug fix: currentMonitorPos returned wrong values on macOS
[NSScreen mainScreen] sometimes returned a wrong screen for the
window. Use [[NSApp mainWindow] screen] when possible.

Fixes #703
2018-10-08 05:40:07 +09:00
Hajime Hoshi
c4a066ecd0 ui: Fix wrong comments about Windows 2018-10-08 04:06:44 +09:00