Hajime Hoshi
47dea6fac4
move internal/glfw/glfw to internal/cglfw
2023-07-22 01:02:55 +09:00
Hajime Hoshi
c85c5b1884
internal/glfw: move Wayland files
2023-07-21 01:59:40 +09:00
Hajime Hoshi
0324db5657
internal/glfw/glfw: remove -l options
...
DLLs for OpenGL are loaded automatically and doesn't have to link them
when compiling.
DLLs for Vulkan are not used.
2023-07-21 01:09:25 +09:00
Hajime Hoshi
65bbfad84a
internal/glfw/glfw: remove null_platform.h
2023-07-21 01:04:08 +09:00
Hajime Hoshi
214f6094f8
internal/glfw/glfw: move osmesa_context.h
2023-07-21 00:09:17 +09:00
Hajime Hoshi
f6e5d2eca6
internal/glfw/glfw: remove unnecessary files
2023-07-21 00:03:26 +09:00
Hajime Hoshi
bccb33236f
internal/glfw/glfw: move xkb_unicode.* and X11 files
2023-07-20 23:37:44 +09:00
Hajime Hoshi
e10c5f5c59
internal/glfw/glfw: move and remove null_* files
2023-07-15 12:57:15 +09:00
Hajime Hoshi
31bad92c23
internal/glfw/glfw: move cocoa_* and nsgl_* files
2023-07-15 12:38:43 +09:00
Hajime Hoshi
647d2aca14
internal/glfw/glfw: move egl_context.* files
2023-07-15 12:30:12 +09:00
Hajime Hoshi
4d9ae2a815
./internal/glfw/glfw: move posix_*.* files
2023-07-13 03:39:12 +09:00
Hajime Hoshi
d8a8404fd4
internal/glfw/glfw/glfw/src: remove internal.h
2023-07-13 03:39:12 +09:00
Hajime Hoshi
a4c183c5d4
internal/glfw/glfw: move some C and H files
2023-07-13 03:08:09 +09:00
Hajime Hoshi
8ee3a6d0c1
internal/glfw/glfw/glfw/src: remove warnings for Wayland
2023-07-13 02:33:06 +09:00
Hajime Hoshi
5ddf75c4b3
internal/glfw/glfw/glfw/src: bug fix: build failure
2023-07-11 00:15:41 +09:00
Hajime Hoshi
72293d48b5
internal/glfw/glfw: unify c_glfw_bsd.go and c_glfw_linux.go
2023-07-11 00:05:33 +09:00
Hajime Hoshi
bf197e379b
internal/glfw/glfw: refactoring: remove glfw/include
2023-07-10 23:30:03 +09:00
Hajime Hoshi
bc2b373bca
internal/glfw/glfw: fix build tags
2023-07-08 14:04:30 +09:00
Hajime Hoshi
c2b386a917
internal/glfw/glfw: refactoring
2023-07-08 02:34:56 +09:00
Hajime Hoshi
fafbe2711f
internal/glfw/glfw: refactoring
2023-07-08 02:16:39 +09:00
Hajime Hoshi
8039911bc8
internal/glfw/glfw: add license header comments
2023-07-08 02:15:47 +09:00
Hajime Hoshi
a4c2072c0f
internal/glfw/glfw: add 'static' to C functions
2023-07-08 00:37:20 +09:00
Hajime Hoshi
eba8713c64
internal/glfw/glfw: refactoring: reduce files
2023-07-08 00:33:20 +09:00
Hajime Hoshi
65fd352e3b
internal/glfw/glfw: remove unused files
2023-07-07 12:12:47 +09:00
Hajime Hoshi
d0b6d2c41a
internal/glfw/glfw: remove implementation for joystick
...
Closes #2692
2023-07-06 23:24:34 +09:00
Hajime Hoshi
8052c5bdd5
internal/glfw/glfw: remove the Windows part
2023-07-06 00:08:48 +09:00
Hajime Hoshi
fbe732b378
copy github.com/go-gl/glfw/v3.3/glfw to internal/glfw/glfw
...
Closes #2546
2023-07-05 23:59:34 +09:00
Hajime Hoshi
00e45affe9
all: update OpenGL version from 2.1 to 3.2
...
'texelFetch' requires OpenGLSL 1.30, which requires OpenGL 3.0+.
macOS might not support OpenGL 3.0 and 3.1, so adopt 3.2.
Updates #1431
2023-04-23 14:25:36 +09:00
Hajime Hoshi
8c25fac860
ebiten: add AppendDroppedFiles
...
Closes #1868
2023-01-22 17:22:25 +09:00
Hajime Hoshi
35e25a3636
rename internal/glfwwin -> internal/goglfw
...
Updates #2546
2023-01-21 22:09:21 +09:00
Hajime Hoshi
dd7e125d9c
ebiten: add KeyName for desktops and browsers
...
Updates #1904
2022-12-25 03:37:29 +09:00
Hajime Hoshi
1f741fa007
internal/glfw: do not panic for an error at Monitor.GetContentScale
...
Updates #2488
2022-12-08 13:39:19 +09:00
Kacper Drobny
6e12fd13e4
ebiten: add additional MouseButtons ( #2467 )
...
Closes #2445
2022-11-23 04:28:34 +09:00
Hajime Hoshi
d09fd90963
internal/ui: use EGL for OpenGL ES
...
Updates #292
2022-11-13 06:23:30 -08:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
TotallyGamerJet
043397c20e
internal/ui: remove Cgo on darwin in ui_glfw_darwin.go ( #2329 )
...
Updates #1162
2022-09-16 11:53:46 +09:00
Hajime Hoshi
86706c0335
internal/graphicsdriver/opengl: add opengles
build tag
...
This enables to use OpenGL ES instead of OpenGL.
Closes #292
2022-09-13 11:10:48 -07:00
Hajime Hoshi
bc8e2fe6ac
internal/glfw: bug fix: the window should be focused when closing is handled
...
Closes #2165
2022-08-12 22:34:19 +09:00
Hajime Hoshi
c379873a1f
rename Ebiten -> Ebitengine
2022-05-25 22:48:19 +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
eec5ea00ec
internal/glfw: refactoring: use pointers or functions for callbacks
2022-05-20 17:49:46 +09:00
Hajime Hoshi
8d2b08dd14
internal/glfw: refactoring: make callback handlers consistent
2022-05-19 01:49:21 +09:00
Hajime Hoshi
7189c7f649
internal/glfw: refactoring: remove unused APIs
...
Ebiten doesn't rely on GLFW for gamepads.
2022-05-19 01:04:23 +09:00
Hajime Hoshi
58366ce64d
internal/glfw: make the file operation atomic
...
If multiple Ebiten processes start at the same time, the file operation
can cause a race condition. Add a file lock to avoid this.
2022-03-18 20:32:25 +09:00
Hajime Hoshi
740dfd5aed
internal/glfw: refactoring: keep the original API when possible
...
Updates #1804
2022-02-09 19:36:47 +09:00
Hajime Hoshi
623c050537
ebiten: rename SetKeepWindowAspectRatio -> SetWindowAspectRatioFixed
...
Updates #1804
2022-02-09 19:29:55 +09:00
Tom Lister
18659ef4ab
internal/ui: add SetWindowKeepAspectRatio ( #1985 )
...
Updates #1804
2022-02-09 19:11:25 +09:00
Hajime Hoshi
12a70952a9
internal/glfw: remove an unreached code
2022-02-06 05:24:25 +09:00
Hajime Hoshi
dd4d2f6aa0
internal/glfw/glfw: update for GLFW 3.3.6
...
Closes #1896
2021-12-27 01:57:55 +09:00
Hajime Hoshi
8b775cf0dd
internal/glfw: Add a new build tag ebitenexternaldll
to requrie external DLLs
...
Embedding a DLL file and extrating it on the fly can be problematic.
The application might be unexpectedly recognized as a virus by some
virus checkers.
To mitigate this issue, Ebiten adds a new build mode `ebitenexternaldll`
which prevents Ebiten from embedding DLL files. Instead, the application
will require DLL files for GLFW.
Closes #1832
2021-10-14 02:44:25 +09:00