50 Commits

Author SHA1 Message Date
twinaphex
b4d26aca9c Turn vulkan_write_quad_vbo into macro 2020-08-27 02:29:32 +02:00
twinaphex
bfc8a7beca Reorder structs/alignment 2020-08-14 21:45:41 +02:00
twinaphex
37bfbed3f5 (Vulkan) Cleanups 2020-06-28 21:20:18 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
67898f5d12 (Font drivers) Simplifications 2020-06-24 21:27:47 +02:00
twinaphex
9cb4d924cb Revert "(drivers_font) Cut down on unnecessary strlen calls within a for loop"
This reverts commit 3e9d0b875835dba8452d18cf36bc0f9e4e46517a.
2020-06-24 21:09:44 +02:00
twinaphex
3e9d0b8758 (drivers_font) Cut down on unnecessary strlen calls within a for loop
- precompute once for function duration
2020-06-24 20:52:39 +02:00
jdgleaver
73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
twinaphex
f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
twinaphex
43feea3496 (Drivers font) Add parameter 2020-03-09 21:34:14 +01:00
twinaphex
3e891c6237 (drivers font) Start making the code independent of video_frame_info 2020-03-07 04:45:27 +01:00
twinaphex
6c97a7514c (Vulkan) turn superfluous functions in vulkan_common.c into macros
to avoid unnecessary function overhead
2020-01-03 20:20:59 +01:00
jdgleaver
7ad4becedb (Vulkan) Fix font driver 'vulkan_get_message_width()' function 2019-12-29 14:44:07 +00:00
jdgleaver
9fff07e589 (Menu Widgets) Fix text alignment issues with Vulkan and D3D video drivers 2019-04-08 13:35:35 +01:00
natinusala
631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
eb345019c2 Don't implement bind_block/flush_block for drivers that
don't implement it
2018-07-15 20:16:40 +02:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +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
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
twinaphex
5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex
00412c9836 More C89_BUILD fixes 2017-08-12 18:02:39 +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
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
affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e8f8c08531c3661041d0ded9bfeca51.
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
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex
467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
Hans-Kristian Arntzen
0eca956789 Vulkan: Create image views with right amount of mip levels. 2016-07-31 14:01:39 +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
Hans-Kristian Arntzen
464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Jean-André Santoni
64e2f9e2f0 (XMB) Subtler drop shadows 2016-04-09 13:23:59 +07: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
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