Commit Graph

132 Commits

Author SHA1 Message Date
aliaspider a5bf9d8dc6 (D3D10/11/12)
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
Brad Parker e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
twinaphex 292d506ed8 Fix more MSVC Griffin build errors 2017-12-30 13:35:47 +01:00
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
twinaphex c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
Brad Parker 747dd2ad12 support Windows 95/NT4 2017-09-03 23:39:25 -04:00
twinaphex c3851d42e6 Convert win32_common.cpp to C - gets rid of all the extern "C"
references as well.
Note to bparker - DragAcceptFiles has a minimum dependency for WinXP,
might have to go through a function pointer there or have a
compilation-time ifdef
2017-08-09 13:39:14 +02:00
twinaphex cea3cab3f4 Create win32_get_video_output_next 2017-08-09 04:09:44 +02:00
twinaphex 1ecdbf4050 Add win32_get_video_output_prev 2017-08-09 03:53:19 +02:00
twinaphex b943060797 Add win32_get_video_output_size 2017-08-09 03:44:03 +02:00
twinaphex c962ad6009 Update 2017-05-20 21:56:32 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Brad Parker 7c6bf6aaf7 fix msys2 compilation when opengl, vulkan and d3d9 are disabled 2017-01-16 20:41:08 -05:00
Brad Parker acd6826df9 GDI: stretch video output to fill window 2017-01-16 20:41:07 -05:00
Brad Parker 49d7be9813 MSVC GDI buildfix 2017-01-16 20:41:05 -05:00
Brad Parker 33520fca6f set win32_hdc for gdi 2017-01-16 20:41:05 -05:00
Brad Parker a7a1f093c0 add GDI message loop 2017-01-16 20:41:04 -05:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
twinaphex e5072c8e7f Put this behind #ifndef _XBOX ifdef 2016-12-02 00:59:01 +01:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
twinaphex 64154f6060 win32_common.cpp - turn function static 2016-11-06 18:35:00 +01:00
twinaphex ee8277b31c Rename ui_win32_window.h to ui_win32.h 2016-06-07 16:33:55 +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 01390f8ceb Use retro_common_api.h 2016-06-03 08:06:49 +02:00
Hans-Kristian Arntzen 8ade7fb274 Vulkan: Attempt Windows backend support.
Completely bind since I cannot test myself, but compiles.
2016-03-29 15:50:12 +02:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex dad51f5677 Create win32_set_style 2016-01-09 05:24:27 +01:00
twinaphex c1d79c2205 (Win32) Buildfix 2016-01-09 05:00:56 +01:00
twinaphex c18cfee6d0 Create win32_set_window 2016-01-09 04:59:12 +01:00
twinaphex c20c6a5438 (Win32) Buildfixes 2015-11-28 21:54:32 +01:00
twinaphex ef3cbed13e Create separate WndProc for GL and D3D 2015-11-28 21:50:28 +01:00
twinaphex 66c15314e2 Get rid of some header files 2015-11-19 08:56:08 +01:00
twinaphex ec9ae5f7ac (Win32) Buildfixes 2015-11-19 08:44:02 +01:00
twinaphex f2f0e7efb2 Move win32_window_init to C code 2015-11-19 08:37:25 +01:00
twinaphex 9207acd6f2 Expand win32_window_init 2015-11-19 08:30:37 +01:00
twinaphex b5fa321532 Buildfixes 2015-11-19 08:17:59 +01:00
twinaphex 25bbd3b572 Move win32_resource.h 2015-11-19 07:59:10 +01:00
twinaphex 73990929e5 (WGL) Fix 2015-11-17 23:14:59 +01:00
twinaphex 89c262c552 (XBOX) Some build fixes 2015-11-17 11:13:46 +01:00
twinaphex ed0e5c37e2 (XBOX) Some build fixes 2015-11-17 11:11:41 +01:00
twinaphex 7394913f11 (360) WNDCLASSEX not available 2015-11-17 11:02:18 +01:00
twinaphex 3ff5c91e5c (D3D) Cleanups 2015-11-17 10:49:36 +01:00
twinaphex daaabaa663 (Win32) g_quit no longer has to be exposed outside 2015-11-17 10:18:30 +01:00
twinaphex bb99dc4e38 Create win32_window_reset 2015-11-17 10:16:16 +01:00
twinaphex 9528738a09 Set g_quit outside of wgl_ctx.cpp 2015-11-17 10:12:23 +01:00
twinaphex 4d7daf5dfd g_hwnd no longer used outside 2015-11-17 09:44:26 +01:00
twinaphex 922b679769 Create win32_get_window 2015-11-17 09:41:18 +01:00
twinaphex f9e4ec72c4 Revert "(win32_common) No longer expose global variables to outside"
This reverts commit 33884de94c.
2015-11-17 09:33:27 +01:00
twinaphex 33884de94c (win32_common) No longer expose global variables to outside 2015-11-17 09:29:43 +01:00
twinaphex f76d9c2a0d win32_has_focus - buildfix 2015-11-17 09:02:02 +01:00
twinaphex 3d6f6869f0 Create win32_has_focus 2015-11-17 08:58:49 +01:00
twinaphex 8d0e375de0 (Win32) Buildfixes 2015-11-12 05:17:21 +01:00
twinaphex 105236a543 Create win32_set_video_mode 2015-11-12 05:16:06 +01:00
twinaphex d3efdf8e5a Move g_restore_desktop to win32_common 2015-11-12 05:14:09 +01:00
twinaphex 9a82d2a956 Create win32_monitor_set_fullscreen 2015-11-12 03:01:50 +01:00
twinaphex d2006c43c1 Turn g_resized into static variable 2015-11-12 02:57:56 +01:00
twinaphex 9961907d2c (Win32) Make g_pos_x/g_pos_y static 2015-11-12 02:55:26 +01:00
twinaphex 0dce6479c1 Create win32_window_create 2015-11-12 02:51:40 +01:00
twinaphex cb5d4b0569 Compile in win32_monitor_ functions for Xbox too but leave them
stub
2015-11-12 01:22:28 +01:00
twinaphex 1da727cd54 convert keyboard_event_win32 to C++ 2015-11-11 20:23:19 +01:00
twinaphex 5e6983d0da Add extern "C" for win32_handle_keyboard_event 2015-11-11 20:21:16 +01:00
twinaphex 9deeececf1 Turn win32_common and wgl_ctx into C++ 2015-11-11 20:07:06 +01:00
twinaphex 1413d97ab0 (D3D/GL) Use more common code 2015-11-11 19:48:24 +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 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 ff59f92341 (Win32) Create win32_suppress_screensaver 2015-10-10 08:13:58 +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 65310b7699 (Win32) Cleanups/Buildfixes 2015-04-09 05:48:01 +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