84 Commits

Author SHA1 Message Date
Brad Parker
a04b54006d win32: disable winraw input driver for targets older than XP 2017-05-23 21:03:00 -04:00
twinaphex
1ffb1f4feb Use wrapper function for memcmp 2017-05-19 16:20:30 +02:00
Zoran Vuckovic
9358b0c3f3 Allow raw input driver with OpenGL driver under Windows 2017-05-19 16:13:32 +02:00
twinaphex
b0398c1482 C89 build fixes 2017-05-19 03:34:53 +02:00
twinaphex
acbf11931b Move code 2017-05-16 22:46:56 +02:00
twinaphex
717709ef9e (wgl_ctx.cpp) Cleanups 2017-05-16 22:46:09 +02:00
twinaphex
f24a73351c Only use wglGetProcAddress for OpenGL 2017-05-16 22:40:47 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex
6247d6ea1d Update check_window - we no longer need runloop.h inside context driver 2017-01-23 01:02:33 +01:00
twinaphex
1ea3bea0ee Don't pass video_info by value to context_driver init function 2017-01-22 18:29:22 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Brad Parker
a54ea9ad88 show titlebar again for remaining drivers 2017-01-19 18:08:39 +00:00
Brad Parker
b44c8c9995 store buffer for window title, only update actual title when it changes 2017-01-19 00:33:52 -05:00
twinaphex
34da27c36b Don't need 'frame_count' variable for check_window 2017-01-18 21:47:12 +01:00
twinaphex
40cd1b70cd Remove runloop.h header includes 2017-01-18 17:43:23 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex
666534cc74 Grab settings pointer only once inside wrapper 'input_driver' function 2017-01-16 00:14:10 +01:00
twinaphex
4a9ca66389 (WGL) Check if settings struct is non-NULL 2017-01-15 23:58:14 +01:00
twinaphex
1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex
80f79130c0 Update set_video_mode context driver callback function 2017-01-11 06:35:50 +01:00
twinaphex
bc50f99e40 (WGL) Add header include 2017-01-10 19:51:06 +01:00
twinaphex
a835149f69 (WGL) Buildfix 2017-01-10 19:48:19 +01:00
twinaphex
36fb6776b2 Don't grab settings pointer in video_monitor_get_fps function 2017-01-09 15:42:14 +01:00
twinaphex
6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e Pass video_frame_info_t to update_window_title 2017-01-09 14:42:07 +01:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913cf2876d2bffd4bedf0284b23f1ed593.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Hans-Kristian Arntzen
4c99809cde Vulkan: Fix VSync toggling on Windows.
Retarded bug, but haven't actually had access to a Windows machine until
now.
2016-12-17 12:06:43 +01:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
5be05b3f61 Merge branch 'msvc' 2016-12-02 14:36:48 -05:00
twinaphex
5547b3fa3e Rename some variables in wgl_ctx.cpp and cahnge prefix 'g_' to 'win32_' 2016-12-02 19:58:55 +01:00
Brad Parker
f64fb911b8 remove explicit unicode def/undefs 2016-12-02 12:46:32 -05:00
Brad Parker
367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Alcaro
a3e9addd80 Clean this one up a little 2016-11-14 17:23:38 +01:00
twinaphex
219880a72b Prevent implicit memsets for WGL context update_window_title
function
2016-11-06 18:36:58 +01:00
twinaphex
51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex
6f47289ba6 Start adding HAVE_CONFIG_H to gfx/drivers_context 2016-09-06 19:39:02 +02:00
twinaphex
acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
Brad Parker
2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
twinaphex
ea5f458fbd Go through function pointer 2016-06-06 08:01:26 +02:00
twinaphex
d739e4771e Use set_title function from wgl_ctx.cpp 2016-06-04 06:02:15 +02:00
twinaphex
f490b2b58a Simplify win32_monitor_from_window 2016-06-04 05:54:33 +02:00
twinaphex
0433d3ca6e (WGL) Make context driver more modular 2016-05-16 08:34:56 +02:00
twinaphex
822d66f401 (WGL) Avoid some warnings 2016-05-16 08:25:14 +02:00
twinaphex
0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
Hans-Kristian Arntzen
66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
twinaphex
78cbf97e70 Another fix 2016-05-05 17:58:58 +02:00
twinaphex
493ad4dfb8 (WGL) Typo buildfix 2016-05-05 17:50:26 +02:00
twinaphex
60233d1abb Add set_flags to context driver 2016-05-05 17:35:28 +02:00
twinaphex
8136683ffc (context drivers) Start exposing core GL flag 2016-05-05 05:46:00 +02:00