Commit Graph

537 Commits

Author SHA1 Message Date
twinaphex 9f2b56a929 Update Direct3D 10 driver 2018-04-21 03:27:41 +02:00
twinaphex 16df2ceb4e Fix Xbox OG 2018-04-17 11:39:59 +02:00
twinaphex 4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
Brandon Wright 1f472db2aa Fix multi-line text spacing in menus with Vulkan driver. 2018-03-18 18:57:24 -05:00
twinaphex b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex 0566b056a5 Take out d3d_common function call from d3d_w32_font.c 2018-03-03 05:42:14 +01:00
twinaphex 696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex 64db75a62e Prevent MSVC warning 2018-02-17 14:28:30 +01:00
twinaphex 070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
aliaspider 92afd7387d (D3D12) add a font driver. 2018-02-08 00:18:04 +01:00
aliaspider 700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
Twinaphex 50e902f2ea
Merge pull request #6227 from aliaspider/master
(D3D11) multi-pass shaders: add support for history frames.
2018-02-03 14:48:48 +01:00
aliaspider e225e96025 (D3D11) multi-pass shaders: add support for history frames. 2018-02-03 13:29:00 +01:00
twinaphex d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
aliaspider 6fe3a31617 (D3D11) multi-pass shaders: add support for wrap modes and lut
mipmapping.
2018-02-02 17:18:41 +01:00
Twinaphex 1d118c46a3
Merge pull request #6220 from aliaspider/master
(D3D11) font + slang fixes.
2018-02-02 02:38:33 +01:00
aliaspider 1e96393228 (D3D11) font renderer: fix line spacing. 2018-02-02 02:21:18 +01:00
Twinaphex f096e667d8
Merge pull request #6204 from aliaspider/master
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
aliaspider e6c455d2c6 (D3D11) move format support checks to d3d11_init_texture(); 2018-02-01 11:21:51 +01:00
twinaphex 911d01b1e4 CLeanups 2018-01-30 21:46:49 +01:00
twinaphex 03e800c1c8 Add HAVE_D3D11 to MSVC 2013 - we need non-HAVE_DYNAMIC codepaths
for D3D11
2018-01-29 14:05:44 +01:00
twinaphex 16cccb8796 (XDK360) Buildfixes 2018-01-26 05:29:44 +01:00
twinaphex 1f6b9e1c18 (Xbox 360) Buildfixes 2018-01-26 04:59:35 +01:00
Twinaphex f97ebfbf1f
Merge pull request #6179 from aliaspider/master
(D3D11) add the remaining menu shaders.
2018-01-25 17:18:59 +01:00
twinaphex c8c7ca0c30 (XDK1) Buildfix 2018-01-25 16:46:30 +01:00
twinaphex 3adb6cc5a8 CXX_BUILD fixes 2018-01-25 16:42:10 +01:00
aliaspider a2cddb27e5 (D3D11) refactors. 2018-01-25 15:48:53 +01:00
twinaphex d4367ed993 Cleanups 2018-01-25 15:30:48 +01:00
twinaphex 8422e44a2d Start moving d3dx fonts code to d3d_common.c 2018-01-25 14:13:21 +01:00
twinaphex 6ee8f681da Remove comment 2018-01-25 12:33:27 +01:00
twinaphex c76ce05070 Update d3d_w32_font 2018-01-25 12:16:57 +01:00
twinaphex a18e7767f3 Fix some unreferenced local variable warnings 2018-01-25 10:25:50 +01:00
Twinaphex 85fab182b8
Merge pull request #6174 from aliaspider/master
(D3D11) autogen mipmaps when needed / fix text colors.
2018-01-25 09:33:44 +01:00
aliaspider 580c0184c2 (D3D11) font driver: fix text colors. 2018-01-25 05:46:48 +01:00
aliaspider 2a54cbca75 (D3D11) autogen mipmaps when needed. 2018-01-25 04:57:49 +01:00
Twinaphex 3bfc13223c
Merge pull request #6169 from aliaspider/master
(D3D11) font + menu display drivers.
2018-01-25 01:46:17 +01:00
twinaphex bc81a9dc88 Dehardcode LPDIRECT3DDEVICE usage 2018-01-25 01:45:03 +01:00
aliaspider 8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
aliaspider 45541a0d44 (D3D11) change the sprite vertex buffer to a ring buffer to avoid data
races with the gpu.
2018-01-25 01:03:54 +01:00
aliaspider 812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
aliaspider 840bd459df (D3D11) add a font driver. 2018-01-24 20:51:19 +01:00
twinaphex 5b5e3e4a05 Cleanups 2018-01-19 04:45:11 +01:00
twinaphex 88873776c8 Cleanups 2018-01-19 04:13:02 +01:00
twinaphex c398db76d4 (xdk360_fonts.cpp) Cleanups 2018-01-15 06:32:40 +01:00
twinaphex 27caf46616 Add d3d_get_render_state 2018-01-15 06:14:20 +01:00
twinaphex 510dfca756 Start adding C++ code path for SetVertexShaderConstantF and
refactor xdk360_fonts.cpp calls
2018-01-15 06:01:59 +01:00
Twinaphex e948412bb4
Merge pull request #6108 from aliaspider/master
(direct3D) fix scaling in the menu display driver.
2018-01-15 03:48:40 +01:00
aliaspider 25a7c04a27 (direct3D) fix scaling in the menu display driver. 2018-01-15 03:45:37 +01:00
Twinaphex 332ccbf300
Merge pull request #6097 from aliaspider/master
(Direct3D) Menu display driver implementation.
2018-01-14 02:54:40 +01:00
aliaspider 7b09d5399c (Direct3D) Menu display driver implementation. 2018-01-14 02:21:48 +01:00
twinaphex 8e6f931f85 Add some safeguards 2018-01-13 23:50:14 +01:00
twinaphex acf9e41aae Start using d3dx_compile_shader 2018-01-07 20:47:35 +01:00
twinaphex 1f0d57f5f2 (xdk360_fonts.cpp) Cleanups 2018-01-07 13:45:37 +01:00
twinaphex fce097b892 (360) Buildfixes 2018-01-07 12:00:09 +01:00
twinaphex df2a31b0e9 Create d3d pixel shader/vertex shader functions 2018-01-06 23:10:27 +01:00
twinaphex d7df6b3729 Create d3d_free_vertex_shader/d3d_free_pixel_shader 2018-01-06 22:57:44 +01:00
twinaphex e03e578212 Add d3d_set_pixel_shader 2018-01-06 22:49:36 +01:00
twinaphex 9fe3271900 Add d3dxbuffer_release 2018-01-06 21:30:50 +01:00
aliaspider a7632620da (WIIU) add a sprite shader. 2018-01-04 17:38:04 +01:00
twinaphex 41d9a8fd75 Make D3DX optional 2018-01-04 14:42:13 +01:00
twinaphex d3480e6365 Create d3d_font_indirect 2018-01-03 19:03:19 +01:00
twinaphex 0e337bb110 Use d3d_device_get_backbuffer 2018-01-03 16:25:45 +01:00
twinaphex c9ff9ea253 (XFONTS) Buildfix 2018-01-03 14:28:07 +01:00
twinaphex 3058fc3390 (xfont) Add C++/C codepaths 2018-01-03 14:26:40 +01:00
twinaphex e17baf411c Use d3d_surface_free 2018-01-03 14:10:14 +01:00
aliaspider 0a32642f17 (WIIU) shader: use a single attribute stream. 2017-12-31 14:06:49 +01:00
aliaspider b371f4bb32 (WIIU) add a color attribute to tex_shader.
+ some fixes to overlay and menu display code.
2017-12-30 23:21:32 +01:00
meepingsnesroms 5a4bd619ba Revert "Merge branch 'master' into master"
This reverts commit 4b68a21a7e, reversing
changes made to 5e0f78e8a0.
2017-12-25 18:27:59 -08:00
meepingsnesroms bb7ee12766 Fix compile on new devkitARM 2017-12-16 19:20:43 -08:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex d5b3104cfb Cleanups/warning fixes 2017-12-06 19:51:07 +01:00
Brad Parker 75eed7997b GDI: use configured message color for OSD/menu text 2017-12-06 01:41:00 -05:00
twinaphex bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex 229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex 5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex 4a7e8b03b2 Cache core context setting 2017-11-08 05:59:08 +01:00
Ash 0d38612f4a
[WiiU] Various warning/format string fixes
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
Brad Parker 3098b5e3df gdi: fix uninitialized usage warning 2017-10-24 00:37:50 -04:00
twinaphex 8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00
Brad Parker a153ed0b42 testing 2017-10-09 21:19:32 -04:00
twinaphex a1b39b9c8b (360) Buildfix 2017-10-03 05:15:18 +02:00
twinaphex 0a3a30c99c (xdk360_fonts.cpp) Use some d3d_common functions 2017-10-03 05:12:21 +02:00
twinaphex 86f5cc6571 xdk360_fonts.cpp - use C comments 2017-10-03 04:46:36 +02:00
twinaphex 0695d93cee (xdk360_fonts.cpp) Start using d3d_common functions 2017-10-03 04:43:54 +02:00
twinaphex 7ff34f8efe Update 2017-10-02 21:58:06 +02:00
twinaphex 590cdeb130 Convert d3d_w32_font to C 2017-10-02 21:52:10 +02:00
twinaphex af9ec3f7a2 Start adding C codepath 2017-10-02 18:25:54 +02:00
twinaphex c4c41b277e Create d3d_begin_scene/d3d_end_scene 2017-10-02 01:15:23 +02:00
Brad Parker 0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex 6f26a9b97e Take this out 2017-09-05 01:01:00 +02:00
twinaphex c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
Brad Parker e3d68cd131 GDI: fix flickering of text 2017-08-22 23:39:42 -04:00
twinaphex 00412c9836 More C89_BUILD fixes 2017-08-12 18:02:39 +02:00
Brad Parker ff98730906 don't define UNICODE for msvc2005 2017-08-09 23:33:57 -04:00
Brad Parker 530d79f8e3 d3d9: only use wide char on msvc if UNICODE is defined 2017-08-09 18:25:45 -04:00
Brad Parker b1904bcfa6 caca: enable OSD text drawing 2017-08-04 21:51:14 -04:00
Brad Parker c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex f86f1b3e32 Simplify gl_raster_font_upload_atlas 2017-06-08 08:10:23 +02:00
twinaphex aaf3c876eb gl_raster_font.c - Cleanups 2017-06-08 06:44:04 +02:00
aliaspider db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
aliaspider a03b3238cb (WiiU) update font atlas texture when required. 2017-05-21 04:36:26 +01:00
aliaspider 1f13d616cc (WiiU) font renderer: fix vertical offset. 2017-05-21 04:17:38 +01:00
aliaspider 8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
aliaspider b503407abb Vulkan: font driver updates.
- submit font texture staging_to_dynamic copy with a seperate command
buffer. fixes a validation issue caused by using vkCmdCopyImage during a
render pass.
- limit copies to updated glyphs.
2017-05-15 05:52:38 +01:00
aliaspider 1122a7c585 Vulkan: Add unicode support. 2017-05-15 00:37:50 +01:00
Francisco José García García 5fc7a6776b (VITA) Fix problem with font renderer 2017-05-13 14:17:55 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
Twinaphex 6e51153387 Revert "Cleanu gl_raster_font_render_line"
This reverts commit 45cf53b487.
2017-05-05 05:30:49 +02:00
twinaphex 45cf53b487 Cleanu gl_raster_font_render_line 2017-05-05 05:23:26 +02:00
twinaphex 46bae549ac Fix some coverity warnings 2017-04-29 19:22:44 +02:00
twinaphex 17827940fd Get rid of some if conditionals 2017-04-29 19:21:24 +02:00
twinaphex df31ba6255 (Win32) Buildfix 2017-04-28 15:05:12 +02:00
twinaphex 632039f985 Cleanups 2017-04-25 13:28:42 +02:00
twinaphex b6d34e9581 Cleanups 2017-04-25 13:27:40 +02:00
twinaphex ffcb9d4a16 (gl_raster_font.c) Cleanups 2017-04-25 13:25:37 +02:00
twinaphex 03358b2ecd (gl_raster_font) Cleanup 2017-04-25 13:22:55 +02:00
twinaphex 047b10a3de (vulkan_raster_font.c) Small refactors 2017-04-25 13:19:32 +02:00
twinaphex 3917c658f3 Refactor vulkan_raster_font_render_line 2017-04-25 13:16:00 +02:00
twinaphex ee484b693c (vulkan_raster_font.c) Cleanups 2017-04-24 17:39:23 +02:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
Brad Parker 5c77937dad caca: don't leave X coord uninitialized with unknown font alignment 2017-01-22 13:51:10 -05:00
Brad Parker 9d3c20929a DOS: vga palette looks ok now 2017-01-22 10:47:11 -05:00
Brad Parker c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Brad Parker bc8b3ebad5 gdi: fix font alignment 2017-01-21 15:46:46 -05:00
Brad Parker 0290f4713c caca: fix font alignment 2017-01-21 15:39:35 -05:00
twinaphex 2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex 23afaa8799 (Xbox 360) Buildfixes 2017-01-19 20:34:07 +01:00
Brad Parker 8a65650298 Windows buildfix 2017-01-19 13:46:04 -05:00
twinaphex a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex 586654846a Buildfix 2017-01-19 16:33:02 +01:00
twinaphex e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex 4a8cb5687a (ctr_font.c) use #if 0 blocks 2017-01-19 15:55:42 +01:00
twinaphex 4743230b09 Some header includes shouldn't be system includes 2017-01-17 18:15:11 +01:00
twinaphex 7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
Brad Parker 76b7235dc5 msvc2005 buildfix 2017-01-16 22:20:59 -05:00
Brad Parker afb94e2b96 GDI: draw a gradient background for xmb 2017-01-16 20:41:09 -05:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Brad Parker 177d811475 GDI driver partially visible with RGUI/game now, need to figure out why it isn't totally visible. Also need to stretch the frame, swap red/blue and flip vertically. 2017-01-16 20:41:05 -05:00
Brad Parker dd2778fb32 GDI text testing 2017-01-16 20:41:05 -05:00
Brad Parker 05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
twinaphex c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e.
2017-01-14 21:02:30 +01:00
twinaphex b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex 52ad8fb125 (gfx/drivers_font) Style nits 2017-01-12 10:26:12 +01:00
twinaphex 20b5543420 (gl_raster_font.c) Cleanups 2017-01-10 21:43:45 +01:00
twinaphex d20bdabc20 Cleanup gl_raster_font_render_msg 2017-01-10 21:37:45 +01:00
Twinaphex faa8ddf413 Remove unused variables 2017-01-07 08:11:23 +01:00
Logan McNaughton 017d9cea9d This fixes the XMB menu for me
When using threaded video and shared context

Threaded video gets disabled for GL contexts, so you can't rely on the settings value
2017-01-05 12:53:55 -08:00
Spec-Chum f648b1cfbc Fix silly typo 2016-12-03 18:43:12 +00:00
Spec-Chum 7a6a0ee7af Fix MSVC compilation 2016-12-03 18:24:49 +00:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
twinaphex 5e10dbf348 Move more runloop.h includes 2016-12-02 16:01:06 +01:00
twinaphex a911c24ba3 Remove runloop.h header includes 2016-12-02 06:26:41 +01:00
twinaphex 2eeb8912e8 (xdk1_xfonts.c) Add header include 2016-12-02 01:03:14 +01:00
Brad Parker ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05: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
Francisco José García García 14c9eb47c4 (VITA) Add uft8 support 2016-11-05 16:21:21 +01:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
Francisco José García García e685876f15 (VITA) Fix line height 2016-10-25 17:18:09 +02:00
aliaspider 5d36ccc60e gl_raster_font: fix line height when drawing multiple lines. 2016-10-22 11:42:36 +01:00
Twinaphex 7050ecf287 Remove unneeded variables 2016-10-21 19:07:28 +02:00
aliaspider 6f81a19f60 (GL) update font driver to support a dynamic atlas. 2016-10-21 17:28:44 +01:00
twinaphex 310de4698c Prevent some potential NULL pointer dereferences 2016-10-19 18:06:21 +02:00
aliaspider c78f697c16 (3DS) wrap texture coordinate swizzeling in a function. 2016-10-10 22:22:08 +01:00
twinaphex 940fbcd4fa (D3D W32 fonts) Fix fonts 2016-10-09 16:58:51 +02:00
aliaspider 4729c2be76 (3DS) font renderer: prevent calling DrawArray() with count==0. 2016-10-08 04:24:32 +01:00
aliaspider 056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00
twinaphex d53d1faad5 Use string_is_empty 2016-09-30 09:00:04 +02:00
twinaphex 91170722e6 Try to silence Coverity warning 2016-09-30 08:58:57 +02:00
Twinaphex 03215a831f Merge pull request #3690 from aliaspider/master
(3DS) add experimental font and menu_display drivers.
2016-09-29 21:33:08 +02:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
Brad Parker b83d2529e2 break early if we run past the message length 2016-09-29 12:25:20 -04:00
Francisco José García García f6a7aa95e7 (VITA) Fix crash in gambatte 2016-09-29 00:20:14 +02:00
Francisco José García García e654c39944 (VITA) Fix utf8 2016-09-23 21:27:06 +02:00
frangarcj bc90dd2927 (VITA) Another UTF8 Fix 2016-09-19 14:17:19 +02:00
frangarcj ab0dad99fc (VITA) Remove old font driver 2016-09-19 14:15:13 +02:00
frangarcj d46a40e3c4 (VITA) USE STB FONT 2016-09-19 14:14:11 +02:00
twinaphex 606e37fcbd Cleanups 2016-09-11 15:07:07 +02:00
Brad Parker 81090720c8 context must be current, not released, to use GL 2016-09-06 21:47:08 -04:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex 86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
Brad Parker 0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex 467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex 815c0eb3ee Remove header includes 2016-09-01 05:46:10 +02:00
Brad Parker 2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
twinaphex d5f14a6caa Fix C89_BUILD warnings 2016-08-30 05:03:46 +02:00
Brad Parker c3b164de88 fix utf8 strings being cut off in xmb/glui when multibyte chars are present, rgui not affected 2016-08-29 12:33:28 -04:00
Brad Parker 96c96dca3b fix rendering of utf8 glyphs 2016-08-29 11:02:28 -04:00
Brad Parker 13ad3a4fce fix glyph rendering of long messagebox strings 2016-08-29 02:25:42 -04:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
twinaphex 82fecdbc70 (Vita) silence some warnings 2016-08-24 14:04:22 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker d063cb9283 do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available 2016-08-23 19:00:53 -04:00
Brad Parker 35e67e69e5 Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation 2016-08-23 14:49:44 -04:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
twinaphex 51eba5a3e7 (D3D) Header fix pt. 4 2016-08-01 22:22:23 +02:00
Hans-Kristian Arntzen 0eca956789 Vulkan: Create image views with right amount of mip levels. 2016-07-31 14:01:39 +02:00
twinaphex d0818e6e62 Not sure if/when we will be needing this 'ancient' codepath 2016-07-12 21:10:49 +02:00
Nathan S d79da7fc1f (gl_raster_font) Fixed the viewport issue 2016-06-29 14:22:30 +02:00
Twinaphex 08dbbe1a55 Revert "(gl_raster) Added fullscreen to restore_viewport" 2016-06-29 02:30:05 +02:00
Nathan S b0584a950d (gl_raster) Added fullscreen to restore_viewport 2016-06-28 11:56:19 +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
Nathan S 6889b58270 (gl_raster_font) Fixed scaling for newlines 2016-06-05 14:56:23 +02:00
twinaphex e2cc3bc08d Create gl_query_core_context_in_use 2016-05-16 05:55:42 +02:00
twinaphex b2f5e2ac08 Rename gfx_font_raster_block 2016-05-10 02:42:02 +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
twinaphex 7e1a06d8dd Remove some warnings 2016-05-08 17:54:30 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Twinaphex 54427bd377 (gl_raster_font.c) Avoid another static code analysis warning 2016-05-02 17:10:21 +02:00
Twinaphex 4039bc89d6 (gl_raster_font.c) Cleanups 2016-05-02 17:08:40 +02:00
twinaphex cc7f661f9c (D3D) Buildfixes 2016-04-23 19:02:40 +02:00
twinaphex 9386fb2fa0 Move D3D9 HLSL font shader to file 2016-04-17 04:13:23 +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
Jean-André Santoni 64e2f9e2f0 (XMB) Subtler drop shadows 2016-04-09 13:23:59 +07:00
twinaphex 072d6ff125 Rename gfx_coord_array_add to gfx_coord_array_append 2016-03-23 07:01:54 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 81690601c0 (gl_raster_font.c) Fix some race issues 2016-03-01 17:24:33 +01:00
twinaphex b79edb6095 Reimplement function pointers 2016-03-01 02:21:53 +01:00
twinaphex 3b9552bd36 (vulkan_raster_font.c) Style nits 2016-02-29 20:02:44 +01:00
twinaphex 0e91bb6852 Go through more function pointers 2016-02-29 19:03:18 +01:00
twinaphex 8fd280967b Go through funcptr 2016-02-29 17:08:25 +01:00
twinaphex 6c9e8041c6 Add function pointer for vkCreateCommandPool 2016-02-29 16:41:49 +01:00
twinaphex a8185f0b81 Cleanups 2016-02-29 02:54:46 +01:00
twinaphex b4e872476b Prevent some more crashes 2016-02-29 02:09:10 +01:00
twinaphex 4f1ab1f9c3 (gl_raster_font.c) Add early return in case gl pointer is NULL 2016-02-29 01:54:54 +01:00
Hans-Kristian Arntzen cece4e5ae2 Vulkan: Add workaround for broken VkImageView swizzling.
Certain early drivers fail to apply swizzle mask.
2016-02-21 13:52:30 +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 a15f2519a5 Cleanup 2016-01-23 05:10:47 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +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 e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00