136 Commits

Author SHA1 Message Date
twinaphex
36a76d1248 Take out my own implementation in favor of Ryunam's 2020-07-20 00:50:40 +02:00
Autechre
8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Ryunam
5014f90e4d Add options to customize Screenshot notifications 2020-07-19 23:42:16 +02:00
twinaphex
ccd9b8ead4 (Widgets) onscreen Notifications -> Add setting to enable/disable 'take
screenshot' widget individually
2020-07-19 23:26:14 +02:00
jdgleaver
0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex
876419294d (gfx widgets) Pass more state around 2020-06-08 02:54:01 +02:00
twinaphex
98b847cad9 Fix some memory leaks and fallthrough errors picked up on by
Clang static code analyzer
2020-06-07 16:15:35 +02:00
jdgleaver
3a3c4f60bf (task_screenshot) Fix heap-use-after-free error when widgets are disabled 2020-04-30 11:25:53 +01:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
twinaphex
7986561598 Rename menu widgets to display widgets 2020-03-13 03:58:33 +01:00
natinusala
375621394c gfx_widgets: move volume into its own file 2020-03-12 09:31:05 +01:00
twinaphex
9ae4031d13 Cleanups 2020-03-07 19:14:45 +01:00
twinaphex
7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex
b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4 Rename menu_widgets to gfx_widgets 2020-02-17 01:43:40 +01:00
twinaphex
9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
twinaphex
b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex
698387e762 (task_screenshot.c) Cleanups - don't use snprintf unless necessary 2019-09-18 02:31:02 +02:00
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