Commit Graph

184 Commits

Author SHA1 Message Date
twinaphex 1b00796f64 Turn video_shader_driver_set_parameter to macro 2016-11-20 17:28:51 +01:00
twinaphex 856d6b37be Turn video_shader_driver_set_coords into macro 2016-11-20 16:48:54 +01:00
twinaphex ef610312e7 Turn video_shader_driver_set_mvp into macro 2016-11-20 16:45:06 +01:00
twinaphex 2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
twinaphex f9786d6c6a Remove unnecessary config.def.h includes 2016-11-20 13:43:56 +01:00
twinaphex 20c1ef83d6 First stab at getting snow shader to work 2016-11-17 21:08:50 +01:00
twinaphex a77f669805 Flesh out menu_display_d3d_bind_texture 2016-10-20 04:46:55 +02:00
twinaphex 0f3081701b Cleanups 2016-10-19 03:55:57 +02:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
Francisco José García García 8e631df6c4 (VITA) Temporal fix for clear screen 2016-10-16 17:45:06 +02:00
aliaspider d48445fc1e (3DS) video driver:
- texture handling improvement.
- flush pending tasks while waiting for vsync.
2016-10-10 22:25:25 +01:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
twinaphex 0732626797 Add header includes 2016-09-08 06:02:41 +02:00
twinaphex 82fecdbc70 (Vita) silence some warnings 2016-08-24 14:04:22 +02:00
Francisco José García García 5bd2364575 (VITA) Fix screenshots and some debug options 2016-08-23 18:17:46 +02:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
twinaphex 432c23eed8 (D3D) Headers fix pt. 5 2016-08-01 22:23:01 +02:00
Hans-Kristian Arntzen 4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
twinaphex 883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex 0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
twinaphex 1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
Hans-Kristian Arntzen f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen 8870e85395 More fixes for menu_display_ctl.
Grep shows nothing now.
2016-05-08 14:18:12 +02:00
Hans-Kristian Arntzen 951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
twinaphex e93924b0e2 Fix d3d_draw_pipeline 2016-04-26 12:47:00 +02:00
twinaphex aa55c1a7d9 Fix draw_pipeline 2016-04-26 12:46:16 +02:00
twinaphex 68265f6c52 Add 'draw_pipeline to menu/drivers_display 2016-04-25 13:56:12 +02:00
twinaphex cc7f661f9c (D3D) Buildfixes 2016-04-23 19:02:40 +02:00
twinaphex 4a29f71272 (Menu) Cleanups 2016-04-19 17:40:03 +02:00
twinaphex 65bd8194cd Cleanup 2016-04-19 17:37:27 +02:00
twinaphex 3387a0d678 (menu display) Create bind texture functions 2016-04-19 08:53:48 +02:00
twinaphex 17273493ef (Menu) Create viewport function callback 2016-04-19 08:50:35 +02:00
twinaphex 8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex 9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00
twinaphex 5c0f7876b8 Cleanups 2016-04-15 04:48:07 +02:00
twinaphex b3f486ae44 (Menu drivers display) Cleanups 2016-04-15 04:43:48 +02:00
twinaphex d7cbb4472e Cleanups 2016-04-15 04:20:57 +02:00
twinaphex 84eb56892f Cleanups 2016-04-15 04:17:31 +02:00
twinaphex 31c6bba86a Cut down on code duplication - draw_bg callback no longer necessary 2016-04-15 03:35:19 +02:00
twinaphex 0e984f6c95 Cleanups 2016-04-15 03:31:59 +02:00
twinaphex 3cb6117226 (Menu display) Cleanups 2016-04-15 03:24:21 +02:00
twinaphex f4f839f776 Cleanups 2016-04-15 03:14:18 +02:00
twinaphex 1c1cf4535d Remove this too 2016-04-12 22:25:45 +02:00
twinaphex e1a3ceaaee draw_bg operation should not implicitly enable/disable blending -
should be done outside
2016-04-12 22:24:33 +02:00
twinaphex 9976077895 (menu display vulkan) Take out set viewport call 2016-04-12 20:19:13 +02:00
twinaphex 83efd732dd (XMB) Move set viewport call outside 2016-04-12 20:17:50 +02:00
twinaphex 033cecf08c (menu_display) Cleanups 2016-04-12 20:07:23 +02:00
twinaphex 19e86256a7 (menu display GL) Attach white texture to draw info struct if NULL 2016-04-12 19:55:31 +02:00
twinaphex 86a8899b0f (Android) Start preparing Android JNI Makefiles for Android 2016-03-01 18:46:40 +01:00
twinaphex b79edb6095 Reimplement function pointers 2016-03-01 02:21:53 +01:00
twinaphex e669f92399 (Vulkan) Cleanups 2016-02-29 20:07:11 +01:00
twinaphex 670eede306 Go through function pointer for vkCmdClearAttachments 2016-02-29 19:34:40 +01:00
twinaphex b09a19d9a0 (Vulkan) Style nits 2016-02-29 19:26:57 +01:00
twinaphex 7beff1adaa (D3D) Silence warnings 2016-02-26 22:46:01 +01:00
twinaphex 63c4b7c772 Cleanups 2016-02-25 19:52:40 +01:00
Hans-Kristian Arntzen b87106e61a Vulkan: Implement menu display clear color. 2016-02-21 13:12:51 +01:00
twinaphex b57dbd5028 Style nits 2016-02-21 09:57:24 +01:00
twinaphex 0058e1ba51 Remove commented out code 2016-02-17 01:25:45 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex bd74390cde Add SHADER_CTL_USE 2016-02-14 20:01:39 +01:00
twinaphex 37c2b47915 Add SHADER_CTL_SET_MVP 2016-02-14 19:43:47 +01:00
twinaphex 6c1b96f50d Add SHADER_CTL_SET_COORDS 2016-02-14 18:59:42 +01:00
twinaphex a306d3acc7 Cleanups 2016-02-09 16:13:00 +01:00
twinaphex 88c68f479a Cleanups 2016-02-09 16:11:37 +01:00
twinaphex 2026401cc0 (D3D) Buildfix 2016-02-09 16:00:34 +01:00
twinaphex c6cc006223 pass draw pointer instead of plenty of params 2016-02-09 15:55:31 +01:00
twinaphex deb3c73ae0 Nits 2016-02-04 21:42:42 +01:00
twinaphex d3d4bc3dda Get rid of texture_load/texture_unload callbacks for menu_display_driver 2016-01-20 02:54:55 +01:00
twinaphex bcf5d3150e (D3D) Buildfix 2016-01-19 23:46:52 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex a491d96509 (menu_display_d3d.cpp) Add commented out calls 2016-01-08 22:35:51 +01:00
twinaphex 80d66f49cc Cleanup 2016-01-08 22:34:00 +01:00
twinaphex b24ca80c92 (D3D) N/A 2016-01-08 09:00:56 +01:00
twinaphex a02c77c9d2 (menu_display_d3d.cpp) Preliminary implementation of get_default_mvp 2016-01-08 08:12:59 +01:00
twinaphex b376e186b4 Fix function name clashes pt. 2 2016-01-07 09:23:04 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex 9f96742576 Take out some header includes 2015-12-08 09:30:44 +01:00
twinaphex df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
Jean-André Santoni bc602645c7 (Menu) Use float for icon coordinates, makes animations look smoother 2015-12-03 15:34:17 +07:00
twinaphex 389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex efb1d741f9 Update 2015-11-23 16:06:48 +01:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex ddde58caf4 Simplify video_driver_get_ptr 2015-11-20 18:50:21 +01:00
twinaphex 3162bb796a Reduce video_driver_get_ptr calls 2015-11-20 17:46:42 +01:00
twinaphex 4ede2d1f70 reduce video_driver_get_ptr calls 2015-11-20 17:45:10 +01:00
twinaphex 588b4259f7 Rename d3d_wrapper to d3d_common 2015-11-18 13:00:13 +01:00
twinaphex ff03f83994 (Xbox 1) Some preliminary build fixes 2005-04-23 20:22:55 +02:00
twinaphex e5d3f5b8b7 (menu_display_d3d) XBOX build fixes 2015-11-17 11:31:48 +01:00
twinaphex 239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex 2b59f18b83 Add function pointer for font_init_first 2015-11-09 22:12:32 +01:00
twinaphex eae2f3eeda Convert menu_display_d3d.c to C++ 2015-11-09 02:19:59 +01:00
twinaphex 1bcbaf5fba Add D3D support for video_texture_{load/unload} 2015-11-09 00:38:02 +01:00
twinaphex 3114d4df7a menu_display_d3d.c can now be compiled - does not work yet 2015-11-08 23:33:18 +01:00