Commit Graph

388 Commits

Author SHA1 Message Date
twinaphex 5453055135 Move resize handling to d3d_alive 2016-01-08 05:06:12 +01:00
twinaphex 8635d19b9b (D3D) N/A 2016-01-08 03:46:02 +01:00
twinaphex 30d98d0693 d3d_calculate_rects - cleanups 2016-01-08 03:14:49 +01:00
twinaphex 1d07c6306e Buildfixes 2016-01-08 03:09:41 +01:00
twinaphex eb5db8ca60 Create d3d_calculate_rect 2016-01-08 03:07:58 +01:00
twinaphex 7bcf33bff3 Remove d3d->frame_count 2016-01-08 01:09:16 +01:00
twinaphex 281de92d79 Fix function name clashes pt. 1 2016-01-07 09:22:04 +01:00
twinaphex 8a124bb530 N/A 2016-01-07 07:10:02 +01:00
twinaphex f1bdfaf0ed Cleanups 2016-01-07 06:50:32 +01:00
twinaphex 682071288a N/A 2016-01-07 06:49:10 +01:00
twinaphex cda09fb6ca N/A 2016-01-07 06:44:35 +01:00
twinaphex 23a9715f26 don't grab pointer to d3d device 2016-01-07 06:33:50 +01:00
twinaphex fbe0b5cb5f N/A 2016-01-07 06:31:26 +01:00
twinaphex 5322b05545 Move freeing of d3d->menu to d3d_free 2016-01-07 04:59:39 +01:00
twinaphex 8c1e371d1c use new / delete for d3d->menu 2016-01-07 04:52:59 +01:00
twinaphex a425ca98ed reimplement d3d_restore 2016-01-07 02:55:27 +01:00
twinaphex e8656333f1 Make it possible to manually set one of the devices with d3d_device_free 2016-01-07 02:22:53 +01:00
twinaphex 8b9c6d099f Set g_pD3D back to NULL 2016-01-07 02:20:30 +01:00
twinaphex 0b655fdd89 Set g_pD3D to NULL in d3d_free 2016-01-07 02:19:01 +01:00
twinaphex d6377cb183 Turn g_pD3D into static variable 2016-01-07 01:23:52 +01:00
twinaphex b4b3574665 use void pointer 2016-01-07 01:00:11 +01:00
twinaphex 28b615e62c (D3D) Buildfixes 2016-01-07 00:45:09 +01:00
twinaphex 38a58a2a8a Call d3d_restore from d3d.cpp 2016-01-07 00:38:42 +01:00
twinaphex 70a6da0491 (D3D) Cleanups 2016-01-07 00:29:12 +01:00
twinaphex 949c4b6dc3 One cleanup 2016-01-07 00:26:38 +01:00
twinaphex 8d83d4bf81 (D3D) Buildfix 2016-01-07 00:20:23 +01:00
twinaphex 56a17b21f1 Create d3d_device_free 2016-01-07 00:19:27 +01:00
twinaphex b345d04407 Always call gfx_ctx_free 2016-01-07 00:03:05 +01:00
twinaphex 3b516cacd7 Remove _XBOX ifdef 2016-01-06 23:59:23 +01:00
twinaphex 8cd7cb203e Revert "(D3D) Remove some more _XBOX ifdefs"
This reverts commit de989f202a.
2016-01-06 23:54:53 +01:00
twinaphex de989f202a (D3D) Remove some more _XBOX ifdefs 2016-01-06 23:52:59 +01:00
twinaphex 054035bd9d Remove some ifndef _XBOX ifdefs 2016-01-06 23:46:46 +01:00
twinaphex c64b9bed15 Ifdef global variable for Xbox 2016-01-06 03:59:22 +01:00
Higor Eurípedes 3bce2b494f (d3d) Fix context initialization 2015-12-20 21:48:46 -03:00
twinaphex f53711f791 Change return type of load_texture to uintptr_t 2015-12-20 22:38:18 +01:00
twinaphex 20170ef2b0 (D3D) Buildfix 2015-12-20 21:59:57 +01:00
twinaphex 4f499fc5c3 Buildfixes 2015-12-20 21:09:00 +01:00
twinaphex 6362c86c31 Buildfixes 2015-12-20 21:08:03 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
Higor Eurípedes d602b8ed5a (d3d) Fix build 2015-12-08 22:16:55 -03:00
Higor Eurípedes 7135dfb597 (d3d) Fix build 2015-12-08 16:03:25 -03:00
twinaphex 99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 03e2873296 (D3D) Buildfixes 2015-12-05 13:31:02 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 612c05ac71 (Xbox) Buildfix 2015-12-05 12:21:20 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex c62150c2a2 Move video_data_own to gfx/video_driver.c 2015-11-29 20:23:16 +01:00
twinaphex ef3cbed13e Create separate WndProc for GL and D3D 2015-11-28 21:50:28 +01:00
twinaphex c9db73e944 Contain driver->input_data usage pt. 2 2015-11-25 03:25:31 +01:00
twinaphex 6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
twinaphex d23d1f6cb0 (D3D) Attempted buildfix 2015-11-23 20:30:56 +01:00
twinaphex 389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex e970372959 (D3D) Buildfix 2015-11-23 13:02:02 +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 892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex 806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex 5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex 4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +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 ca3ea65332 Revert "Create d3d_vertex_declaration_free"
This reverts commit 5c0cb15856.
2015-11-17 23:54:26 +01:00
twinaphex f996563ada Revert "Add size_t argument to d3d_vertex_buffer_lock"
This reverts commit 4f54dbe9d9.
2015-11-17 23:54:24 +01:00
twinaphex 4f54dbe9d9 Add size_t argument to d3d_vertex_buffer_lock 2015-11-17 23:32:32 +01:00
twinaphex 5c0cb15856 Create d3d_vertex_declaration_free 2015-11-17 23:24:56 +01:00
twinaphex ca2f36f256 Revert "Create d3d_create_device"
This reverts commit 2a312e153f.
2015-11-17 13:44:24 +01:00
twinaphex 2a312e153f Create d3d_create_device 2015-11-17 13:36:03 +01:00
twinaphex ff03f83994 (Xbox 1) Some preliminary build fixes 2005-04-23 20:22:55 +02:00
twinaphex a10ec1e89b (XBOX) Avoid warning 2015-11-17 11:51:52 +01:00
twinaphex 193c3229f2 (_XBOX) Buildfixes 2015-11-17 11:47:44 +01:00
twinaphex e9fa55c682 (D3D) Some code is for HAVE_MENU instead of HAVE_OVERLAY 2015-11-17 11:42:59 +01:00
twinaphex 3ff5c91e5c (D3D) Cleanups 2015-11-17 10:49:36 +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 4d28ea35ab Move d3d_defines.h to defines/ 2015-11-17 08:20:10 +01:00
twinaphex 6d977f08a9 Create d3d_reset 2015-11-14 20:02:55 +01:00
twinaphex 3e85aefb80 (D3D) Update 2015-11-12 05:45:46 +01:00
twinaphex 4f37c1a487 d3d_construct - some cleanups 2015-11-12 05:39:55 +01:00
twinaphex ad85db3965 Start using g_resize_width/g_resize_height for D3D too 2015-11-12 03:08:09 +01:00
twinaphex 9a82d2a956 Create win32_monitor_set_fullscreen 2015-11-12 03:01:50 +01:00
twinaphex 0dce6479c1 Create win32_window_create 2015-11-12 02:51:40 +01:00
twinaphex cb008b13f8 (D3D) Use the same hwnd variable as WGL 2015-11-12 02:45:16 +01:00
twinaphex 66727bba2e (D3D) More 2015-11-12 02:40:26 +01:00
twinaphex 060a255561 Start fleshing out d3d_construct 2015-11-12 02:35:18 +01:00
twinaphex f929e9cee7 Revert "Start using wrappers for vertex declarations"
This reverts commit a09e8e0684.
2015-11-12 01:55:18 +01:00
twinaphex a09e8e0684 Start using wrappers for vertex declarations 2015-11-12 01:48:36 +01:00
twinaphex e50339ee79 Call d3d_set_vertex_declaration 2015-11-12 01:32:01 +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 3d20af9135 (D3D) Cleanups 2015-11-11 19:59:56 +01:00
twinaphex 938dfa775a (D3D/GL) Try to use common code for both 2015-11-11 19:41:32 +01:00
twinaphex 75e30002e0 Revert "Take out windowClass from D3D struct"
This reverts commit 6e689ec0f0.
2015-11-11 18:07:36 +01:00