Commit Graph

257 Commits

Author SHA1 Message Date
Themaister 105872a42c Add HW context support to X/EGL and KMS/EGL. 2014-04-19 16:06:25 +02:00
twinaphex a40e942280 Add frame function to menu_ctx_driver_t struct 2014-04-01 04:45:00 +02:00
twinaphex d1df068583 (XDK) Build fix 2014-03-09 18:51:35 +01:00
twinaphex 01f02568b2 (360/Menu) Implement render_messagebox through custom message
queue
2014-03-09 18:26:30 +01:00
twinaphex 82d1953115 (XDK 360) Convert unused convert_texture function 2014-03-08 04:42:21 +01:00
twinaphex dabfafc7cc (D3D) Move stuff around 2014-03-08 04:03:12 +01:00
twinaphex c512fccc18 (XDK) Build fix 2014-03-08 00:54:33 +01:00
twinaphex 950cac260b (XDK) Build fix 2014-03-07 20:19:26 +01:00
twinaphex f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex 82c7e8f422 (XDK D3D) Build fix 2014-03-07 05:56:23 +01:00
twinaphex 39c1ec4672 Pass data param to more shader functions 2014-03-07 05:51:56 +01:00
twinaphex ea88399281 (XDK D3D) Refactor initing code completely - make it more inline
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex a28a97a1df (XDK D3D) Use faster blitting function XGCopySurface for
360
2014-03-06 22:40:38 +01:00
twinaphex c5364fa012 (XDK D3D) Cleanups 2014-03-06 20:33:58 +01:00
twinaphex c03c980c1e (XDK D3D) Create set_mvp 2014-03-06 18:29:54 +01:00
twinaphex 81644a6905 (XDK D3D) Cleanups #2 2014-03-06 05:05:26 +01:00
twinaphex 36c160b909 (XDK D3D) Cleanups 2014-03-06 04:58:21 +01:00
twinaphex a99bea53d9 (360) Use faster SetTextureFetchConstant after first SetTexture transfer 2014-03-06 04:04:03 +01:00
twinaphex 887b57fef4 (XDK1) Use faster SwitchTexture after the first SetTexture
call - should change a texture in ten x86 instructions
2014-03-06 02:51:06 +01:00
twinaphex 6894cb81a8 (XDK1) Applies soft filtering and flicker filtering correctly now 2014-03-06 02:37:10 +01:00
twinaphex 0f357099c5 (Xbox 1) Move SetFlickerFilter/SetSoftDisplayFilter to render_pass 2014-03-06 02:22:16 +01:00
twinaphex 407cced43c (XDK D3D) Move g_extern.frame_count incrementin to swap_buffers 2014-03-05 22:24:39 +01:00
twinaphex fb48a9e356 (XDK D3D) refactors 2014-03-05 22:10:36 +01:00
twinaphex 7331fd3f82 (XDK1) Aspect ratios/integer scaling works correctly now 2014-03-05 18:37:47 +01:00
twinaphex c94bb7d06d (XDK D3D) Build fix 2014-03-05 18:15:41 +01:00
twinaphex 3cbd430b12 (XDK D3D) Cleanups 2014-03-05 17:25:30 +01:00
twinaphex 4e21522da1 (XDK1 D3D) Take out unused font->x/font->y 2014-03-05 06:55:16 +01:00
twinaphex d5e9951c59 (XDK D3D) Simplify set_rotation 2014-03-05 06:35:42 +01:00
twinaphex f0ff3b4ae7 (XDK D3D) Rename win_width/win_height to screen_width/screen_height 2014-03-05 06:25:39 +01:00
twinaphex 4cd603197b (XDK D3D) Refactor LPDIRECT3D member to g_pD3D 2014-03-05 06:11:39 +01:00
twinaphex 1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
twinaphex 7311d6503f (XDK D3D) Use 'data' parameter instead of driver.video_data 2014-03-05 05:07:16 +01:00
twinaphex 11f67362dc (XDK1) Quick build fix 2014-03-05 04:27:15 +01:00
twinaphex 5a7b9dcad5 (XDK D3D) Cleanups 2014-03-05 04:05:12 +01:00
twinaphex 0c0209a705 (XDK D3D) Build fix 2014-03-05 02:33:46 +01:00
twinaphex 9d6ef702d6 (XDK D3D) Cleanups 2014-03-05 02:31:29 +01:00
twinaphex b5d6d4a455 (XDK D3D) Cleanups 2014-03-05 02:15:42 +01:00
twinaphex 4203408bee (XDK D3D) Take out another HAVE_HLSL ifdef 2014-03-03 05:56:04 +01:00
twinaphex 785273c209 (XDK1) Cleanup xdk_set_shader 2014-03-03 05:53:40 +01:00
twinaphex bd347fc5c7 (XDK1) Build fix 2014-03-03 05:49:43 +01:00
twinaphex d17ffbb625 (XDK 360) Get rid of some of the HLSL ifdefs 2014-03-03 05:38:13 +01:00
twinaphex ae761a220a (XDK D3D) Take out HAVE_FBO code - will need to completely
refactor all this code anyway
2014-03-03 05:29:55 +01:00
twinaphex 810a1298ad (XDK D3D) Cleanups 2014-03-03 04:28:19 +01:00
twinaphex 065e98ee29 (XDK D3D) Refactor code in xdk_d3d_frame - make it more like render_chain
from PC D3D driver
2014-03-03 02:22:41 +01:00
twinaphex 609f40a3bf (XDK D3D) Add black frame insertion code block - will be useless
for Xbox consoles so far anyway but just to keep in sync with
PC D3D driver
2014-03-03 02:05:34 +01:00
twinaphex 43a8520ee8 (XDK D3D) Refactor set_viewport code 2014-03-03 01:57:16 +01:00
twinaphex b127607caf (XDK D3D) Refactor to be more like D3D PC driver 2014-03-03 01:45:01 +01:00
twinaphex 2414a502fd (XDK D3D) Cleanups 2014-03-03 00:50:32 +01:00
twinaphex 5979a1b1c2 (XDK D3D) Put some guards around invoking function pointers 2014-01-10 16:20:58 +01:00
twinaphex 64474142dd (XDK) Move xdk_d3d_generate_pp to xdk_ctx.c 2014-01-09 13:40:17 +01:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex 030012f664 (360) Some build fixes 2013-12-29 04:08:42 +01:00
twinaphex a77b7576b7 (RMenu XUI) Get rid of rmenu_xui header 2013-11-19 06:42:27 +01:00
twinaphex 79a4f790fe (XDK1) Menu texture now fills entire screen 2013-11-15 02:54:14 +01:00
twinaphex ef7d85c1ce (XDK D3D) Some texture menu tweaks 2013-11-15 02:44:17 +01:00
twinaphex 94a49d4273 (xdk_d3d) Remove HAVE_MENU_PANEL define 2013-11-12 12:31:21 +01:00
twinaphex 50dc298187 (Xbox 1) Remove menu_panel 2013-11-11 04:04:24 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex 2c2542ff63 Rename message.c/message.h to message_queue.c/message_queue.h 2013-11-06 15:08:54 +01:00
twinaphex 332f221c64 (XDK D3D) Prevent unitialized variables 2013-11-04 00:04:53 +01:00
twinaphex f149c387b9 Remove 'start' from video interface 2013-11-01 21:18:38 +01:00
twinaphex b09a7bae43 (XDK) Move font context initing to xdk_d3d_init 2013-11-01 17:36:31 +01:00
twinaphex a682319eee (XDK1) Fix build - reimplemented input init 2013-11-01 17:12:24 +01:00
twinaphex c2b55b9974 (XDK) Fix message queue 2013-10-07 23:57:55 +02:00
twinaphex c95689e8f0 (RMenu XUI) Add more HAVE_RMENU_XUI ifdefs 2013-09-29 21:45:50 +02:00
twinaphex 48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
twinaphex 767c44fd47 (360) Don't define HAVE_RMENU anymore for 360 2013-09-29 17:58:10 +02:00
twinaphex 059f2c98cd (360) Build fixes to rmenu_xui.cpp 2013-09-29 17:53:26 +02:00
twinaphex 725be8ff94 (360/XDK) Build fixes 2013-09-28 01:46:55 +02:00
twinaphex 8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
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