Commit Graph

331 Commits

Author SHA1 Message Date
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