17076 Commits

Author SHA1 Message Date
twinaphex
9d5921705c (Menu) Add label_is_updated to performance counters string representation
functions
2015-03-08 20:50:20 +01:00
Twinaphex
db7e64c118 Merge pull request #1480 from heuripedes/master
Menu fixes
2015-03-08 20:40:54 +01:00
Higor Eurípedes
2216f60046 (RGUI) Fix Video Settings page 2015-03-08 16:39:21 -03:00
Higor Eurípedes
f74f44d8d1 (Menu) Move set_texture to after draw_frames() 2015-03-08 16:37:53 -03:00
Twinaphex
c8677a31d1 Merge pull request #1479 from heuripedes/master
(RGUI) Call set_texture_frame only when the framebuffer is dirty
2015-03-08 20:16:07 +01:00
Higor Eurípedes
50ff11fdec (RGUI) Call set_texture_frame only when the framebuffer is dirty 2015-03-08 16:14:35 -03:00
twinaphex
770f5e3449 (RMenu/RMenu XUI) Implement same here 2015-03-08 19:51:25 +01:00
twinaphex
8829cfebbf (GLUI/XMB) Let other menu drivers clear the dirty bits 2015-03-08 19:50:12 +01:00
Twinaphex
7497e1a729 Merge pull request #1478 from heuripedes/master
(Menu) Let the menu driver clear the dirty bits
2015-03-08 19:42:03 +01:00
Andrés
28b67d927e bump up version number 2015-03-08 13:28:05 -05:00
Higor Eurípedes
50b09109d9 (Menu) Let the menu driver clear the dirty bits 2015-03-08 15:18:50 -03:00
twinaphex
98502d0b31 Move menu_animation_update outside to xmb_render 2015-03-08 19:15:24 +01:00
twinaphex
981d012b4b (Menu) Simplify draw_frame calls 2015-03-08 18:35:55 +01:00
Twinaphex
f90bc7bcd3 Merge pull request #1477 from heuripedes/master
(RGUI) Only render when needed
2015-03-08 18:17:54 +01:00
Higor Eurípedes
7d41e01e93 (RGUI) Only render when needed 2015-03-08 14:12:13 -03:00
twinaphex
10208eb625 rarch_main_iterate_overlay_state - early return in case runloop
is idle
2015-03-08 17:57:00 +01:00
Twinaphex
dd167d3c84 Merge pull request #1476 from heuripedes/master
(Menu) Set framebuf.dirty = true in menu_init
2015-03-08 17:42:06 +01:00
Higor Eurípedes
de883704e4 (Menu) Set framebuf.dirty = true in menu_init 2015-03-08 13:36:34 -03:00
twinaphex
f773853908 (Menu) Hook up menu.framebuf.dirty too 2015-03-08 17:27:58 +01:00
Twinaphex
4eb2c8f4a7 (Menu) Only call rarch_render_cached_frame when a state change has
occurred that requires the video state to be flushed
2015-03-08 17:26:19 +01:00
twinaphex
001540d25d action_refresh_default - trigger action video state change too 2015-03-08 17:20:44 +01:00
twinaphex
795b5c405f (Menu) Instrument 'start' actions like this too 2015-03-08 17:19:46 +01:00
twinaphex
581bc22e19 (Menu) Toggle functions should trigger video state change since
a label is likely to be updated because of it
2015-03-08 17:16:21 +01:00
twinaphex
beb68d559d (Menu) Certain labels need to have video state be updated if they
update in real-time, like the estimated monitor FPS label
2015-03-08 17:09:45 +01:00
twinaphex
b5b59608dd Add three ways to indicate that the menu should update video -
(1) an animation is active, (2) a label has its contents updated (can be a message ticker or say an FPS monitor label being constantly updated, and (3) the menu framebuffer is 'dirty' (meaning its contents has changed and therefore we need to upload it again to the GPU.
2015-03-08 16:55:25 +01:00
twinaphex
ee1654d695 (GX) Use g_settings.fps_show 2015-03-08 15:07:19 +01:00
twinaphex
4e01057c69 (XMB) Get rid of unnecessary glViewport call - xmb_render_background
already does that
2015-03-08 14:12:39 +01:00
twinaphex
eaed7c884d (XMB) Take out xmb_draw_icon_begin/xmb_draw_icon_end out of for loop -
icons finally seem to show up now in threaded video mode
2015-03-08 13:54:03 +01:00
twinaphex
b76312a1da Split up xmb_draw_icon into xmb_draw_icon_begin, xmb_draw_icon_end
and xmb_draw_icon
2015-03-08 13:26:15 +01:00
Twinaphex
33c5762d28 Merge pull request #1475 from heuripedes/master
(rgui) Cache and tile checked background
2015-03-08 13:21:35 +01:00
Higor Eurípedes
1d7bddaef3 (rgui) Cache and tile checked background 2015-03-08 09:18:45 -03:00
twinaphex
3f4264b93d (XMB) Cleanups 2015-03-08 13:17:07 +01:00
twinaphex
57e3c81329 Properly namespace some function names 2015-03-08 12:30:29 +01:00
Toad King
2a64450af2 [GX] fix build 2015-03-07 22:48:41 -06:00
Toad King
aada549c42 fix resolution setting label 2015-03-07 22:48:29 -06:00
Andrés
c13308d162 fix android build 2015-03-07 21:51:07 -05:00
Twinaphex
f34ae15f3f Cleanup header in platform_apple.c 2015-03-08 02:01:50 +01:00
Twinaphex
9027b35eb8 rarch_render_cached_frame - do early return if g_runloop.is_idle
is true - reduces CPU activity in iOS Cocoa menu substantially
(from 96% CPU to 16%)
2015-03-08 01:58:19 +01:00
twinaphex
5b3ab881ba Add g_runloop.is_idle 2015-03-08 01:48:40 +01:00
twinaphex
e37a4aa46e (Menu) Shader Options shouldn't appear on paltforms that don't support it 2015-03-07 23:31:16 +01:00
twinaphex
9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
aliaspider
7e2a1ed4ab (PSP) disable hardcoded FPS display 2015-03-07 22:42:19 +01:00
Twinaphex
c3cadd5743 (iOS) Cleanups 2015-03-07 22:06:18 +01:00
Twinaphex
75b6bd21c3 (iOS/OSX) Total reimplementation of game loop - does away with
observer callback
2015-03-07 21:33:17 +01:00
Twinaphex
2d0701b1f6 Revert "(iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu"
This reverts commit 0146bf15db35be6d5914ed60c233037f26d3d3c4.
2015-03-07 17:54:29 +01:00
Twinaphex
0146bf15db (iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu
currently has an animation effect running
2015-03-07 17:37:26 +01:00
Twinaphex
1a62614c78 (Apple) Refactor do_iteration 2015-03-07 17:27:17 +01:00
twinaphex
e86efd320c Create g_runloop.frame.video.current.menu.is_animated and
g_runloop.frame.video.current.menu.framebuf_dirty - will be used
to inform processes or runloops outside of RA's runloop that video update
needs to happen because of animations or video state changes
occurring.
2015-03-07 17:16:41 +01:00
Twinaphex
37271a0d13 Start debugging do_iteration 2015-03-07 16:17:48 +01:00
Twinaphex
3ec863d4a5 (Apple HID) Use CFRUnLoopGetCurrent() instead of CFRunLoopGetMain() 2015-03-07 15:47:23 +01:00