Commit Graph

181 Commits

Author SHA1 Message Date
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
twinaphex
91e8f7d4db BUildfix 2018-01-16 03:12:38 +01:00
twinaphex
17d1e387de Simplify d3d9_cg_renderchain 2018-01-16 03:09:51 +01:00
twinaphex
7477dd65ff (D3D8) Try to implement set_final_viewport 2018-01-16 02:57:24 +01:00
twinaphex
bce0c40b73 (D3D8) Assume we need to set this 2018-01-16 02:32:26 +01:00
twinaphex
734e952457 (D3D8) Try this 2018-01-16 02:26:35 +01:00
twinaphex
8ddcf4d6d7 Let's try this 2018-01-16 02:21:43 +01:00
twinaphex
797f26421a Add MVP code 2018-01-16 01:16:38 +01:00
twinaphex
9d144e28fc Use D3DFVF_XYZ for PC, D3DFVF_XYZRHW for Xbox 2018-01-16 02:04:50 +01:00
twinaphex
ae52cd2c68 Fix return type of render_pass 2018-01-16 01:41:16 +01:00
twinaphex
7a281a348e Fix d3d8_renderchain 2018-01-16 01:38:31 +01:00
twinaphex
591e8e22c7 Fix d3d8_renderchain_free 2018-01-16 01:37:07 +01:00
twinaphex
89ee07486a Remove d3d8_renderchain_clear 2018-01-16 01:34:39 +01:00
twinaphex
7ceb107c6a Rewrite d3d8_renderchain.c 2018-01-16 01:30:59 +01:00