162 Commits

Author SHA1 Message Date
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
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
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04: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
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
Brad Parker
b83d2529e2 break early if we run past the message length 2016-09-29 12:25:20 -04:00
Brad Parker
81090720c8 context must be current, not released, to use GL 2016-09-06 21:47:08 -04:00
Brad Parker
0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04: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
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
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
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
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
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
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
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