Hajime Hoshi
ad380a32f4
internal/glfwwin: split GDK part to a new package internal/microsoftgdk
...
Updates #1162
2022-05-29 19:25:26 +09:00
Hajime Hoshi
7f46938ff7
internal/glfwwin: return an error at initWGL on Xbox
...
Updates #1162
2022-05-29 17:37:06 +09:00
Hajime Hoshi
59e6d4578b
internal/glfw: skip some Win32APIs for Xbox
...
Updates #1162
2022-05-29 17:04:47 +09:00
Hajime Hoshi
ce147a7e38
internal/glfwwin: refactoring: remove Monitor.currentMode
2022-05-29 16:00:18 +09:00
Hajime Hoshi
2efbb819e0
internal/glfw: skip some Win32APIs for Xbox
...
Updates #1162
2022-05-29 15:54:37 +09:00
Hajime Hoshi
05d49c5a52
internal/glfwwin: create a pseudo monitor for Xbox
...
Updates #1162
2022-05-29 15:38:17 +09:00
Hajime Hoshi
f8163f93c0
internal/glfwwin: refactoring
2022-05-29 14:22:22 +09:00
Hajime Hoshi
ef7d10a36e
internal/glfwwin: add a build tag microsoftgdk
...
Updates #1162
2022-05-29 01:31:42 +09:00
Hajime Hoshi
ac922742bf
internal/glfw: use shorter copyright comments
2022-05-27 20:38:45 +09:00
Hajime Hoshi
f7d1a43e98
internal/glfwwin: remove GammaRamp
2022-05-27 20:19:12 +09:00
Hajime Hoshi
df0208ec79
internal/glfwwin: remove unused exported functions
2022-05-27 20:15:36 +09:00
Hajime Hoshi
3a6b707b29
internal/glfwwin: remove unused members (a monitor size)
2022-05-27 20:12:43 +09:00
Hajime Hoshi
f7172f41c8
internal/glfwwin: skip detecting monitors for Xbox
...
Updates #2084
2022-05-27 15:55:23 +09:00
Hajime Hoshi
604f14d2d4
internal/glfwwin: refactoring: reduce risky unsafe.Pointer usages
2022-05-25 02:21:30 +09:00
Hajime Hoshi
0d7062335e
internal/glfwwin: remove GetProp and SetProp
...
GetProp and SetProp forced a risky usage of pointers.
2022-05-25 02:11:00 +09:00
Hajime Hoshi
ec2df98c70
internal/glfwwin: skip functions for Xbox
...
Updates #2084
2022-05-25 02:00:59 +09:00
Hajime Hoshi
847357c3ea
internal/glfwwin: remove an unused function GetKeyName
...
MapVirtualKeyW is not available on Xbox.
Updates #2084
2022-05-25 01:00:32 +09:00
Hajime Hoshi
ffc9a0876a
internal/glfwwin: remove changing the foreground lock timeout
...
See 58b48a3a00
Updates #2084
2022-05-25 00:34:54 +09:00
Hajime Hoshi
6cd655b5ce
internal/glfwwin: bug fix: error values were not returned
2022-05-22 22:05:48 +09:00
Hajime Hoshi
0577a28aed
all: add struct members for go-vet
...
Updates #1306
2022-05-22 22:05:40 +09:00
Hajime Hoshi
7eeef3ae0f
internal/glfwwin: bug fix: WGL extension functions didn't work
...
Closes #2101
2022-05-22 00:40:50 +09:00
Hajime Hoshi
6fa39d5e73
internal/glfw: make panic messages consistent
2022-05-21 13:19:11 +09:00
Hajime Hoshi
9a1eb0b124
internal/glfwwin: bug fix: wrong type casts (TlsGetValue)
2022-05-21 00:59:14 +09:00
Hajime Hoshi
93731673ad
internal/glfwwin: bug fix: wrong type casts
2022-05-21 00:56:22 +09:00
Hajime Hoshi
374f1cf8e6
internal/glfwwin: fix typo
2022-05-21 00:18:36 +09:00
Hajime Hoshi
bd2a31bdd8
internal/glfwwin: remove unnecessary comments
2022-05-20 23:17:03 +09:00
Hajime Hoshi
8c467aaa1b
internal/glfwwin: update GLFW to 3.3.7
...
Reference: 597ae79a86
2022-05-20 23:09:16 +09:00
Hajime Hoshi
f67b4cc1d6
internal/glfw: use a pure Go implementation of GLFW
...
This change removes internal/glfw/glfw, that is a DLL loader, and
replaces the usages with internal/glfwwin, that is a pure Go
implementation of GLFW for Windows.
The build tag `ebitenexternaldll` is also removed.
Closes #1764
2022-05-20 22:10:00 +09:00
Hajime Hoshi
edd617f80e
internal: add a new package glfwwin
...
internal/glfwwin is a pure Go implementation of GLFW for Windows.
Updates #1764
2022-05-20 21:36:13 +09:00