Commit Graph

166 Commits

Author SHA1 Message Date
twinaphex 6c671faed6 Start preparing for menu_widgets_ready to be moved to retroarch.c 2019-08-15 14:20:51 +02:00
twinaphex 20846796cd Cut down on some menu_widgets_ready calls 2019-08-15 13:12:15 +02:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
Twinaphex 2d6e56d049 Remove some unused variables 2019-06-17 15:30:31 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex fdd09a8b06 Refactor task screenshot 2019-06-06 15:48:50 +02:00
twinaphex 280cec702b video_driver_supports_viewport_read should only check if
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
twinaphex e255204158 (task_screenshot.c) Cleanups 2019-05-22 07:40:43 +02:00
twinaphex 6aed230930 Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
twinaphex 020b714113 Refactor task_screenshot.c 2019-05-22 05:54:35 +02:00
twinaphex ceee15c031 (task_screenshot.c) Cleanup screenshot_dump 2019-05-22 05:23:19 +02:00
Nathan S 775c272029 Menu widgets stuff + vulkan sanity check (#8710)
* task_screenshot: fix hang with menu widgets

* word_wrap: add max_lines parameter

* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
natinusala 636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
natinusala a253fac207 menu_widgets: fix screenshot notification data race 2019-05-01 15:46:57 +02:00
twinaphex 70373dba9a (task_screenshot.c) Cleanups 2019-04-13 04:56:11 +02:00
Twinaphex 8918d0d873
Merge pull request #8580 from bparker06/playlist_subsystem
Add subsystem support for (history) playlists, make playlist_entry struct public to simplify function parameters
2019-04-12 23:45:02 +02:00
Brad Parker f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
natinusala 942d228e3a menu widgets: fix screenshot flash tainting the image 2019-04-11 16:46:41 +02:00
Brad Parker 230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
natinusala 3d52f2bf8f menu widgets: reimplement screenshot widget 2019-04-08 17:06:04 +02:00
jdgleaver dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
Brad Parker e0b75ec3fb fix a whole bunch of memory leaks 2019-03-01 12:05:14 -05:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea 02382b1cd7 Fix screenshot filename with no core or content. 2019-01-15 21:55:03 -08:00
orbea 06d0a19e95 Fix png file names for screenshots with contentless cores.
For contentless cores like 2048 and the retropad RetroArch will save png
files with the content field missing.

  -181227-133151.png

Now RetroArch will save png files with the correct names for contentless
cores.

  2048-181227-133151.png
  RetroPad Remote-181227-133202.png

Cores with content will have no change in behavior.

  Akumajou Dracula (J)-181227-133232.png

And with cores that support content and no content such as 4DO both
variations will work.

  4DO-181227-144102.png
  LuciennesQuest-181227-144118.png

Fixes https://github.com/libretro/RetroArch/issues/7828
2018-12-27 14:50:09 -08:00
Brad Parker 23836bfba9 use_thread option for screenshot was backwards 2018-08-27 13:38:43 -04:00
Brad Parker b0146abd11 add fullpath and use_thread parameters to take_screenshot() 2018-08-18 23:08:55 -04:00
twinaphex 69fedc6b40 task_screenshot.c - remove XBOX1 specific code 2018-02-05 00:29:05 +01:00
twinaphex 0e337bb110 Use d3d_device_get_backbuffer 2018-01-03 16:25:45 +01:00
twinaphex e17baf411c Use d3d_surface_free 2018-01-03 14:10:14 +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 b4ac3e7b2f Cleanups 2017-11-25 23:06:56 +01:00
twinaphex 8cc2e9bade Cleanups 2017-11-25 23:06:25 +01:00
twinaphex ca616f3e32 Cleanup 2017-11-25 22:33:43 +01:00
twinaphex dc2664a4ef Reorder variables 2017-09-29 22:58:32 +02:00
radius cf8783644d allow screenshots into content dir via bool setting in addition of the empty string 2017-08-05 13:57:24 -05:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex bd7970b9b7 Cleanups 2017-05-13 22:28:19 +02:00
twinaphex b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 41349621cf Add extra param to runloop_get_status 2017-01-25 16:57:22 +01:00
Twinaphex a9ceed79fa Silence unused variable warning 2017-01-24 14:15:36 +01:00
twinaphex 793c894abb (task_screenshot.c) Cleanups 2017-01-24 01:58:48 +01:00
twinaphex c19a0bdc5d Simplify take_screenshot function 2017-01-23 15:13:31 +01:00
twinaphex 4aac4aa2e6 Revert "Use task_set_title"
This reverts commit c867784898.
2017-01-23 14:15:26 +01:00
twinaphex c867784898 Use task_set_title 2017-01-23 13:19:35 +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 314fd776e3 (task_screenshot.c) Cleanups 2017-01-03 06:57:55 +01:00
twinaphex 135394d193 Add is_paused member variable to screenshot task state 2017-01-03 04:42:10 +01:00
twinaphex 80519955ca (task_screenshot.c) Nits 2017-01-03 04:40:11 +01:00
twinaphex f6c861cf1a Cleanup 2017-01-03 04:37:52 +01:00
twinaphex 20d313204a Add history_list_enable to screenshot task state 2017-01-03 04:35:13 +01:00
twinaphex 5de111212a (task_screenshot.c) Cleanups 2017-01-03 04:30:02 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex c27038d9bd (Wii) Fix build 2016-12-24 03:21:29 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex af2393b821 Remove content_push_to_history_playlist 2016-12-20 22:48:10 +01:00
twinaphex 3c7c667cf5 Get rid of some implicit memsets 2016-12-19 19:04:52 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex f80d838aa0 Revert "make state screenshots non-gpu"
This reverts commit e0989d0b9e.
2016-12-12 14:14:45 +01:00
radius e0989d0b9e make state screenshots non-gpu 2016-12-11 12:30:20 -05:00
twinaphex a5a594f619 Don't push screenshot to image history if we are just saving
a state
2016-12-11 10:34:12 +01:00
twinaphex 0d1fcbbe1e (task_screenshot.c) Prevent memory leak 2016-12-06 06:56:07 +01:00
twinaphex 1b3b0c26d1 take_screenshot - simplifications 2016-12-06 06:54:30 +01:00
twinaphex 86a222e0e6 Create just one screenshot function 2016-12-06 06:52:57 +01:00
twinaphex 47274607f4 (tasks) * Respect 80-char limit - * Fix leaking of ssid_list in task_wifi.c 2016-12-04 19:08:24 +01:00
Jean-André Santoni b8db914af4 Fix savestate thumbnail path when screenshot dir is set 2016-12-01 23:24:16 +01:00
Jean-André Santoni 2cc4bef3aa Do the screenshot in the savestate callback 2016-12-01 22:39:13 +01:00
Jean-André Santoni db8f47cb58 Set task_screenshot to non blocking 2016-12-01 20:40:54 +01:00
Jean-André Santoni 41f1063da3 Hide the screenshot message 2016-12-01 20:32:13 +01:00
Jean-André Santoni d142ccca02 Never add the date in the screenshot filename if it is a savestate thumbnail 2016-12-01 20:31:07 +01:00
Jean-André Santoni 367dcef0b1 Savestate thumbnails 2016-12-01 20:31:07 +01:00
Jean-André Santoni 70053afd03 Revert "Add way to hide message for screenshot tasks"
This reverts commit 0aca3d04c0.
2016-12-01 20:30:54 +01:00
twinaphex 0aca3d04c0 Add way to hide message for screenshot tasks 2016-12-01 20:22:44 +01:00
Jean-André Santoni dc15a880f7 Fix screenshots in content_dir 2016-11-28 01:00:14 +01:00
twinaphex a50a47b89f (task_screenshot.c) Cleanup 2016-11-21 09:06:31 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex 279a90a01b Remove dependencies from gfx/video_frame.c 2016-11-08 15:26:15 +01:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex 82472c82ea (task_screenshot) Prevent implicit memsets 2016-10-09 10:43:16 +02:00
twinaphex 7d68a20a97 Silence Deference before null check warning (Coverity) 2016-10-06 05:17:22 +02:00
twinaphex 166e300471 Plug more memor yleaks 2016-10-04 11:16:02 +02:00
twinaphex f06ea9ba70 Fix 17 new memory leaks catched by Coverity 2016-10-04 11:02:01 +02:00
Brad Parker e50414db74 make screenshots into a real task 2016-10-02 22:41:46 -04:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 570d9c2164 Change global_name_base variable name to name_base variable 2016-09-29 07:12:03 +02:00
twinaphex 11ced5d438 relocate HAVE_CONFIG_H ifdef 2016-09-19 03:41:55 +02:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex 82fecdbc70 (Vita) silence some warnings 2016-08-24 14:04:22 +02:00
Francisco José García García 5bd2364575 (VITA) Fix screenshots and some debug options 2016-08-23 18:17:46 +02:00