Commit Graph

210 Commits

Author SHA1 Message Date
Nano c017271d8a Fix #6747 Black bug 2019-01-19 10:26:06 +01:00
Twinaphex 01397f008a
Revert "Fix issue #6747 black bug" 2019-01-10 22:52:13 +01:00
Twinaphex e4f9aebbd3
Merge pull request #7973 from daliaetnano/fix-2791-black-bug
Fix issue #6747 black bug
2019-01-10 22:36:40 +01:00
twinaphex c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
Nano f1ba335cb3 Fix issue #2791 black bug 2019-01-09 22:52:45 +01:00
Twinaphex 1aee59f9f4
Revert "Fix issue #2791 black bug" 2018-12-24 03:33:18 +01:00
Nano 770bd52411 Fix issue #2791 black bug 2018-12-23 18:31:21 +01:00
twinaphex 0bf0e355ec This stops the crashes with video_get_output_size/next/prev 2018-11-25 21:51:09 +01:00
twinaphex c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
Brandon Wright 533f898132 Add get refresh rate context function. Implement for X11 and Wayland. 2018-04-15 17:56:12 -05:00
twinaphex 08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00
twinaphex 82d44e9ad3 Cut down on more HAVE_MENU ifdefs 2017-12-31 18:02:14 +01:00
twinaphex bd16fd49ab Fix ./configure --disable-rgui 2017-12-31 17:53:11 +01:00
twinaphex cf3a010ead Remove some HAVE_MENU ifdefs 2017-12-31 17:42:07 +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 683c437941 Updates 2017-11-14 21:34:03 +01:00
twinaphex 702f1276d6 Silence warnings 2017-10-03 00:53:09 +02:00
twinaphex 02ac92b91d Cleanups 2017-09-08 16:43:34 +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 bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex 2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex d06c963a19 Get rid of PERF_ENABLE blocks 2017-04-24 11:20:30 +02:00
twinaphex 34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex bf7616cf0e Revert "Move structs to gfx/video_thread_wrapper.h"
This reverts commit 12d0073d50.
2017-04-23 19:17:52 +02:00
twinaphex 12d0073d50 Move structs to gfx/video_thread_wrapper.h 2017-04-23 18:28:44 +02:00
twinaphex 0f2a6f3dd2 Don't use performance counters in GL/Vulkan/video thread wrapper
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
Brad Parker 151feee826 add null pointer check, fixes startup crash with null video driver 2017-03-19 19:25:19 -04:00
twinaphex cdfc89b975 use perfcounter plus functions for video_thread_wrapper too 2017-01-25 17:13:29 +01:00
twinaphex 6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
twinaphex 2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 586654846a Buildfix 2017-01-19 16:33:02 +01:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex 9feb430b58 Don't pass video_info_t as pointer 2017-01-16 18:03:00 +01:00
twinaphex 8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
twinaphex 1d59bc3452 (gfx) Style nits 2017-01-12 10:41:11 +01:00
twinaphex c086a18ceb video_driver_frame_filter no longer needs to grab pointer to
settings
2017-01-09 15:46:40 +01:00
twinaphex 35fefb1c09 Do away with yet more pointer grabbing of settings 2017-01-09 15:14:16 +01:00
twinaphex 6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
twinaphex 5ca7344436 Get rid of more implicit memsets 2016-12-19 19:17:23 +01:00
twinaphex 00e68ccd0e Reduce char variables size 2016-10-27 10:16:26 +02:00
twinaphex e427a2d2fa Move enums to gfx/video_thread_wrapper.c 2016-09-11 17:42:53 +02:00
twinaphex 88c7976104 Rename CMD_NONE to CMD_VIDEO_NONE 2016-09-11 17:40:26 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex f53711f791 Change return type of load_texture to uintptr_t 2015-12-20 22:38:18 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex 34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex 1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex bae51fb3bd Turn rarch_threaded_video_send_and_wait to static function 2015-12-08 11:17:26 +01:00
twinaphex 1ea3b54411 Move definition of thread_packet to video_thread_wrapper.c 2015-12-08 11:09:09 +01:00
twinaphex aa6c7a5ed3 Create two new threading command wrapper functions 2015-12-08 11:05:18 +01:00
twinaphex 7f433a36d5 Move rthreads.h header include to video_thread_wrapper.c 2015-12-06 21:35:55 +01:00
twinaphex 9b65988682 Create rarch_threaded_video_send_and_wait 2015-12-06 21:34:39 +01:00
twinaphex 37286ca894 header cleanup 2015-12-06 21:31:20 +01:00
twinaphex b7f7b1f3b7 video_thread_wrapper.c - cleanups 2015-12-02 01:01:27 +01:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +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 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex 5bf91c92cb rarch_threaded_video_get_ptr - prevent possible NULL pointer dereferences 2015-10-05 06:13:58 +02:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
twinaphex 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
twinaphex 0bf8a36d50 Fix RGUI fallback - if threaded video wrapper was enabled,
we could not grab an ident resembling 'd3d' or 'gl'
2015-08-17 20:51:12 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
twinaphex c3f5ea0fcc Make input_overlay.h no longer depend on RPNG image 2015-07-11 08:14:39 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro 97f8188969 Clean up some C99 longlongs. 2015-06-26 16:21:50 +02:00
Higor Eurípedes 376228fac3 Clear thr->cmd_data after blocking for a reply. 2015-05-20 21:43:43 -03:00
twinaphex 95821959a7 Remove local variable 2015-05-20 22:22:47 +02:00
Higor Eurípedes 09c9904ab0 Cleanup thread_loop a bit 2015-05-20 17:06:57 -03:00
Higor Eurípedes bb2f181386 Remove unprotected access to cmd_data and rewrite message passing mechanism 2015-05-20 17:06:57 -03:00
twinaphex cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
Alcaro 3ea56e67a9 Fix some race conditions on that frame counter. 2015-05-09 16:30:02 +02:00