Commit Graph

116 Commits

Author SHA1 Message Date
Carlos Aragonés
b431c077ab Updated readme 2021-04-28 15:07:04 +02:00
Carlos Aragonés
ac67eeb941 MacOS Big Sur test and remove hardware sync (MacOS is ignoring it) 2021-04-28 14:44:09 +02:00
Carlos Aragones
ffc5f5b503 MacOS Mojave test and fix 2021-04-28 14:11:13 +02:00
Carlos Aragones
dbd882ed22 use metal preferredFramesPerSecond (macOS 10.11+) and commandBuffer presentDrawable:afterMinimumDuration: (macOS 10.15.4+)
(programmed from Windows, maybe do not compile)
2021-04-28 13:21:08 +02:00
Carlos Aragones
b4122c3d6a Merge branch 'master' into accurate_vsync 2021-04-28 12:36:57 +02:00
Carlos Aragones
fb35e988ad Added mfb_get_target_fps 2021-04-28 12:36:40 +02:00
Carlos Aragones
815fa2f255 use OpenGL swap interval on Windows and X11 2021-04-28 12:34:20 +02:00
Carlos Aragones
f9aa6acb7a try to accurate software vsync 2021-04-28 11:07:25 +02:00
Carlos Aragones
cc79a85e3d input_events: Show mouse point on mouse button pressed 2021-02-19 11:13:32 +01:00
Carlos Aragones
fa8bf266f0 Changes related to dpi.
Introduced new function mfb_get_monitor_scale
Deprecated function mfb_get_monitor_dpi
2021-02-19 10:57:13 +01:00
Carlos Aragonés
17df5633cd Fix bug redefining window_data_win. Thanks to @nsmryan 2021-01-14 19:48:31 +01:00
Carlos Aragones
33f5084410 updated readme.md 2020-09-21 14:43:00 +02:00
Carlos Aragones
d9a9fe554f Added to iOS
not working on X11 & Wayland
2020-09-21 14:38:51 +02:00
Carlos Aragones
17c375002f working on MacOS 2020-09-21 13:02:47 +02:00
Carlos Aragones
f66e92c8da Working n Windows 2020-09-21 12:27:22 +02:00
Carlos Aragones
cfb114007e updated readme.md 2020-09-21 11:59:42 +02:00
Carlos Aragones
9e3704b96c hidpi compiling on Windows
Fix OpenGL backend for multiple windows
2020-09-21 10:03:35 +02:00
Carlos Aragonés
056d419a10
Merge pull request #50 from drfuchs/master
Add hidpi test
2020-09-21 09:41:04 +02:00
drfuchs
5691ca1441 Add hidpi test
Test hi-dpi "retina" display, where there are four times as many pixels as the window's (height x width) would have you believe.

On hi-res displays, the "HighRes" window will have one-pixel-wide vertical black bars within the red-to-purple gradient, while in the "LowRes" window they'll be two-pixel-wide. On regular displays, LowRes will have the one-pixel bars, and HiRes should be a down-sampled gradient with no bars.
2020-09-20 09:40:03 -07:00
Carlos Aragones
4c898b0b8b fix bug on Windows resize event 2020-09-18 18:53:18 +02:00
Carlos Aragones
42270f4c53 minor fixes 2020-09-18 17:45:24 +02:00
Carlos Aragones
3552c1f019 Fix Windows texture order color 2020-09-18 17:24:47 +02:00
Carlos Aragones
41e087433a use OpenGL legacy API for X11 (faster than draw XImages) 2020-09-18 15:05:39 +02:00
Carlos Aragones
09338014d1 use OpenGL legacy API for windows (faster than GDI) 2020-09-18 10:28:42 +02:00
Carlos Aragones
6a1e7e0b71 Wayland support 2020-09-16 13:32:27 +02:00
Carlos Aragones
5196518bcb working on X11 2020-09-16 13:19:50 +02:00
Carlos Aragones
72df95f7bb working on iOS 2020-09-16 12:54:08 +02:00
Carlos Aragones
3a083fd3c8 macos working Metal & Cocoa 2020-09-16 12:27:14 +02:00
Carlos Aragones
82595a8d74 working for windows 2020-09-16 11:38:05 +02:00
Carlos Aragones
a6e63243f4 refactor 2020-09-16 10:01:12 +02:00
Carlos Aragones
5f9594cb23 update_ex working on iOS 2020-09-15 21:05:49 +02:00
Carlos Aragones
f4c537d6f0 fix ios minor bug 2020-09-15 20:40:25 +02:00
Carlos Aragones
3c90ae2a0f Wayland working 2020-09-15 20:32:40 +02:00
Carlos Aragones
9a74e07568 prepare Linux Wayland & iOS 2020-09-15 15:24:05 +02:00
Carlos Aragones
8d68f620df added mfb_update_ex - Linux - X11 version 2020-09-15 14:09:25 +02:00
Carlos Aragones
94a22bff6a added mfb_update_ex - MacOS X - Cocoa version (I cannot test it!!!) 2020-09-15 13:39:55 +02:00
Carlos Aragones
e98644cfbf added mfb_update_ex - MacOS X - Metal version 2020-09-15 12:39:26 +02:00
Carlos Aragones
2cf75ce9ac Windows: update buffer_stride 2020-09-15 11:46:17 +02:00
Carlos Aragones
f09780d761 added mfb_update_ex - Windows version 2020-09-15 11:35:11 +02:00
Carlos Aragones
dda1275bd7 MacOS: Flush events after perform close ( fix #44 ) 2020-09-08 21:10:11 +02:00
Carlos Aragonés
2110dc18ac
Merge pull request #41 from maximumspatium/master
Enable conditional compilation of examples.
2020-08-06 16:32:11 +02:00
Maxim Poliakovski
d658d8361b Enable conditional compilation of examples. 2020-06-16 21:22:57 +02:00
Carlos Aragones
35110bf174 travis to compile Windows (Visual Studio), Linux (X11, Wayland), MacOS X(Cocoa, Metal), iOS
Windows MinGW is WIP
2020-06-12 00:17:51 +02:00
Carlos Aragones
37b91b2d30 Fix bug on X11 2020-06-05 22:48:42 +02:00
Carlos Aragones
7a2aa56367 Merge branch 'master' of https://github.com/emoon/minifb 2020-06-03 17:28:39 +02:00
Carlos Aragones
649560ef2f Quick fix for the init_key_codes issue 2020-06-03 17:28:30 +02:00
Carlos Aragonés
3226ac3aad
Merge pull request #38 from emoon/revert-37-fix/build-break
Revert "Fixes build break in linux"
2020-06-03 17:14:24 +02:00
Carlos Aragonés
698b50c664 Revert "Fixes build break in linux (#37)"
This reverts commit 83d7dbc678.
2020-06-03 17:14:09 +02:00
eccard
83d7dbc678
Fixes build break in linux (#37) 2020-06-02 06:13:03 +02:00
Carlos Aragones
1c3054d320 refactor: A little bit more similar iOS & MacOS 2020-05-17 21:22:12 +02:00