Commit Graph

168 Commits

Author SHA1 Message Date
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Themaister 75b84b4f94 Support pending swapchain creation. 2017-12-09 17:28:20 +01:00
Brad Parker bc4bbe79aa don't define UNICODE at all, we don't need it and it causes dinput problems (names are wchar_t) 2017-12-05 14:26:59 -05:00
Twinaphex b2d9bad3a2 Update wgl_ctx.c 2017-08-22 17:44:40 +02:00
twinaphex e065d70426 (WGL) Try to use wglSwapLayerBuffers first before resorting to SwapBuffers 2017-08-19 14:17:30 +02:00
twinaphex ae2435cf16 Silence some more C89_BUILD warnings 2017-08-12 18:15:26 +02:00
Brad Parker ff98730906 don't define UNICODE for msvc2005 2017-08-09 23:33:57 -04:00
twinaphex a4a027be67 Convert wgl_ctx into C - also take care of serious warning 2017-08-09 13:51:33 +02:00
twinaphex 9deeececf1 Turn win32_common and wgl_ctx into C++ 2015-11-11 20:07:06 +01:00
twinaphex 938dfa775a (D3D/GL) Try to use common code for both 2015-11-11 19:41:32 +01:00
twinaphex 8e08db3446 more buildfixes 2015-11-11 18:29:06 +01:00
twinaphex 3c5f4bd243 Move WndProc to win32_common.c 2015-11-11 18:26:10 +01:00
twinaphex 8f6deb9dac Pass function pointer to win32_window_init too 2015-11-11 18:22:39 +01:00
twinaphex b40baa6323 Move win32_window_init 2015-11-11 18:16:28 +01:00
twinaphex 65a9419522 Create win32_window_init 2015-11-11 18:15:21 +01:00
twinaphex e0720cd764 Add mon_id argument to win32_get_monitor_info 2015-11-11 17:47:56 +01:00
twinaphex 8f9218ab1b (Win32) Cleanups 2015-11-11 17:41:20 +01:00
twinaphex 0cb507886a Split up win32_monitor code to win32_common 2015-11-11 17:36:52 +01:00
twinaphex 0f9f8c248b (Win32) Refactor monitor code 2015-11-11 05:32:00 +01:00
twinaphex 9893be7849 (WGL) Buildfix 2015-10-23 07:59:53 +02:00
Monroe88 a2e4a39ecf (wgl_ctx) Also account for swap interval when setting fullscreen refresh rate 2015-10-21 18:57:06 -05:00
Monroe88 4afbd0682b (wgl_ctx) Set fullscreen mode refresh rate to video_refresh_rate 2015-10-19 19:44:28 -05:00
twinaphex ff59f92341 (Win32) Create win32_suppress_screensaver 2015-10-10 08:13:58 +02:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
Alcaro dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
twinaphex 421e006297 (wgl_ctx.c) Cleanups 2015-09-05 14:38:55 +02:00
twinaphex 3e977034a7 (Win32) More buildfixes 2015-09-05 14:10:16 +02:00
twinaphex 43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
twinaphex a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex a3e14acaa3 Create win32_check_window 2015-04-10 09:36:03 +02:00
twinaphex b46c9cea87 Create win32_show_cursor 2015-04-10 09:30:18 +02:00
twinaphex 89bdccad4d (wgl_ctx.c) Fix warnings 2015-04-10 06:33:18 +02:00
twinaphex 3213baf452 Take out HAVE_EGL ifdefs in gfx_context_driver_t definition 2015-04-10 05:58:08 +02:00
twinaphex dc10606b23 Create win32_get_metrics 2015-04-09 05:19:29 +02:00
twinaphex 1f23338ca4 Move win32_common.c to gfx/common 2015-04-09 05:16:02 +02:00
twinaphex 16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex 5e4647994b (Windows) Implement get_metrics for D3D and WGL context drivers 2015-04-08 22:06:33 +02:00
twinaphex fab39da46a (Gfx context) Implement get_metrics callback 2015-04-08 20:10:30 +02:00
twinaphex 03af36ba64 (WGL) Go through dylib_load 2015-04-08 19:52:15 +02:00
twinaphex 36b054506d Move window manager code to gfx/drivers_wm 2015-04-04 20:30:44 +02:00
Alcaro fbeec2f00e (WGL) Apparently HAVE_EGL can be defined on this platform... 2015-03-27 23:07:57 +01:00
aliaspider a43af8622d (windows) add a shader parameters popup windows. 2015-03-23 17:36:37 +01:00
twinaphex 2409da4afe global_get_ptr update pt. 3 2015-03-21 05:55:31 +01:00
twinaphex f130b00596 Updates pt. 3 2015-03-20 22:08:36 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex 667a461c89 (Windows/Mouse) Wheel works now in normal mode - doesn't work in
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
twinaphex 9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex 13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex aafc647724 Add get_video_output_size callback to video context driver 2015-02-24 19:58:14 +01:00
twinaphex 8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
twinaphex 90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex 95df3dc394 (WGL) Add fallback to GetProcAddress 2015-02-08 01:24:58 +01:00
twinaphex 80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex 4428fe21cd Add UI Menubar Enable setting 2015-01-17 01:29:15 +01:00
twinaphex bb7d33ebde (WGL) Declare variables at top 2015-01-16 16:22:19 +01:00
twinaphex 8d610f9143 (WGL) Buildfix 2015-01-15 18:42:50 +01:00
twinaphex 4179b05d16 Split up win32_common code to separate file 2015-01-15 18:37:43 +01:00
twinaphex 834f7f119e (Win32) Add State Index menubar options 2015-01-15 07:58:31 +01:00
twinaphex 0959fd2243 (Win32) Add Mouse Grab to menubar 2015-01-15 07:44:01 +01:00
twinaphex 6f5ee8be51 (Win32) Pass initial dir to win32_browser_dir 2015-01-15 06:51:30 +01:00
Toad King fe5b4e90fb fix resizing on windows, should account for menu size correctly now 2015-01-14 23:15:19 -06:00
twinaphex aeed28eccc (Win32) Pass title to win32_browser 2015-01-15 05:22:17 +01:00
twinaphex 02a882784f (Win32) Initial menubar - will become optional 2015-01-15 05:17:22 +01:00
twinaphex 069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00