Commit Graph

21 Commits

Author SHA1 Message Date
ts-korhonen
a5910189f3 win_opengl: use persistent buffer for pixel transfer 2021-04-29 13:48:46 +03:00
ts-korhonen
147175677d win_opengl: Fix main window staying inactive when clicked. 2021-04-26 09:38:35 +03:00
ts-korhonen
b90601256d win_opengl: Added handling of initialization failures. 2021-04-24 01:01:45 +03:00
ts-korhonen
2bf6c7aa11 win_opengl: UI for options and add them to config. Reloading changed options at runtime. Improved framerate limitter. 2021-04-23 16:09:45 +03:00
ts-korhonen
579e221a76 win_opengl: Protect resize_info with mutex. 2021-04-22 01:15:10 +03:00
ts-korhonen
3088c6c26f win_opengl: (WIP)UI for options. Add comments to help find conditionals that put opengl in dev_branch. 2021-04-21 23:08:32 +03:00
ts-korhonen
58d2f6e3ff win_opengl: Optimize message handling by replacing SDL_PollEvents with basic win32 message pump. 2021-04-21 23:08:32 +03:00
ts-korhonen
b7be825ba7 win_opengl: Fix MSVC build errors and warnings 2021-04-17 00:12:49 +03:00
ts-korhonen
7a83b463c2 win_opengl: Split shader loading to it's own file. 2021-04-16 19:44:31 +03:00
ts-korhonen
825dcd9fe4 win_opengl: Add sync options that would later be settable in UI. 2021-04-16 18:36:59 +03:00
ts-korhonen
afc5122a50 win_opengl: Add loading shaders from a file and few common uniforms.
plat.h,win.c: Add missing const
2021-04-15 16:38:23 +03:00
ts-korhonen
6919acd665 win_opengl: add routing for buttondowns to fix mouse capturing with recent changes to master 2021-04-13 23:20:58 +03:00
ts-korhonen
0fdada4119 win_opengl: Implemented full screen stretch options. 2021-04-13 15:56:27 +03:00
ts-korhonen
22f91f639a win_opengl: Fix unfocused full screen causing bell sound on input. 2021-04-13 01:25:42 +03:00
ts-korhonen
dfd21b25af win_opengl: more fullscreen input routing 2021-04-12 22:21:28 +03:00
ts-korhonen
522490f913 win_opengl: added basic full screen with input routing 2021-04-12 17:01:58 +03:00
ts-korhonen
3c328d93b5 win_opengl: fix resizing as child window 2021-04-12 01:45:23 +03:00
ts-korhonen
42d18fe165 win_opengl: add windows message hook to relay input, hide cursor on capture, unify method naming 2021-04-12 00:58:04 +03:00
ts-korhonen
fe3e1d05de win_opengl: Get window size from resize instead of enable. Use noactivate window style to keep focus on parent window. 2021-04-11 22:29:00 +03:00
ts-korhonen
39268e88ef Add some documentation to win_opengl.c 2021-04-10 18:15:26 +03:00
ts-korhonen
f315145c7d OpenGL rendering component. First iteration, WiP. 2021-04-10 18:15:26 +03:00