115 Commits

Author SHA1 Message Date
ToadKing
cd8269abd4 (GX) fix FPS reporting 2013-06-17 18:14:45 -04:00
twinaphex
559c4a7964 (RARCH_CONSOLE) Add refresh rate FPS statistics 2013-06-08 01:45:25 +02:00
Themaister
321ffcbca6 Calculate 1:1 PAR from right dimensions.
Frame cache can be stale or have awkward dimensions which
don't really reflect 1:1 PAR semantics.
2013-06-05 21:29:52 +02:00
ToadKing
f3c782a6af fix wrong colors with RGUI open 2013-04-26 19:23:53 -04:00
ToadKing
1db27ad356 fix GX build
we don't want to delete framebuffers or clear the frame on free since we might be loading a game, not exiting
2013-04-25 17:42:42 -04:00
twinaphex
34619412bc (RARCH_CONSOLE) Get rid of video_stop_func 2013-04-24 16:08:18 +02:00
Themaister
be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
twinaphex
eb42492ab0 (GX) Use GX_InitTexObjFilterMode to set filtering modes 2013-04-19 16:23:09 +02:00
twinaphex
406d3a5d26 (GX) Add video optimizations 2013-04-19 16:09:37 +02:00
twinaphex
08f2c286fa (GX) Set should_resize to false after doing the should_resize state block 2013-04-19 12:35:16 +02:00
twinaphex
96f2ecce20 (RMenu/RGUI) Move filebrowser/menu stack initialization to upper-layer
menu_init() function
2013-04-18 18:33:03 +02:00
Themaister
e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex
a49fe27d21 (GX) Make Wii/Gamecube gx_video no longer depend on MODE_MENU_DRAW 2013-04-11 16:10:09 +02:00
twinaphex
8f0ea4c1a6 (GX) Build fix (in light of removing set_blend function pointer) 2013-04-11 13:47:45 +02:00
Themaister
4cdfcf30d5 Refactor set_rgui_texture.
More generic and avoids poking directly into RGUI state.
2013-04-07 14:07:45 +02:00
Themaister
f88ea04c28 Remove fixed shader index in set_shader. 2013-04-07 13:00:21 +02:00
twinaphex
909122122d Take out obsolete console-style overscan options - just use
Resize Mode instead
2013-04-07 01:23:10 +02:00
Themaister
51b5a2df5c Refactor aspect_ratio member.
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
ToadKing
eb82bd2127 implement driver.current_msg
fix RGUI to no longer use driver.video_data casting
2013-03-10 16:02:10 -04:00
ToadKing
5b5264f2c5 (GX) implement viewport_info 2013-03-10 15:33:41 -04:00
twinaphex
e7287d19e5 Add HAVE_FBO ifdefs for gl and gx_video as well 2013-03-10 20:25:47 +01:00
Themaister
0e75731685 Add get_fbo_state(). 2013-03-10 20:13:04 +01:00
Themaister
0b67cd7e84 Add apply_state_changes. 2013-03-10 19:49:26 +01:00
Themaister
63d946c69f Add set_rgui_texture interface to video_poke. 2013-03-10 19:14:28 +01:00
twinaphex
59ff094b3b Add set_blend to video_poke interface 2013-03-10 03:53:42 +01:00
twinaphex
52ef22bfa9 (GX) Get poke interface from gx_start 2013-03-10 03:21:16 +01:00
twinaphex
7f986357be (GX) Use video_poke interface for GX as well 2013-03-10 02:42:16 +01:00
twinaphex
dece16ea12 (GX) No public visibility for gx_set_aspect 2013-03-09 22:47:09 +01:00
twinaphex
66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex
34515fd7f5 (RARCH_CONSOLE) Integrate rarch-console_video into gfx_common 2013-03-09 03:20:59 +01:00
twinaphex
a131f484ef (GX) Remove Wiiuse 2013-02-15 01:34:03 +01:00
twinaphex
f0770eec48 (NGC) Remove sidestep code 2013-02-14 15:48:14 +01:00
ToadKing
8b4390dd06 (GX) Clamp max XFB height on PAL to 574
Official docs say 574 is the max, but libogc says its 576.
2013-02-10 17:19:09 -05:00
ToadKing
0ded65d177 (GX) max_xfb_height not necessary 2013-02-09 12:49:43 -05:00
twinaphex
d3cceb2bd8 (GX) Revert 'Pass GX_NEAR_MIP_NEAR to GX_initTexObjLOD just to be
safe' - would force nearest filter
2013-02-09 16:09:01 +01:00
twinaphex
f37e414e23 (GX) Pass GX_NEAR_MIP_NEAR to GX_InitTexObjLOD just to be safe 2013-02-06 09:33:24 +01:00
ToadKing
ebf83bff76 (GX) PAL fixes 2013-02-05 23:11:35 -05:00
ToadKing
9807826e61 (GX) nit 2013-02-05 21:56:29 -05:00
ToadKing
80be1847a3 (GX) attempt to fix screen resolution issues 2013-02-05 21:36:15 -05:00
ToadKing
3f4699cdd4 (GX) re-enable ASM blitter 2013-02-02 21:51:55 -05:00
ToadKing
4d1dccbd25 (GX) fix video issue on non-multiple-of-4 texture 2013-02-02 21:47:27 -05:00
ToadKing
84e48fd3ed (GX) don't rotate menu if game rotates 2013-01-21 18:12:32 -05:00
ToadKing
929859a291 (GX) fix some menu messages not appearing
adjust position of in-game messages
2013-01-14 16:31:33 -05:00
twinaphex
c9b0e1635e (GX) Shows text menu message now ingame 2013-01-14 06:26:45 +01:00
twinaphex
0ed0295629 Revert "(GX) Declutter message queue code in RGUI"
This reverts commit 28b79e587291327e3058c7c746cb26026b517642.
2013-01-14 03:55:01 +01:00
twinaphex
28b79e5872 (GX) Declutter message queue code in RGUI 2013-01-14 03:49:24 +01:00
twinaphex
04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
twinaphex
cc43b84ff2 (RARCH_CONSOLE) Refactor more state variables 2013-01-11 19:44:34 +01:00
twinaphex
ca3be92255 (RARCH_CONSOLE) Refactor msg_fps variable 2013-01-11 06:56:05 +01:00
twinaphex
5bf022fd99 (RARCH_CONSOLE) Use local variable copy of g_extern.lifecycle_menu_state in frame
functions - more state functionality will be moved here (for console ports)
2013-01-11 06:32:35 +01:00