Higor Eurípedes
6c7a354822
(xmb) Remove xmb->menu_stack_old
2017-09-03 14:51:14 -03:00
twinaphex
67710daf4b
Fix initialization from incompatible pointer type
2017-09-03 15:45:18 +02:00
Higor Eurípedes
718eeb4a39
(xmb) Fix memleak
...
Due to file_list_free()'s behavior of free()ing userdata as if it was a
simple, contiguous structure xmb_node_t's fullpath member wasn't being
free()'d.
2017-09-03 10:25:15 -03:00
Higor Eurípedes
a7e6b02107
(xmb) Refactor xmb_copy_node()
...
xmb_node_t is nowhere as big as it used to be, so copying is fine now.
2017-09-03 10:19:03 -03:00
Higor Eurípedes
65ec1e973a
(xmb) Add xmb_free_list_nodes()
...
Fixes some node->fullpath memleaks.
2017-09-03 09:48:31 -03:00
Higor Eurípedes
1a1e5047e8
(xmb) Fix crash while scanning
2017-09-02 20:21:02 -03:00
Higor Eurípedes
4bfc8f8243
(xmb) Fix crash when toggling the menu
2017-08-31 14:52:54 -03:00
Higor Eurípedes
f521a32c00
(xmb) Don't animate more than needed when switching lists
2017-08-30 22:23:29 -03:00
Higor Eurípedes
bd96c75bfe
(xmb) Make xmb_node_t smaller
...
Each xmb_node_t instance used over 4KiB of memory even when it didn't
need to. In big list like MAME (30+ thousand entries) RetroArch would
consume over 100MiB (4096 bytes * 30000) just to hold all xmb_node_t
instances.
2017-08-29 22:19:19 -03:00
Higor Eurípedes
70b6f951d3
(xmb) Uncomment xmb_calculate_visible_range() call
...
I tested the other drivers quickly and the previous commit did not
affect them, so I'm enabling this again.
2017-08-22 22:00:14 -03:00
Alex
e5adb1056c
(XMB) Regression Fix thumbnail ahead OSK overlay
2017-08-20 06:38:23 +02:00
Higor Eurípedes
6bc5cd302a
(xmb) Comment out visible item calculation in xmb_draw_items()
...
Fixes a regression where fading animations didn't render if you were far
into the previous list. This happened because "current" has an incorrect
value thanks to a menu_navigation_set_selection(0) call in
menu_cbs_left.c:162
2017-08-19 11:01:27 -03:00
Higor Eurípedes
aaecf82608
(xmb) Skip drawing the fading list when it is already transparent
2017-08-18 22:33:38 -03:00
Jean-André Santoni
6940019102
(XMB) Icon for the rename action
2017-08-18 18:30:31 +07:00
Higor Eurípedes
0d59994c42
(xmb) Only iterate over visible items in xmb_render()
2017-08-17 21:36:48 -03:00
Higor Eurípedes
ea9991f749
(xmb) Detect non-visible items before drawing
2017-08-17 21:36:48 -03:00
Higor Eurípedes
db48561289
(xmb) Fix crash
2017-08-15 21:34:49 -03:00
twinaphex
0d86027cd5
(RGUI) Add Load Content -> Favorites
2017-08-16 01:10:27 +02:00
twinaphex
ef79711837
(MaterialUI) Hook up framebuffer opacity
2017-08-15 22:43:09 +02:00
twinaphex
db24e4da42
Try to avoid countless string_is_equal function calls
...
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
Rob Loach
7c54cebfb3
Merge branch 'master' of github.com:libretro/RetroArch into favorites
2017-08-13 21:20:22 -04:00
Rob Loach
e324b4a074
Reorder the View settings
2017-08-13 19:10:09 -04:00
Rob Loach
8e0e99ba66
Add Show Favorites sublabel
2017-08-13 18:44:50 -04:00
Jean-André Santoni
c9ad8cd1f9
(XMB) Display the small add-favorite icon
2017-08-14 00:12:55 +02:00
Higor Eurípedes
950b77c0ca
(xmb) Speed up xmb_list_insert() and xmb_deep_copy() a bit
...
This replaces calloc() and memcpy() calls with custom functions to
handle xmb_node_t allocation and copy optimized for the common case.
2017-08-12 22:30:22 -03:00
Higor Eurípedes
9f760af6c6
Menu improvements ( #5288 )
...
* (menu_animation) Stop KILL_BY_SUBJECT asap
* (xmb) Don't query mouse/pointer state so many times per frame
2017-08-12 22:53:56 +02:00
Jean-André Santoni
f1ccd29e77
(XMB) Display the favorite icon for content
2017-08-12 17:27:31 +02:00
Jean-André Santoni
61cc899867
(XMB) Display the favorites tab, part 1
2017-08-12 16:37:20 +02:00
twinaphex
dad0fcbbe8
Get rid of the conditionals
2017-08-11 01:20:57 +02:00
twinaphex
22139dc4a0
Turn menu_animation_ctx_tag into typedef
2017-08-11 01:16:21 +02:00
twinaphex
4e66ec28cb
Some more truncation fixes
2017-08-10 23:19:54 +02:00
twinaphex
16f59aba96
Some C89_BUILD fixes
2017-08-10 21:38:57 +02:00
Jean-André Santoni
05558697ca
(Lakka) Fix Online Updater
2017-08-09 15:16:27 +02:00
Higor Eurípedes
8d358899df
(xmb) Fix segfault when entering certain lists
2017-08-08 22:34:54 -03:00
Higor Eurípedes
c0cb042998
(xmb) Improve responsiveness while browsing horizontally
2017-08-08 21:05:00 -03:00
twinaphex
56733c6f18
(xmb) deep list copy - Use malloc instead of calloc
2017-08-07 00:14:37 +02:00
twinaphex
7c1d3991f8
Some C89 buildfixes
2017-08-06 17:12:57 +02:00
Twinaphex
ba31285160
Merge pull request #5172 from RobLoach/horizontalperf
...
Allow Toggling the XMB Horizontal Animation
2017-08-06 16:08:59 +02:00
Brad Parker
6b369775cf
add unicode-aware option for word_wrap (only needed for xmb)
2017-08-06 03:33:13 -04:00
radius
d560660bdc
add room type in the title
2017-07-24 20:52:27 -05:00
radius
e09075dc25
Add RetroArch version and use different icons for different room types
2017-07-24 20:13:52 -05:00
Rob Loach
7d71746b21
Add Horizontal Animation configuration
2017-07-14 15:11:27 -04:00
Rob Loach
24107229fc
Remove horizontal slide animation for XMB
2017-07-14 14:49:41 -04:00
Jean-André Santoni
e08089de48
Fix Lakka updater
2017-06-21 14:16:19 +02:00
twinaphex
66fc9e6a06
Add menu_show_online_updater
2017-06-20 01:42:28 +02:00
Conn
78339ae67c
xmb: fix incorrect wallpaper alpha blending
2017-06-19 16:38:09 +01:00
Conn
f413b23f06
xmb: enable menu transparency support when emulation is paused (v2)
...
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.
Issues fixed:
gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
(fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex
44b4a4e028
Revert "xmb: enable menu transparency support when emulation is paused"
...
This reverts commit 17d0037bd5
.
2017-06-01 17:21:55 +02:00
Conn
17d0037bd5
xmb: enable menu transparency support when emulation is paused
...
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.
Issues fixed:
gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
twinaphex
449483206f
Revert "New attempt to fix memory leaks of struct retro_system_info"
...
This reverts commit a1d3dd69dd
.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd
New attempt to fix memory leaks of struct retro_system_info
...
char variables
2017-05-29 22:24:10 +02:00
Jean-André Santoni
710e912aca
(XMB) Code cleaning
2017-05-29 21:00:00 +02:00
Jean-André Santoni
66bfdc9408
(XMB) draw_thumbnail refactoring
2017-05-29 20:58:29 +02:00
twinaphex
39f1441b7c
(XMB) Small optimizations
2017-05-29 01:46:57 +02:00
twinaphex
66f056322a
Fix pointer overflow
2017-05-28 17:53:45 +02:00
twinaphex
3fbed8df27
(Menu) Menu driver no longer uses a duplicate system info
...
struct
2017-05-28 17:21:57 +02:00
twinaphex
9438545bca
Add music tab for non-ffmpeg enabled builds now; add 'Run'
...
and 'Add to mixer' options when selecting Ogg/WAV files
2017-05-27 23:56:10 +02:00
twinaphex
3e8234ab38
Cleanups
2017-05-27 19:13:22 +02:00
twinaphex
a626a30098
Turn menu_display_set_alpha into macro
2017-05-27 16:52:52 +02:00
twinaphex
09ddd9ddcf
Cleanups
2017-05-27 16:31:47 +02:00
twinaphex
74f202bbda
(Menu) Cleanups
2017-05-26 20:12:52 +02:00
Jean-André Santoni
9e1c426a3a
Use the new netplay room list in place of the old netplay menu
2017-05-25 17:35:14 +02:00
twinaphex
6b57791b0a
Don't show up empty entries if there are no playlists
2017-05-23 10:46:42 +02:00
aliaspider
dd5bc1a951
(WiiU) fix icon scaling in XMB.
2017-05-22 07:34:30 +01:00
Jean-André Santoni
80f06b9574
Display thumbnails for Load Content->Collections
2017-05-21 15:08:56 +02:00
Jean-André Santoni
7197255211
(XMB) Fix dialog slice on 320x240 viewports
2017-05-21 09:55:50 +02:00
twinaphex
16996aad6d
Make thumbnail show too for IMAGEVIEWER type
2017-05-19 18:45:59 +02:00
twinaphex
59fb7700b8
Combine menu_driver.c and menu_display.c
2017-05-19 15:25:14 +02:00
twinaphex
9096038e20
Correct set_thumbnail_system/set_thumbnail_content functions
2017-05-17 09:32:17 +02:00
twinaphex
ee8dc151a3
Combine menu_driver.c and menu_navigation.c
2017-05-17 03:00:32 +02:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
7bf34c48a9
Cal xmb_list_get_selection only once
2017-05-15 19:00:24 +02:00
Jean-André Santoni
17837ec81d
Display thumbnails in the Database Manager
2017-05-15 13:05:33 +02:00
twinaphex
1fef134f04
Create menu_driver_navigation_set
2017-05-15 07:56:22 +02:00
twinaphex
0185f71bab
Cleanups
2017-05-13 23:47:25 +02:00
twinaphex
dd79c9a236
Pass is_idle to menu driver render function
2017-05-13 21:06:06 +02:00
twinaphex
42ebe7a7ad
Merge runloop.c and retroarch.c
2017-05-11 09:11:46 +02:00
aliaspider
5a16b61ec5
XMB: unload thumbnail textures in xmb_context_destroy. fixes #3141
2017-05-03 14:14:35 +01:00
aliaspider
0310b67927
use strlen and not utf8len for the len parameter passed to
...
get_message_width. fixes #4873 .
2017-05-03 03:09:01 +01:00
twinaphex
a5d7bedb8a
Pass video_is_threaded variable to menu driver init function
2017-04-29 17:27:54 +02:00
twinaphex
5f6a342817
Pass param
2017-04-29 17:19:29 +02:00
twinaphex
b515cd10f1
Pass video_is_threaded to context_reset
2017-04-29 17:16:05 +02:00
twinaphex
e6ab06a701
Move path variables
2017-04-29 00:39:29 +02:00
twinaphex
05e4ec733e
Move uint variables
2017-04-28 21:03:04 +02:00
twinaphex
7bbd20b31d
Move int settings
2017-04-28 19:12:48 +02:00
twinaphex
ed53be7c81
Move all bool settings
2017-04-28 14:11:34 +02:00
twinaphex
a54af2f2c1
Prevent implicit memset
2017-04-27 01:27:02 +02:00
twinaphex
25c8baeefe
menu drivers will have their own frame count; this fixes the
...
tickering issues with threaded video mode
2017-04-23 18:42:12 +02:00
twinaphex
7ea0528c6b
Turn MENU_NAVIGATION_CTL_{SET|GET}_SELECTION into separate
...
functions
2017-04-23 14:31:49 +02:00
twinaphex
8e6b7a2751
Rewrite menu_entries function
2017-04-23 13:46:21 +02:00
twinaphex
6ebd4e139e
Rewrite more string_is_equal call invocations as memcmp
2017-04-22 08:51:16 +02:00
twinaphex
f9bc2d3783
Use memcmp instead of string_is_equal where possible for
...
better performance
2017-04-21 22:47:15 +02:00
Rob Loach
157fbeccb5
Add Font Text Color settings
2017-03-12 10:33:06 -04:00
twinaphex
2be88a44ed
(XMB) Fix
2017-02-28 04:50:07 +01:00
Jean-André Santoni
64a11ca0f4
(XMB) Allow hidding the netplay tab
2017-02-27 23:32:24 +01:00
Jean-André Santoni
834087d1ad
(XMB) Use a tab styled icon for the netplay tab
2017-02-27 22:48:27 +01:00
Jean-André Santoni
46c153a0fe
(XMB) Move netplay to the left of Add Tab
2017-02-27 22:36:45 +01:00
Jean-André Santoni
15001a87d3
(XMB) Use a texture slice for dialogs
2017-02-27 20:34:17 +01:00
Twinaphex
216e7bcdaf
Silence more warnings on iOS
2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
Jean-André Santoni
1cccfa09fb
(Menu) Fix core option ON/OFF buttons
2017-02-21 19:54:55 +01:00
Brad Parker
75a96b10bb
add 9-slice texture draw function and selectable texture filter type
2017-02-14 11:04:21 -05:00
Twinaphex
962cf6b076
Revert "Allow normal Battery/Clock icon sizes [WIP]"
2017-02-08 20:02:26 +01:00
Rob Loach
1ef482d6df
Apply icon scaling to the battery and clock icons
2017-02-07 21:48:18 -05:00
Rob Loach
0963431c6a
Add Dot-Art theme
2017-01-30 21:13:44 -05:00
twinaphex
5326bcf814
Backport lakka patch retroarch-08-osk-perf.patch
2017-01-29 03:57:45 +01:00
twinaphex
d9ee401305
(XMB) Cut down on function calls
2017-01-26 03:46:05 +01:00
twinaphex
9f294ec99f
(xmb) Move global variable
2017-01-25 22:50:39 +01:00
twinaphex
31fab19797
Cleanups
2017-01-25 18:43:04 +01:00
twinaphex
d0d55ffaa1
Add HAVE_NETWORKING ifdefs
2017-01-23 01:30:50 +01:00
radius
45514e60a7
console build fix
2017-01-22 17:57:49 -05:00
Twinaphex
3ff158b907
Merge pull request #4436 from fr500/lobby
...
Basic lobby system (don't merge, just for tracking)
2017-01-22 21:08:43 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
0be6264796
Get rid of more settings pointer grabbing
2017-01-20 15:33:47 +01:00
twinaphex
526072ccdf
Cut down on menu_display_libretro_running usage
2017-01-20 14:25:00 +01:00
twinaphex
2f175f1a15
Remove video_driver_get_size call in gfx/drivers_font
2017-01-19 22:03:59 +01:00
twinaphex
dd2839686b
(XMB) Fix OSK
2017-01-19 21:37:13 +01:00
radius
95a2da81e4
start adding ui elements to insert room list into
2017-01-18 22:46:48 -05:00
twinaphex
832840f91c
Cut down on more video_driver_get_size calls
2017-01-19 01:33:47 +01:00
twinaphex
24e0542bdb
(menu) reduce calls to video_driver_get_size
2017-01-19 00:09:38 +01:00
twinaphex
00adc9a2d3
Rewrite menu_display_unset_viewport
2017-01-19 00:01:55 +01:00
twinaphex
afd4494c2f
(menu_driver.c) Get rid of video_driver_get_size call
2017-01-18 23:59:22 +01:00
twinaphex
c5445d2980
Reduce amount of times video_driver_get_size is called
2017-01-18 23:02:24 +01:00
twinaphex
dc19649802
Reduce dependence on video_driver_get_frame_count
2017-01-18 21:40:56 +01:00
twinaphex
bf511b72e6
Create menu_driver_frame
2017-01-18 21:23:18 +01:00
Brad Parker
8cdfa75b48
set ints to 0 instead of NULL
2017-01-17 18:44:29 -05:00
Brad Parker
a220815b40
fix race condition in frame count with video_threaded on
2017-01-17 18:42:58 -05:00
twinaphex
da044da3b4
Create menu_animation_push
2017-01-17 16:53:06 +01:00
twinaphex
df783daab9
Create menu_animation_get_ideal_delta_time
2017-01-17 16:37:03 +01:00
twinaphex
bfb124a60e
Create menu_animation_ticker
2017-01-17 16:29:23 +01:00
Jean-André Santoni
dc4140a00b
(GLUI) Word wrapping for sublabels
2017-01-17 15:21:59 +01:00
Brad Parker
e1f4db8081
Win2000 buildfixes
2017-01-16 20:41:08 -05:00
Jean-André Santoni
a9c3837cdb
Display image thumbnail in the menu background selector
2017-01-17 01:02:48 +01:00
twinaphex
864df4f55d
Move local variable
2017-01-16 23:38:46 +01:00
twinaphex
ef974086aa
Split up menu OSK code to separate file - menu/widgets/menu_osk.c
2017-01-12 11:31:24 +01:00
Jean-André Santoni
4bc04f7b28
Hide sublabels on super small screens like the one of Gamegirl 320x240
2017-01-11 01:24:50 +01:00
Jean-André Santoni
d08fa66ff1
Also display image thumbnails in the file browser
2017-01-10 23:26:07 +01:00
twinaphex
1b13c9b9fc
Fix xmb_draw_text regression
2017-01-09 23:11:05 +01:00
twinaphex
fbb7dbd36b
Add pipeline.active to menu_display_draw_ctx_t
2017-01-09 17:22:28 +01:00
twinaphex
1e60376e7c
Simplify menu_display_draw_bg - take out XMB-specific code out of
...
menu_display.c
2017-01-09 16:55:46 +01:00
twinaphex
02dfda3ad3
Create menu_animation_update
2017-01-09 16:39:09 +01:00
twinaphex
52a0592a4d
(XMB) Style nits
2017-01-09 16:26:50 +01:00
twinaphex
179831174d
(xmb.c) Cleanups - don't grab settings pointer everywhere
2017-01-09 16:00:53 +01:00
twinaphex
61a8638d4c
Fixes ribbon row offset issues
2017-01-08 04:16:13 +01:00
twinaphex
c8bc6c7120
(XMB) Add Bokeh menu pipeline
2017-01-08 03:56:47 +01:00
twinaphex
9d9a5e71ab
(XMB) Set fullpath dir for each node entry
2017-01-07 18:32:55 +01:00
twinaphex
4e037cbe68
(XMB) 'Menu wallpaper' - Show images in aesthetically pleasing way
2017-01-07 17:10:29 +01:00
twinaphex
1d43224f7e
(xmb.c) header cleanup
2017-01-05 07:42:35 +01:00
twinaphex
1fa08e327b
Silence some warnings about uninitialised values
2017-01-04 09:15:11 +01:00
twinaphex
876a68717e
We don't need enum_idx for task_push_image_load
2016-12-30 05:33:04 +01:00