Commit Graph

136 Commits

Author SHA1 Message Date
twinaphex
119ee6d538 (XDK1) Fix build 2013-07-16 00:47:09 +02:00
twinaphex
0e55c45aa3 (XDK) xdk_d3d - cleanup 2013-06-14 17:31:17 +02:00
twinaphex
c84750a752 (XDK) Move FPS printing code over to window_update_title function
as well
2013-06-14 17:28:53 +02:00
twinaphex
559c4a7964 (RARCH_CONSOLE) Add refresh rate FPS statistics 2013-06-08 01:45:25 +02:00
twinaphex
f03dc4cb62 Cleanups 2013-06-03 00:44:09 +02: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
419620a49e (360) Add viewport hack for now so that XUI doesn't get
cut off depending on the viewport of the game
2013-04-19 23:22:58 +02:00
twinaphex
7fb7077f56 (XDK1) Don't do Clear anymore for every xdk_d3d_frame iteration 2013-04-19 23:08:31 +02:00
twinaphex
876f216803 (RMenu XDK1) Menu picture is now always fullscreen 2013-04-19 22:55:40 +02:00
twinaphex
206d083a84 (XDK D3D) Optimization - d3d->should_resize was never set to false
- skips viewport checking code for every frame
2013-04-19 02:18:15 +02:00
twinaphex
e7db869f69 (XDK D3D) Do Clear at start of xdk_d3d_frame 2013-04-19 01:52:43 +02:00
twinaphex
3670dd923a (XDK D3D) Fix SetSamplerState/SetTextureStage State 2013-04-16 22:44:49 +02:00
twinaphex
050ed45f30 (XDK1) Use D3DSWAPEFFECT_DISCARD 2013-04-16 21:08:28 +02:00
twinaphex
99265999d8 (XDK D3D) More inlined functions 2013-04-16 18:49:09 +02:00
twinaphex
671725cfdd (XDK D3D) Replace more functions with optimal inlined functions 2013-04-16 16:47:20 +02:00
twinaphex
c54ed6789b (XDK D3D) Start optimizing XDK D3D driver 2013-04-16 16:11:15 +02:00
twinaphex
ed5a5124f6 (XDK) Same deal for XDK 2013-04-14 15:06:17 +02:00
twinaphex
6824617031 (XDK1/RMenu) Build fix 2013-04-13 17:00:46 +02:00
twinaphex
6b01ce78cc (XDK1) Reduce menu image to 320x240 and upscale to 640x480 -
to hell with how this looks - it saves over 2MB of RAM - you
try and justify that over stupid eye candy on an outdated
console and I'll call you a damn fool
2013-04-13 15:19:57 +02:00
twinaphex
e59f7e5a79 (XDK1) Define HAVE_MENU_PANEL in xdk_d3d.cpp 2013-04-13 14:46:50 +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
3e2855429f (XDK D3D) Start dehardcoding tex_w / tex_h == 512 2013-04-13 12:08:52 +02:00
twinaphex
d955f14ff7 (XDK1) Build fix 2013-04-12 22:17:06 +02:00
twinaphex
a5bbc7da5f (HLSL) Fix build - work with new shader backend 2013-04-12 21:56:43 +02:00
twinaphex
a6db35875d (Cg/HLSL) Since everything goes through the shader backend interface now,
we can drop public scope on all the functions and make them static
instead
2013-04-12 21:25:16 +02:00
twinaphex
74edbf7339 (RMenu XUI / 360) Made RMenu XUI independent of MODE_MENU_DRAW - MODE_MENU_DRAW
removed
2013-04-11 16:38:41 +02:00
twinaphex
ea969282f4 (XDK1 RMenu) Don't call texture_image_render for panel anymore in rmenu.c 2013-04-11 15:05:42 +02:00
twinaphex
1171b7576a Get rid of set_blend callback - the rgui draw texture function is
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
2013-04-11 13:13:37 +02:00
twinaphex
2dba4c9359 Move texture_image_render to xdk_d3d.cpp 2013-04-10 10:06:15 +02:00
twinaphex
5f24e5daf4 (RMenu) Put menu_texture and menu_panel textures on heap - free
them for Xbox 1 after going out of the menu and into the game
2013-04-10 09:34:46 +02:00
twinaphex
87d0843b13 (360) RMenu XUI now goes through the same RGUI functions for
rendering
2013-04-10 07:47:11 +02:00
twinaphex
9d6f4590e8 (RMenu XDK1) Updated RMenu for Xbox 1 to use new
RGUI/RMenu rendering funtions
2013-04-10 06:54:16 +02:00
twinaphex
9e807aae33 (XDK1) Build fixes 2013-04-07 19:43:54 +02:00
twinaphex
229891db59 (360) Build fix 2013-04-07 03:00:08 +02:00
twinaphex
909122122d Take out obsolete console-style overscan options - just use
Resize Mode instead
2013-04-07 01:23:10 +02:00
twinaphex
abeb4a889e (Xbox 1) Build fix 2013-04-06 23:10:15 +02:00
twinaphex
a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
twinaphex
9f5c6678b5 Revert "(XDK D3D) Scrub second-pass"
This reverts commit 5ea29f1882.
2013-04-06 03:54:05 +02:00
twinaphex
cbfe5ff111 Revert "More scrubbing - no more render_to_texture, fbo_scale_x / fbo_scale_y,"
This reverts commit 7155dd9ca9.
2013-04-06 03:53:57 +02:00
twinaphex
7155dd9ca9 More scrubbing - no more render_to_texture, fbo_scale_x / fbo_scale_y,
etc
2013-04-06 00:16:10 +02:00
twinaphex
5ea29f1882 (XDK D3D) Scrub second-pass 2013-04-06 00:07:30 +02:00
twinaphex
4bfbd8d9e9 (XDK) D3D - Drop BeginScene/EndScene - they are just stub on XDK 2013-03-17 15:09:51 +01:00
twinaphex
1219177c00 (XDK D3D RGUI) Change base_size to RGUI_WIDTH * 2 - still shows
nothing
2013-03-13 18:53:52 +01:00
twinaphex
3a9d191885 (XDK RGUI) Blit rgui_data into RGUI D3D texture - still shows
nothing though
2013-03-13 18:49:48 +01:00
twinaphex
dfcd7f38da (RGUI XDK) Quick build fixes 2013-03-12 18:41:01 +01:00
twinaphex
441d4a0698 (Xbox 1) Initial RGUI code - incomplete 2013-03-12 02:43:02 +01:00
twinaphex
05faa24307 (XDK) Build fixes 2013-03-11 22:04:56 +01:00
twinaphex
b4108eb343 Add set_osd_msg to video_poke 2013-03-11 21:42:02 +01:00
twinaphex
63883a1131 Combine render_msg and render_msg_place with params argument 2013-03-11 20:05:05 +01:00