Commit Graph

288 Commits

Author SHA1 Message Date
twinaphex e9f08dfafe (D3D) Don't use Pass from d3d_wrapper.cpp 2015-04-05 18:25:48 +02:00
twinaphex 9c678a3abd (D3D) Buildfix #2 2015-04-05 18:21:25 +02:00
twinaphex 6927d6e47c (D3D) Rename cg_shader to shader_path 2015-04-05 18:20:45 +02:00
twinaphex 56145d279d (D3D) Don't ifdef out d3d_init_shader/d3d_deinit_shader 2015-04-05 18:18:02 +02:00
twinaphex 97acc50b6e (D3D) Fix two extern declarations 2015-04-05 18:15:10 +02:00
twinaphex b148bb0c8a (XDK) Buildfix #2 2015-04-05 18:11:50 +02:00
twinaphex e59d5a26b2 (XDK) Buildfix 2015-04-05 18:08:33 +02:00
twinaphex e022372db5 (D3D) Buildfix 2015-04-05 18:01:33 +02:00
twinaphex 1a7d3e3ea0 Move Cg Context to render_chain.cpp 2015-04-05 17:59:03 +02:00
twinaphex 2ae20608e8 Wrap SetTexture calls 2015-04-05 17:44:27 +02:00
twinaphex 252c9e5947 (D3D) d3d_set_texture - implement it properly 2015-04-05 17:42:53 +02:00
twinaphex 7a2554c750 (D3D) Wrap SetSamplerState calls 2015-04-05 17:41:04 +02:00
twinaphex 07dc651d15 (D3D) Go through d3d_set_stream_source in render_chain.cpp 2015-04-05 17:33:54 +02:00
twinaphex 500ad905a8 (D3D) Cleanups 2015-04-05 17:27:45 +02:00
twinaphex 7f65bf700a Revert "(D3D) More refactors to do with hiding away vertex declaration"
This reverts commit c6458daa0e.
2015-04-05 17:21:52 +02:00
twinaphex c6458daa0e (D3D) More refactors to do with hiding away vertex declaration
code in render_chain.cpp
2015-04-05 17:17:18 +02:00
twinaphex aaee638f6d (D3D) Cleanup 2015-04-05 17:08:22 +02:00
twinaphex 74a1920fda (D3D) Free vertex declaration in d3d_vertex_buffer_free 2015-04-05 17:05:53 +02:00
twinaphex d1af8742f6 (D3D) Turn _XBOX1 ifdef into HAVE_D3D8 2015-04-05 16:54:06 +02:00
twinaphex 2adab38d8e (D3D) Use libretro.h pixel format types 2015-04-05 16:51:19 +02:00
twinaphex e89a712d8d (D3D) Use libretro pixel format types 2015-04-05 16:48:22 +02:00
twinaphex 162ffd9586 (D3D) Cleanups 2015-04-05 16:34:31 +02:00
twinaphex 3f118245a6 Change some _XBOX1 defines to HAVE_D3D8 defines 2015-04-05 16:17:22 +02:00
twinaphex 975464968f (D3D) Style nits 2015-04-05 15:53:06 +02:00
twinaphex e3e99d0516 Include render_chain_cg.h into render_chain.cpp 2015-04-05 05:09:05 +02:00
twinaphex a1106e949e (XDK) Don't increment video frame count in video driver 2015-04-05 05:06:01 +02:00
twinaphex f0dbe674a4 Move struct definition of renderchain_t to render_chain.cpp 2015-04-05 05:01:47 +02:00
twinaphex 8b9d08e8ee (D3D) Refactors pt. 2 2015-04-05 04:59:35 +02:00
twinaphex bf196212f3 (D3D) Refactor renderchain code some more 2015-04-05 04:54:50 +02:00
twinaphex 4ba073424c (D3D) More refactors 2015-04-05 04:30:50 +02:00
twinaphex 122df894ff (D3D) Cleanups 2015-04-05 04:18:49 +02:00
twinaphex 58112a1409 (D3D) Refactor find_semantic 2015-04-05 04:04:19 +02:00
twinaphex 32d80dc413 (D3D) Create renderchain_add_lut 2015-04-05 03:57:09 +02:00
twinaphex e0e54ca093 (D3D) Buildfix 2015-04-05 03:43:28 +02:00
twinaphex 784e7998c1 (D3D) Rewrite renderchain_set_mvp 2015-04-05 03:42:15 +02:00
twinaphex 4a41dbcda7 Rewrite find_param_from_semantic 2015-04-05 03:35:21 +02:00
twinaphex 6e04afad4d (D3D) Update 2015-04-05 02:31:24 +02:00
twinaphex 4e7f1f0dc8 (D3D) Change lut_info.id to char 2015-04-05 02:13:27 +02:00
twinaphex dd3aedf927 (Cg) Rewrite renderbind_chain_pass pt. 2 2015-04-05 02:10:06 +02:00
twinaphex 89b0daa458 (D3D) Rewrite renderchain_bind_pass 2015-04-05 02:08:18 +02:00
twinaphex f425ea56a4 (D3D) Buildfix 2015-04-05 01:50:19 +02:00
twinaphex 0a5a72b8b1 (D3D) Cleanups pt. 8 2015-04-05 01:48:44 +02:00
twinaphex 249a0b898d (D3D) Use pointer arguments instead of references 2015-04-05 01:24:09 +02:00
twinaphex 583855a85c (D3D) Cleanups pt. 7 2015-04-05 01:15:54 +02:00
twinaphex cf4975b059 (D3D) Cleanups pt. 6 2015-04-05 01:05:51 +02:00
twinaphex b6c862c76b (D3D) Cleanups pt. 5 2015-04-05 00:59:02 +02:00
twinaphex 8a516b13ac (D3D) Cleanups pt. 4 2015-04-05 00:54:51 +02:00
twinaphex 9081500780 (D3D) Cleanups pt. 3 2015-04-05 00:44:54 +02:00
twinaphex 880a7813a1 (D3D) Cleanups pt. 2 2015-04-05 00:09:39 +02:00
twinaphex 94fa13512c (D3D) Cleanups 2015-04-05 00:06:53 +02:00
radius 5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex 0a6be957e9 (D3D) Cleanups 2015-04-04 20:49:30 +02:00
twinaphex 02c514a873 (D3D) Build fixes 2015-04-04 03:04:01 +02:00
twinaphex 9e56bd2f23 Rename files back to .cpp 2015-04-04 02:36:55 +02:00
twinaphex 532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00
twinaphex 6131fc7773 Rename d3d_wrapper.cpp 2015-04-03 02:16:55 +02:00
twinaphex 4a8f354fdc Rename d3d_w32_font.cpp to d3d_w32_font.c 2015-04-03 01:53:42 +02:00
twinaphex 318b74332e (XDK1) Cleanups 2015-03-30 02:16:54 +02:00
twinaphex 7c1d3471f6 (XDK1) Build fixes 2015-03-30 02:10:42 +02:00
twinaphex 2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex c849c6bcdf (D3D) Prepare d3d driver for font changes 2015-03-30 00:46:56 +02:00
twinaphex 8f3e83ad10 Pass d3d->font_handle to 'init_first' 2015-03-30 00:34:43 +02:00
twinaphex 5f56455e60 (D3D) Build fixes for font changes 2015-03-29 23:58:00 +02:00
twinaphex 07d28f7b31 Change signature of d3d_font_init_first 2015-03-29 23:51:06 +02:00
twinaphex bfbcbb6ae8 (D3D) Buildfix 2015-03-29 23:34:43 +02:00
twinaphex 4bc4837d95 (D3D) Move font_color variable to d3d_w32_font.cpp 2015-03-29 23:12:05 +02:00
twinaphex a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
twinaphex 84f9f64f47 (360 MSVC) Fixes 2015-03-21 22:48:27 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex f130b00596 Updates pt. 3 2015-03-20 22:08:36 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 0788eab2bf (D3D) render_chain.cpp - cleanups 2015-03-16 18:40:07 +01:00
twinaphex 15bb15b22c (D3D) Cleanups 2015-03-16 18:33:47 +01:00
twinaphex 02d41ad651 (D3D) Move variables to top 2015-03-16 18:18:37 +01:00
twinaphex b4e564ad60 (D3D) Get rid of monitor namespace 2015-03-16 17:58:04 +01:00
aliaspider 7a72d46f9a add a read_frame_raw callback to the video_driver_t structure. 2015-03-16 09:33:16 +01:00
twinaphex 7eaf29a443 (D3D) Add runloop.h header include 2015-03-15 18:19:56 +01:00
twinaphex 6ee8da7bc5 (D3D) Buildfix 2015-03-15 17:54:53 +01:00
twinaphex 6fd50c1cdb (D3D) Cleanups 2015-03-15 17:51:27 +01:00
twinaphex 26f2bd4cbf Start going through retro_inline INLINE 2015-03-15 04:37:54 +01:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex f80e3740aa Implement set_video_mode in video poke interface 2015-02-24 21:57:51 +01:00
twinaphex 13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex f9ede9d00a Add get_video_output_size to video driver's poke interface 2015-02-24 20:06:58 +01:00
twinaphex 59c6bfc772 (D3D) Build fix 2015-02-17 00:38:50 +01:00
twinaphex 4b027ed975 (MSVC) Build fixes 2015-02-14 06:09:45 +01:00
twinaphex 64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex 4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex e5654ac385 (D3D) Buildfix 2015-02-08 18:46:03 +01:00
twinaphex da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex b0548e1329 Properly namespace video_shader_parse.c functions 2015-01-19 21:09:39 +01:00
twinaphex 0d89ef49d6 Add video_monitor.h header include to gfx/d3d/d3d.cpp 2015-01-19 19:11:46 +01:00
twinaphex 51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex 80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex 8cabbcaf66 (MSVC) Build fixes 2015-01-18 22:43:07 +01:00
twinaphex de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex 0cedae2b15 (360) Cleanups 2015-01-17 06:48:06 +01:00
twinaphex 18ee6912a5 (D3D) Build fix 2015-01-17 06:33:56 +01:00
twinaphex 9490c72876 (D3D) Cleanups 2015-01-17 06:30:39 +01:00
twinaphex 4428fe21cd Add UI Menubar Enable setting 2015-01-17 01:29:15 +01:00
twinaphex eda9b5b7b5 (D3D) Start showing menubar - doesn't interact yet 2015-01-15 19:05:11 +01:00
Swizzy 122888fa80 Merge branch 'master' of https://github.com/libretro/RetroArch 2015-01-13 01:01:10 +01:00
Swizzy 049a63b9d4 (D3D) Revert a Debug fix which causes reinit to fail 2015-01-13 00:56:50 +01:00
twinaphex 058900ac9f Rename shader_parse.c to video_shader_parse.c 2015-01-12 23:42:50 +01:00
twinaphex 09b25e54c5 Rename gl_font.c and d3d_font.c 2015-01-12 23:19:21 +01:00
twinaphex 64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +01:00
twinaphex 069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex 0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex cec3af8e4a Rename shader_context.c to video_shader_driver.c 2015-01-12 21:41:27 +01:00
twinaphex bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex fc806d2914 Rename state tracker files 2015-01-12 16:00:13 +01:00
twinaphex 41fbfe3e55 (state_tracker.c) Namespace changes 2015-01-12 02:15:35 +01:00
Swizzy 78db1209f4 (D3D) Fix yet another debug exception 2015-01-09 01:27:49 +01:00
Twinaphex 9895835f04 Merge pull request #1325 from Swizzy/master
Some XDK360 fixes
2015-01-08 14:12:04 +01:00
Swizzy f7117e9fd5 (XDK360) Fixed some D3D Debug exceptions 2015-01-08 01:09:00 +01:00
twinaphex f9cd1ba788 Rename .hpp files 2015-01-07 22:23:45 +01:00
twinaphex ecf499c588 Update headers 2015-01-07 18:24:13 +01:00
twinaphex bcfc9d9077 Update headers 2015-01-07 18:06:50 +01:00
Lioncash ee80a34974 Add/fix some trivial null checks 2014-11-14 23:06:34 -05:00
twinaphex bb327684aa Update d3d_set_osd_msg 2014-11-09 20:27:51 +01:00
Higor Eurípedes 3479614e68 (d3d) Fix undeclared pretro_get_memory_data() error 2014-10-24 20:15:12 -02:00
Higor Eurípedes 40f19cf2c4 (d3d) Move C++ headers to the top to avoid namespace conflicts 2014-10-24 20:12:23 -02:00
twinaphex 6eaec2fb97 Update other gfx_ctx_init_first calls 2014-10-24 02:15:30 +02:00
twinaphex 12f22b0c8a (D3D) Include file/file_path.h 2014-10-22 03:56:54 +02:00
twinaphex 83602a79f1 (MSVC) Buildfix 2014-10-22 00:50:30 +02:00
twinaphex bf8cec3d04 (MSVC) Build fixes 2014-10-21 08:02:40 +02:00
twinaphex bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex 6214e8e211 (360) Build fixes 2014-10-03 22:26:29 +02:00
twinaphex 7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex 6b054da299 Rename shader_common to shader_context 2014-10-02 13:21:45 +02:00
twinaphex ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex 00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
Lioncash f8499aa71a Sanitize against NULL in some free-like functions. 2014-09-15 09:30:27 -04:00
twinaphex a752db392f Revert "Do life cycle state checking outside of graphics driver for"
This reverts commit 06bea05634.
2014-09-14 07:53:18 +02:00
twinaphex 295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00