Commit Graph

106 Commits

Author SHA1 Message Date
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
Carlos Aragones
ed0afc6b22 Fixed bug on old MacOS X 2020-05-17 20:05:47 +02:00
Carlos Aragones
51d00541e5 OSX Refactor -> renamed OSXViewController to OSXViewDelegate 2020-05-17 19:53:06 +02:00
Carlos Aragones
80a7a33b7c unify a little bit more iOS & MacOS 2020-05-17 19:48:59 +02:00
Carlos Aragones
75de20e4cc OSX refactor -> renamed OSXWindowFrameView to OSXView 2020-05-17 18:39:51 +02:00
Carlos Aragones
235dc1e670 Merge branch 'master' into ios_support 2020-05-17 18:34:20 +02:00
Carlos Aragones
6254705203 refactor OSX to be more similar to iOS 2020-05-17 18:34:12 +02:00
Carlos Aragones
2be0d5a7e0 refactor iOS
added mfb_set_resize_callback to iOS
minor fixes on iOS & MacOS X
2020-05-17 18:31:00 +02:00
Carlos Aragones
2b1d7633ae Added WF_FULLSCREEN_DESKTOP and WF_FULLSCREEN on macos x 2020-04-26 23:33:30 +02:00
Carlos Aragones
6a96ceb1f5 Merge branch 'master' into ios_support 2020-04-26 19:52:13 +02:00
Carlos Aragones
78efec66c5 fix issue with mfb_set_viewport on macos x 2020-04-26 19:50:53 +02:00