Commit Graph

337 Commits

Author SHA1 Message Date
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
twinaphex e32ceb8f30 Rewrite d3d_texture_blit 2018-01-16 00:08:10 +01:00
twinaphex 391fd3eadc Fix CXX_BUILD for D3D 2018-01-15 21:44:49 +01:00
aliaspider 25a7c04a27 (direct3D) fix scaling in the menu display driver. 2018-01-15 03:45:37 +01:00
aliaspider 7b09d5399c (Direct3D) Menu display driver implementation. 2018-01-14 02:21:48 +01:00
twinaphex 88d1e455e3 Add code that allows for debug D3D 2018-01-07 10:46:53 +01:00
twinaphex 942fd7102d Start getting HLSL compiling for PC 2018-01-06 20:48:17 +01:00
twinaphex bd14582465 Update D3D8 codepath 2018-01-04 12:42:51 +01:00
twinaphex efb022bb28 (D3D8 renderchain) Buildfix 2018-01-03 14:46:08 +01:00
twinaphex 947bd80faf d3d8_renderchain_set_vertices - buildfix 2018-01-03 14:06:47 +01:00
twinaphex 2884ad2d73 (360) Some buildfixes 2017-12-31 06:09:39 +01:00
twinaphex 20bb653f1e (Xbox 360) Buildfixes 2017-12-30 12:36:00 +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 b1f1f519d5 Don't redefine HAVE_GL_SYNC 2017-12-06 18:28:57 +01:00
twinaphex a53927c5aa Fix PS3 build 2017-12-06 16:53:19 +01:00
ToKe79 6bb2a0e142 GLsync build fix for HAVE_OPENGLES2 2017-12-05 21:58:01 +01:00
twinaphex db4387bd30 See if it's always defined this way 2017-12-05 17:10:31 +01:00
Twinaphex 763e6f766c Silence warning 2017-12-05 16:58:20 +01:00
twinaphex b69622ea88 Avoid usage of GLsync type 2017-12-05 16:56:33 +01:00
twinaphex fafc96d377 Cleanups 2017-12-05 13:31:51 +01:00
Rob Loach e8a9471afd
Fix to ARM to ensure chain has been declared 2017-12-04 18:53:34 -05:00
twinaphex f08b049520 Move more variables 2017-12-04 13:24:27 +01:00
twinaphex 2fd720bcb3 move more variables over 2017-12-04 13:21:23 +01:00
twinaphex 9a8f73fb6c Move variables 2017-12-04 13:18:34 +01:00
twinaphex 48c3a50932 Move more variables 2017-12-04 13:03:14 +01:00
twinaphex f47888aeda Move more variables to renderchain data 2017-12-04 12:50:22 +01:00
twinaphex 19ad9aa1cb Add resolve extensions callback 2017-12-04 12:43:22 +01:00
twinaphex 267e6fe85f Move fence variables to renderchain data struct 2017-12-04 12:02:53 +01:00
twinaphex 072570bbf3 (GL) Update GL1 renderchain too 2017-12-04 11:58:16 +01:00
twinaphex 05ab278aca Pass chain userdata to renderchain driver 2017-12-04 11:54:30 +01:00
twinaphex 4e342956c1 Update comment 2017-12-04 06:13:01 +01:00
twinaphex c869cc5102 Refactor GL code 2017-12-04 05:55:18 +01:00
twinaphex 5a341acb5f Wrap more GL framebuffer functions 2017-12-04 04:57:58 +01:00
twinaphex 44f3341ffe Add EXT versions for OSX PPC 2017-12-04 04:42:40 +01:00
twinaphex b2fbb9aeda Prepare to map DeleteFramebuffersEXT like this 2017-12-04 04:18:28 +01:00
twinaphex 0bf461c40f Try to get past OSX PowerPC crash on exit 2017-12-04 03:27:03 +01:00
twinaphex bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex 721b5f9529 Add set_mvp function callback 2017-11-15 16:51:29 +01:00
twinaphex b6b6ba9226 No more GL_FF_MATRIX/GL_FF_VERTEX 2017-11-15 14:30:38 +01:00
twinaphex 2ac75f98ae (renderchain) Start implementing set_coords/set_mvp 2017-11-15 14:02:41 +01:00
twinaphex 229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex 41daddfe1c Create video_driver_set_mvp 2017-11-14 21:22:44 +01:00
twinaphex 87c82797fd Start cutting down on macro usage 2017-11-13 10:26:56 +01:00
twinaphex e5ed1acc0a (gl1_renderchain.c) Cleanups 2017-11-13 08:58:49 +01:00
twinaphex ec123ef6ca Get rid of most of the HAVE_FBO usage 2017-11-13 06:20:30 +01:00
twinaphex 6fa5fcfa1f Add has_fbo member variable - fixes GL issues 2017-11-13 05:23:44 +01:00
twinaphex 9c791e7fb5 CLeanups 2017-11-12 17:45:23 +01:00
twinaphex 60d96b60b5 Start adding gl1_renderchain.c 2017-11-12 17:32:18 +01:00
twinaphex c5292025c3 Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
twinaphex 063fc96736 Use gl_bind_texture 2017-11-10 04:28:22 +01:00
twinaphex b3d8146009 Try to fix PS3 build 2017-11-10 02:19:25 +01:00
twinaphex a4c9c738b8 Add init_textures_reference 2017-11-08 22:06:10 +01:00
twinaphex 4f016b2c2c Update 2017-11-08 19:31:00 +01:00
twinaphex 3e0b4552d6 Cleanups 2017-11-08 18:49:45 +01:00
twinaphex 5f7527df08 Move readback function to renderchain 2017-11-08 18:45:28 +01:00
twinaphex d6cc447aa0 Add PBO callback functions 2017-11-08 18:22:05 +01:00
twinaphex 9f987dd97b Get rid of NO_GL_READ_PIXELS 2017-11-08 17:42:02 +01:00
twinaphex 4b0932ffb3 Move copy_frame to renderchain 2017-11-08 16:38:56 +01:00
twinaphex a295169a3b Add restore_default_state callback - remove more ifdefs 2017-11-08 16:20:55 +01:00
twinaphex 308818afd1 Add VAO callback functions 2017-11-08 16:16:17 +01:00
twinaphex a72461c16b Create disable_client_arrays function pointer 2017-11-08 05:44:12 +01:00
twinaphex bd1f04554e Implement ff_matrix/ff_vertex 2017-11-08 05:06:19 +01:00
twinaphex dc664ff4f2 Cleanups 2017-11-08 01:53:24 +01:00
twinaphex c1f0fceb4f More buildfixes 2017-11-08 00:59:16 +01:00
twinaphex e7599e8952 More buildfixes 2017-11-08 00:55:38 +01:00
twinaphex 0085b24fd5 Cut down on gl_check_capability calls 2017-11-08 00:49:01 +01:00
twinaphex 0f6a3c8f9d Start cutting down on HAVE_GL_ASYNC_READBACK ifdef 2017-11-07 23:19:54 +01:00
twinaphex 1bc30331a7 Cleanups 2017-11-07 22:59:36 +01:00
twinaphex 7a33bfe924 Get rid of more HAVE_FBO ifdefs 2017-11-07 22:54:38 +01:00
twinaphex 3ccf8c19f1 Start getting rid of HAVE_FBO ifdefs 2017-11-07 21:34:25 +01:00
twinaphex 0100e7b673 Update 2017-11-07 21:08:54 +01:00
twinaphex fc43a14637 Updates 2017-11-07 21:03:29 +01:00
twinaphex fe2bf47b98 Add more to renderchain driver 2017-11-07 20:56:08 +01:00
twinaphex 00d52a4783 Cleanups 2017-11-07 11:06:18 +01:00
twinaphex a7cd8d94b0 Start going through renderchain driver interface for GL 2017-11-07 11:01:30 +01:00
twinaphex 9c6edaff30 Update renderchain driver for GL 2017-11-07 10:10:52 +01:00
twinaphex 7d2e9290e2 Convert another file to C 2017-11-06 19:49:06 +01:00
orbea 10032affcb Fix compile with --disable-fbo.
Fixes https://github.com/libretro/RetroArch/issues/5647
2017-11-04 07:47:03 -07:00
twinaphex 6c262fe44f Convert to C 2017-10-03 02:49:06 +02:00
twinaphex d23d742439 Convert d3d9_cg_renderchain to C 2017-10-03 02:45:06 +02:00
Brad Parker 2bb20a0b4f add generic vector_list for custom types, use it to remove std::vector from D3D9 Cg renderchain 2017-10-02 19:19:12 -04:00
twinaphex 8aef6dff1c Convert d3d8_renderchain to C 2017-10-02 21:39:35 +02:00
twinaphex 9abd790353 Remove some more D3DX dependencies 2017-10-02 20:18:36 +02:00
twinaphex bceb8000dd Use replacement D3DXMatrix functions 2017-10-02 19:01:23 +02:00
twinaphex 5ef6de4d4e C codepath for D3D9 works now 2017-10-02 03:52:53 +02:00
twinaphex cf9147ff66 Remove <string> include 2017-10-02 01:40:20 +02:00
twinaphex 95d035883c Create d3d_surface_lock_rect 2017-10-02 00:45:33 +02:00
twinaphex 0559be4e72 Create d3d_device_create_offscreen_plain_surface 2017-10-02 00:38:05 +02:00
twinaphex ebe5f65893 Create d3d_device_get_render_target_data 2017-10-02 00:21:06 +02:00
twinaphex d960cc8c0f (D3D) Cleanups 2017-10-01 23:22:35 +02:00
twinaphex 8b1ae9427e Create d3d_device_set_render_target 2017-10-01 23:19:44 +02:00
twinaphex 30af756969 Create d3d_device_get_render_target 2017-10-01 22:38:30 +02:00
twinaphex 563024502f Create d3d_surface_free 2017-10-01 22:28:48 +02:00
twinaphex ff40cba3de Create d3d_vertex_declaration_free - wrap more D3D functions 2017-10-01 22:23:28 +02:00
twinaphex 105b98b837 Rename gl_legacy_renderchain to gl2_renderchain 2017-09-19 15:06:49 +02:00
twinaphex 2fb68c7007 (D3D9 HLSL) Cleanups 2017-09-19 15:02:51 +02:00
twinaphex 0ddc349557 (D3D9 HLSL) Cleanups 2017-09-19 14:58:56 +02:00
twinaphex 52970c773b Cleanup 2017-09-19 14:55:18 +02:00
twinaphex 88b593e4af (360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again
2017-09-13 04:33:43 +02:00
twinaphex 170b368044 (360) Some buildfixes 2017-09-13 04:21:00 +02:00
twinaphex 582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
twinaphex 674dbfed19 Cleanups 2017-09-05 04:57:34 +02:00
twinaphex bde5a6dc19 Rename renderchain_driver_t to d3d_renderchain_driver_t 2017-09-05 04:21:40 +02:00
twinaphex 21d3e890f8 Cleanup 2017-09-05 04:16:27 +02:00
twinaphex 97d7240c47 Cleanups 2017-09-05 04:08:44 +02:00
twinaphex 1c6314f1ff Cleanups 2017-09-05 03:51:20 +02:00
twinaphex 057444433d Cleanups 2017-09-05 03:42:39 +02:00
twinaphex 3eecbd7135 Fix d3d9_cg_renderchain.cpp 2017-09-05 03:27:00 +02:00
twinaphex 374b6115e1 Update HLSL backend 2017-09-05 03:21:58 +02:00
twinaphex 83ffb5092a Cleanups 2017-09-05 03:00:51 +02:00
twinaphex c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
twinaphex fb5744318a Start adding D3D8 headers 2017-09-05 00:37:17 +02:00
twinaphex b46c4b4db5 Create d3d8_renderchain.cpp and d3d9_hlsl_renderchain.cpp 2017-09-05 00:00:17 +02:00
twinaphex c96b843330 xdk_renderchain.cpp should become the D3D8 renderchain implementation
(for Xbox OG/PC);
xdk360_renderchain.cpp will become the D3D9 HLSL one (for 360/PC)
2017-09-04 23:50:13 +02:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex e411e7c284 Add separate PI macro 2017-04-24 10:31:25 +02:00
twinaphex 087002d9c5 Get rid of unused video_driver_get_frame_count - locking/unlocking
around this variable should no longer be necessary
2017-04-23 21:39:49 +02:00
twinaphex 637b26772c Directly initialize some variables 2017-04-20 09:46:03 +02:00
twinaphex 96a9730a08 Cleanups 2017-04-20 09:15:56 +02:00
twinaphex d1ff5dd973 Header include cleanups 2017-04-20 09:14:20 +02:00
twinaphex d4ecc6398d (d3d9_cg_renderchain.cpp) Fix header includes 2017-04-19 16:11:00 +02:00
twinaphex ca6eee21d9 Add header include for null_renderchain.c 2017-04-19 12:37:54 +02:00
twinaphex 0a33e6e8e4 Fix relative path header includes 2017-04-19 02:17:34 +02:00
twinaphex b15cca82c7 Fix some relative path header includes 2017-04-19 02:15:47 +02:00
twinaphex 5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex 00a59629aa Silence some more warnings 2017-04-19 01:57:00 +02:00
twinaphex 7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00