zoltanvb
996eb680b0
Do not try to fetch full name thumbnails if not set explicitly. ( #16174 )
2024-01-29 08:42:39 -08:00
zoltanvb
1e58df4f51
Flexible thumbnail improvements. ( #16082 )
...
- Move flag logic to task_push_pl_entry_thumbnail_download - this
enables individual "download thumbnails" entry to be also flexible
- Add a message when this download has been tried enough times
(i.e. 3)
- Optimize cases when full or short name is the same as standard
name, skip queries if so (both download and local file)
2024-01-07 07:57:39 -08:00
zoltanvb
3ce56c5b42
Flexible thumbnail matching ( #16040 )
...
Add logic to handle 3 possible thumbnail names, in following order:
- most exact name derived from content file (same name, with .png extension)
- usual name derived from playlist (usually coming from database)
- shortened name up to first bracket, chopping off region/publisher etc. info
For local file system, names are checked always.
For thumbnail downloads, names are checked each time the item comes up
in the playlist, meaning that it may take going back and forth 3 times
for a thumbnail to appear. However, as a positive change, failed thumbnail
downloads are not repeated for the same playlist, which was not the case
earlier.
2023-12-27 02:26:46 -08:00
libretroadmin
dd3ceb40e9
Style nits
2023-09-03 17:37:00 +02:00
libretroadmin
770b9920f5
Cleanups:
...
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
sonninnos
55aeba2f57
Savestate thumbnail aspect ratio fallback ( #14828 )
2023-01-09 04:13:11 +01:00
LibretroAdmin
d506210fbe
(menu_driver.c) Use flags instead of bools ( #14500 )
...
* (menu_driver.c) Use flags instead of bools
2022-10-08 22:52:18 +02:00
libretroadmin
0e85113eb3
(libretro-common) Style nits/cleanups
2022-07-10 18:13:49 +02:00
libretroadmin
bf5409881c
gfx_display_rotate_z optimizations - if radians is 0, we know cosine
...
and sine already. Avoid the computation with sinf/cosf and pass it as value to the
function when possible
2022-07-06 11:03:15 +02:00
libretroadmin
6607ff3aaa
rotate_draw - get rid of scale_x/y/enable - scaling is only done now
...
in XMB at two spots - refactor gfx_display_rotate_z so that it only
manipulates the input matrix' Z axis
2022-07-05 20:50:01 +02:00
libretroadmin
336ca1a68c
Don't call gfx_display_rotate_z unless the display driver implementation's
...
'handles_transform' is set to false
2022-07-05 17:20:01 +02:00
sonninnos
494c93df3e
Thumbnail aspect ratio fix ( #14145 )
2022-07-05 12:01:21 +02:00
sonninnos
91c8541e20
(Ozone+XMB) Savestate thumbnail aspect ratio ( #14139 )
2022-07-03 16:14:51 +02:00
jdgleaver
f2dca12a22
(Ozone/XMB) Prevent unnecessary thumbnail requests when scrolling through playlists
2022-05-19 16:42:01 +01:00
twinaphex
e13073c411
move gfx_thumb_state to gfx_thumbnail.c
2021-09-30 18:05:00 +02:00
twinaphex
5334ddd199
Don't call anim_get_ptr inside gfx_thumbnail.c
2021-04-08 01:30:42 +02:00
twinaphex
cd9d6c0511
gfx_display - Get rid of lots of pointer grabbing
2021-03-25 20:12:34 +01:00
twinaphex
54f30e31a1
Cleanups
2020-10-05 21:44:13 +02:00
twinaphex
20371e5102
(gfx_thumbnail) get rid of small getters
2020-10-02 21:59:02 +02:00
twinaphex
515e119861
Get rid of gfx_animation_get_delta_time
2020-09-24 06:14:04 +02:00
twinaphex
c040e4cd08
Cleanups
2020-09-23 22:14:30 +02:00
twinaphex
43b43351fa
Start making gfx_display_blend_begin and gfx_display_blend_end
...
unnecessary
2020-09-23 09:32:42 +02:00
twinaphex
3a21a6e134
Cleanup
2020-08-18 16:53:19 +02:00
twinaphex
789bc83276
reorder structs, alignment
2020-08-15 23:02:01 +02:00
twinaphex
dffa052958
Rearrange draw struct
2020-08-14 15:58:43 +02:00
jdgleaver
ada08e1c6f
'comparison of integer expressions of different signedness' warning fix
2020-08-05 09:55:06 +01:00
jdgleaver
776301883c
Enhanced playlist search functionality
2020-07-31 15:14:51 +01:00
twinaphex
4bd8c2a7ff
Avoid calloc where possible
2020-06-27 15:06:45 +02:00
twinaphex
e04bce7dd0
Move gfx_thumbnail global state to rarch_state
2020-06-10 17:22:02 +02:00
twinaphex
8ba8772edb
Cleanups
2020-06-08 05:57:47 +02:00
twinaphex
9707f1f622
Get rid of gfx_ctx_animation_tag
2020-06-08 04:09:12 +02:00
twinaphex
ec35ce7fdc
Add TODO/FIXME notes
2020-05-29 10:23:48 +02:00
jdgleaver
5eee8daa4f
(gfx_thumbnail) Fix heap-use-after-free error
2020-05-19 14:03:02 +01:00
jdgleaver
63644ac761
(GLUI) Add desktop-style playlist view mode
2020-05-09 14:53:52 +01:00
twinaphex
7d4e5b8ce5
No more video_info_frame dependency in gfx_thumbnail.c
2020-03-09 02:15:44 +01:00
twinaphex
044619281c
gfx_display_draw - remove video_frame_info dependency
2020-03-08 22:52:02 +01:00
twinaphex
6cb6f76add
gfx_display_rotate_z - get rid of video_frame_info dependency
2020-03-08 22:33:11 +01:00
twinaphex
e4aa0fd544
(gfx display) Get rid of video_frame_info dependency for
...
blend_begin/blend_end
2020-03-08 22:28:42 +01:00
twinaphex
9b76446b48
Cache video_info->width/video_info->height into local variables
...
and use them throughout code
2020-03-07 21:18:12 +01:00
jdgleaver
5b59f0dcda
(gfx_thumbnail) Move globals to a single struct
2020-03-06 15:48:07 +00:00
twinaphex
da60c1bb96
Header cleanups
2020-03-05 14:06:04 +01:00
twinaphex
f74225721d
menu_thumbnail and menu_thumbnail_path now decoupled from menu
...
system
2020-02-16 16:38:17 +01:00