Commit Graph

194 Commits

Author SHA1 Message Date
twinaphex
32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd8239.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
twinaphex
b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
64b36ef5d8 (MSVC) Buildfix for Cg renderchain 2018-03-02 18:32:14 +01:00
twinaphex
588707f543 Cleanups 2018-03-02 17:30:21 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
b67777f664 Update d3d9_hlsl_renderchainc. 2018-02-26 17:52:38 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
febfc18f0b Silence warning 2018-02-10 23:28:35 +01:00
twinaphex
49bea666ff (D3D9 Cg) Buildfix 2018-02-10 21:23:15 +01:00
twinaphex
b141c37fe9 Get rid of set_mvp function in D3D9 renderchain driver - use
one common set_mvp function instead
2018-02-10 21:21:09 +01:00
radius
c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
twinaphex
178730891d - Silence more warnings
- Don't include d3dx headers when including cgD3D9
2018-02-03 13:11:31 +01:00
twinaphex
d33772195f (D3D9 Cg) CLeanups 2018-01-26 06:50:11 +01:00
twinaphex
8d6aafde95 (D3D9 Cg) Update 2018-01-26 06:36:24 +01:00
twinaphex
9436cc0234 - Add HAVE_HLSL to qb/config.params.sh, set to no by default
- (D3D9 HLSL) Fix build/compilation
2018-01-26 04:09:35 +01:00
twinaphex
6f57aa84a8 Remove unused variable 2018-01-26 04:07:23 +01:00
twinaphex
3adb6cc5a8 CXX_BUILD fixes 2018-01-25 16:42:10 +01:00
twinaphex
204f9aa484 (360) More buildfixes 2018-01-25 15:35:07 +01:00
twinaphex
8f4a1b748b (D3D8/D3D9) More dehardcoding 2018-01-25 14:34:20 +01:00
twinaphex
e98b165761 Silence some warnings 2018-01-25 12:38:14 +01:00
twinaphex
282853873b (360) Some buildfixes 2018-01-25 12:35:46 +01:00
twinaphex
766f3b33c7 Dehardcode some more opaque types defined by macros 2018-01-25 11:50:07 +01:00
twinaphex
684374eec8 Remove D3DVIEWPORT dependency 2018-01-25 10:03:50 +01:00
twinaphex
0588c3c68e Don't rely on LPDIRECT3DTEXTURE 2018-01-25 04:28:50 +01:00
twinaphex
bc81a9dc88 Dehardcode LPDIRECT3DDEVICE usage 2018-01-25 01:45:03 +01:00
twinaphex
673a190d84 Merge d3d8_renderchain into d3d8.c 2018-01-23 07:18:46 +01:00
twinaphex
ce19e7c98a Get rid of unused reinit function and get rid of other
unused stuff in D3D8
2018-01-23 07:00:25 +01:00
twinaphex
d28d14079a Create separate D3D8 and D3D9 drivers 2018-01-23 02:55:33 +01:00
twinaphex
1a20fff7f2 Revert "reimplement mvp for D3D8"
This reverts commit f0d47bcd13.
2018-01-22 23:03:02 +01:00
twinaphex
f0d47bcd13 reimplement mvp for D3D8 2018-01-22 23:01:20 +01:00
twinaphex
e8ff299fd4 Revert "(D3D8) Implement rotation matrix"
This reverts commit ef63b4342c.
2018-01-22 20:54:22 +01:00
twinaphex
ef63b4342c (D3D8) Implement rotation matrix 2018-01-22 20:27:53 +01:00
twinaphex
63d9d80d17 Cleanup d3d9_cg_renderchain.c 2018-01-22 08:18:28 +01:00
twinaphex
4a5de7ed6a Use D3D common format functions 2018-01-20 16:45:45 +01:00
twinaphex
c106783e85 (XDK1) Now renders RGUI and game frame properly 2018-01-20 06:25:02 +01:00
twinaphex
47f6ff7435 Silence warning 2018-01-19 04:56:10 +01:00
twinaphex
9f45370120 Cleanups 2018-01-19 03:54:07 +01:00
Mahyar Koshkouei
87a7c0f426 Show GL hex error in hex
Fixes an issue whereby a hexadecimal error value was being printed in
decimal.

Tested on a RPi that suffers from issue 6078.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-17 17:08:03 +00:00
twinaphex
29098d6b99 Not necessary for D3D8 we believe 2018-01-17 07:45:06 +01:00
twinaphex
f1f3a6f0ae Remove some Xbox specific code 2018-01-17 07:37:05 +01:00
aliaspider
ebd9430982 (D3D8) can now render content frame, rgui and overlays. 2018-01-17 07:10:45 +01:00
twinaphex
f48458d5bd (D3D9) Fix warning 2018-01-17 00:53:47 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
twinaphex
c4d3ea6f8d Add want_mipmap function parameter to d3d_texture_new 2018-01-16 09:11:14 +01:00
twinaphex
713de18a04 Revert "Simplify d3d9_cg_renderchain"
This reverts commit 17d1e387de.
2018-01-16 03:29:10 +01:00
twinaphex
0c07dc6f24 Revert "Updates to d3d9_cg_renderchain"
This reverts commit f13148d10e.
2018-01-16 03:28:57 +01:00
twinaphex
1dee2438e6 Revert "(Cg D3D9) Cleanups"
This reverts commit 6c95f389b1.
2018-01-16 03:28:47 +01:00
twinaphex
6c95f389b1 (Cg D3D9) Cleanups 2018-01-16 03:22:13 +01:00
twinaphex
f13148d10e Updates to d3d9_cg_renderchain 2018-01-16 03:18:12 +01:00