Commit Graph

158 Commits

Author SHA1 Message Date
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 28b79e5872.
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
twinaphex 3c8bb7333e (RMenu) Refactor g_extern.draw_menu 2013-01-10 19:43:00 +01:00
twinaphex a925f3ca9f (RARCH_CONSOLE) Rename and relocate all menu files 2013-01-09 17:50:12 +01:00
ToadKing 1dc08b9a6d (GX) work with new console code 2013-01-07 23:48:21 -05:00
Themaister d9b640fafe (RARCH_CONSOLE) fixups for set_shader(). 2013-01-08 04:08:15 +01:00
twinaphex 3a5d056b95 Expand functionality of set_shader callback function 2013-01-07 16:46:26 +01:00
ToadKing 1221b024cb (GX) fix potential memory corruption in 32-bit video conversion 2013-01-06 20:34:41 -05:00
ToadKing 71bc5ae50d (GX) potential video memory corruption 2013-01-06 19:02:49 -05:00
twinaphex 08afcbfa3d (RARCH_CONSOLE) Use void* for param passing type 2013-01-03 03:02:52 +01:00
twinaphex 14c3faab53 (GX) Create stub gx_set_shader function 2013-01-02 17:13:32 +01:00
Themaister 0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Toad King 5400d9eaa4 (GX) adjust refresh rate for non-interlaced mode
fix pal-60 detection
2012-12-23 15:43:37 -05:00
Toad King ac1e760296 (GX) small changes to video mode switching, fixes debug text in some video modes 2012-12-23 12:52:35 -05:00
Toad King 9a41c3c1c7 (GX) convert image to pixel format with alpha field if we're drawing the menu 2012-12-23 12:32:24 -05:00
Toad King c42bbaf191 fix 2012-12-18 23:04:26 -05:00
Toad King 79ccb9a6d9 (GX) implement 32-bit color support 2012-12-18 22:18:31 -05:00
twinaphex 2ecb4cebe8 (GX) Video - refactor convert_texture function some more 2012-12-19 04:16:04 +01:00
twinaphex 2e9d84efc3 (GX) Video - small refactor of texture conversion routine 2012-12-19 04:08:47 +01:00
Toad King 376317309e Revert "(GX Video) Only update texture if frame is not NULL"
This reverts commit 78027ee920.

the logic for this is already in update_textures and it broke menu rendering
2012-12-18 21:12:00 -05:00
twinaphex 5cd6017ff5 (GX) Use g_extern.draw_menu 2012-12-18 08:32:48 +01:00
twinaphex 78027ee920 (GX Video) Only update texture if frame is not NULL 2012-12-15 07:33:56 +01:00
twinaphex 799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
twinaphex dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
Toad King 2209103248 (GX) redo video/RGUI code to use new font location 2012-12-13 16:12:51 -05:00
Toad King dcf505f0ea [GX] expand VI width in widescreen mode 2012-11-28 09:36:26 -05:00
Toad King f333d0bc8c [GX] cleanup, prepare for 32-bit support (needs to be implemented) 2012-11-22 02:09:12 -05:00
twinaphex 41b1bd3ed0 (GX/XDK) Have console ports use gfx_fps_title instead of gfx_window_title 2012-11-18 02:32:58 +01:00
Toad King 7f81422ae0 [CONSOLES] get compiling working
[GX] support rgb565, still need to fix a blending issue
2012-10-21 19:01:43 -04:00
twinaphex 174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
Toad King c69b3ca938 (GX) support more resolution modes, attempt fix at clearing garbage left during screen switch 2012-09-12 09:36:38 -04:00
Toad King 9f345b4483 (GX) prepare for more custom resolution modes 2012-09-12 00:17:33 -04:00
Toad King e8ad25aef3 (GX) fix up bugs on switching screen resolution
change RGUI dimensions to display better with different resolutions
2012-09-11 23:33:44 -04:00
Toad King 0a5c5ca1c5 (GX) big video code changes, added some custom resolutions for specific consoles 2012-09-11 21:19:45 -04:00
Twinaphex cee5dfc1de (NGC) Links and builds again 2012-09-01 04:20:30 +02:00
Toad King 348a240dee (GX) add GC makefile, fix up code so it compiles 2012-08-29 15:15:24 -04:00
Toad King baec67ebef (GX) add MEM2 manager 2012-08-27 20:36:05 -04:00
Toad King 535f83be3e (GX) implement debug text 2012-08-27 16:09:53 -04:00
Toad King e479a50203 (GX) refactor EFB screenshot code
now might be feasible to implement it in normal compiles
2012-08-24 23:31:58 -04:00
Toad King 492e474826 (GX) change menu buffer back to 16-bit 2012-08-24 21:29:05 -04:00
Toad King 763dbe091f (GX) add hack for taking EFB screenshots on exit
only should be used for taking promotion screenshots
2012-08-24 16:51:11 -04:00
Toad King 1cb588f710 (GX) default paths changed to match de-facto wii homebrew layout 2012-08-21 00:28:38 -04:00
Toad King 7d4a320a17 (RGUI) add reset command to custom viewport setting
allow negative custom viewport offsets
2012-08-20 22:50:15 -04:00
Toad King 3552f0ae16 (RGUI) custom viewport menu 2012-08-20 21:56:07 -04:00
Toad King 0c326bba2f (RARCH_CONSOLE) fix core-provided aspect ratio 2012-08-20 20:10:55 -04:00
Toad King dc76d834ae (GX) cleanup, silence warnings 2012-08-20 19:47:04 -04:00
Twinaphex 969a92ac17 (RARCH_CONSOLE) Add apply_state_changes to video driver 2012-08-20 12:41:10 +02:00
Twinaphex ad576f18f5 Small cleanups 2012-08-20 12:04:32 +02:00
Toad King 6c500b45d5 (GX) add overscan code
change rotation code to not depend on vertex trickery
2012-08-19 23:20:41 -04:00
Toad King fda2dff40c (RARCH_CONSOLE) add core resolution (use aspect ratio provided by the emulation core) 2012-08-19 21:08:50 -04:00
Toad King d478e8b0cd (RGUI) Add restart game item
fix messages only staying up for half as long as they should
general cleanup
(GX) force vsync for menu rendering
general cleanup
2012-08-19 17:22:49 -04:00
Toad King 9890a0ba9a (GX) aspect ratio selection
TODO: custom viewport code
2012-08-16 12:41:07 -04:00
Toad King 545b530a50 (GX) fix asm blitter in optimized builds 2012-08-10 14:49:18 -04:00
Twinaphex 0c6017caff (GX) Cleanups 2012-08-09 05:27:06 +02:00
Twinaphex 5e97b86e65 (GX) Change wii_ naming conventions to gx_ 2012-08-09 03:54:27 +02:00
Twinaphex 4eb04a682c (GX) VIDEO_SetTrapFilter not run every frame now 2012-08-08 23:25:41 +02:00
Twinaphex 5de1373d23 Revert "Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops"
This reverts commit 827e69fabc.
2012-08-08 22:39:19 +02:00
Twinaphex 827e69fabc Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops
for little gain

This reverts commit 690ac65d3e.
2012-08-08 21:25:52 +02:00
Twinaphex 690ac65d3e (GX) Add VI_Trap Filter (for Wii) 2012-08-08 21:04:33 +02:00