Commit Graph

16961 Commits

Author SHA1 Message Date
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 0146bf15db.
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
Twinaphex
2ead788aa3 Merge pull request #1474 from tobiasjakobi/fixes
exynos_gfx: fix error handling of fd open
2015-03-07 15:06:10 +01:00
Tobias Jakobi
3183149c8c exynos_gfx: fix error handling of fd open
Opening an fd can fail for multiple reasons, we would
just error out on EPERM. Handle the other cases as well.
2015-03-07 14:58:30 +01:00
twinaphex
43a113ee8d Create RARCH_CMD_LOAD_CORE_DEINIT 2015-03-07 14:54:04 +01:00
twinaphex
443b6e1ec8 Make rarch_update_system_info static 2015-03-07 14:48:18 +01:00
twinaphex
817c4d3d91 Add RARCH_CMD_LOAD_CORE_PERSIST 2015-03-07 14:45:16 +01:00
twinaphex
f7fa179301 Turn menu_update_libretro_info static 2015-03-07 14:41:43 +01:00
twinaphex
e4abe6f0bf Simplify menu_update_libretro_info 2015-03-07 14:38:05 +01:00
twinaphex
c45d3f60a1 (runloop) Move data sources to struct 2015-03-07 14:12:41 +01:00
twinaphex
f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +01:00
Twinaphex
bd5695f8a4 Merge pull request #1419 from SuperrSonic/master
(GX) Force aspect ratio idx to work on startup
2015-03-07 13:56:40 +01:00
twinaphex
be4d15f2df Move minimum_frame_time/last_frame_time to g_runloop 2015-03-07 13:43:31 +01:00
twinaphex
e39d5188a3 Move g_extern.measure_data to g_runloop.measure_data 2015-03-07 13:38:21 +01:00
twinaphex
3276781b4f Don't increment g_runloop.frames.video.count inside video driver
implementation's 'frame' function - do this outside
2015-03-07 13:28:45 +01:00
twinaphex
d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00