71 Commits

Author SHA1 Message Date
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
twinaphex
a0425dfb14 (Context drivers) Add get_flags function 2016-05-05 05:35:35 +02:00
twinaphex
54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex
5a60055aa9 Make curD3D a static variable 2016-01-07 01:18:51 +01:00
twinaphex
e5f327edda N/A 2016-01-07 01:11:26 +01:00
twinaphex
9f616cca07 Check if device is NULL inside d3d_set_resize 2016-01-07 01:10:37 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
twinaphex
38a58a2a8a Call d3d_restore from d3d.cpp 2016-01-07 00:38:42 +01:00
Higor Eurípedes
f6729c0b74 (d3d_ctx) Return video_data as the context data
The d3d context shares the d3d video driver data.
2015-12-20 19:12:14 -03:00
twinaphex
77f1bbdb26 (D3D) Buildfix 2015-12-08 20:55:19 +01:00
Higor Eurípedes
c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex
b434689d39 (Win32) Buildfixes 2015-11-23 12:14:53 +01:00
twinaphex
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
4b00e24617 (D3D) Buildfix 2015-11-17 11:33:24 +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 33884de94c557f7e6de875c009ad6c56314d824b.
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
3d6f6869f0 Create win32_has_focus 2015-11-17 08:58:49 +01:00
twinaphex
cb008b13f8 (D3D) Use the same hwnd variable as WGL 2015-11-12 02:45:16 +01:00
twinaphex
823e2db596 Create d3d_set_render_state 2015-11-12 01:28:14 +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
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
00cbf68e95 (D3) Reuse common multi-monitor code 2015-11-11 17:57:15 +01:00
twinaphex
8da911bc65 (D3D Ctx) Buildfix 2015-11-11 05:01:37 +01:00
twinaphex
a7df537dde (D3D) Implement (rather stub) set_video_mode 2015-11-11 05:00:09 +01:00
twinaphex
fa1b7b19eb Don't call win32_check_window twice 2015-11-11 02:20:32 +01:00
twinaphex
b3662e2f27 (D3D) Buildfix 2015-11-11 02:20:11 +01:00
twinaphex
47496ff0c3 (D3D) reimplement resizing 2015-11-11 02:17:18 +01:00
twinaphex
f76d9f255a (D3D) Start fleshing out WinProc 2015-11-11 02:12:25 +01: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
twinaphex
43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
twinaphex
b99ae6f4e4 Refactor some more code to no longer use global->video_data.width/
global->video_data.height directly
2015-05-20 01:39:35 +02:00
twinaphex
0634c7e34f (D3D) Start using global->video_data.width and global->video_data.height 2015-04-26 05:35:41 +02:00
twinaphex
4479bf5d55 (XDK1) Buildfixes 2015-04-12 20:00:49 +02:00
twinaphex
f50b208ec8 Move d3d_make_d3dpp to d3d.cpp 2015-04-11 21:54:52 +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
33e70124a1 (d3d_ctx.cpp) Cleanup 2015-04-10 06:01:52 +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
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
bd9b6f4795 (D3D) Style nits 2015-04-05 16:15:14 +02:00
twinaphex
36b054506d Move window manager code to gfx/drivers_wm 2015-04-04 20:30:44 +02:00