Commit Graph

5846 Commits

Author SHA1 Message Date
twinaphex
642e46779b Cleanups 2016-09-06 23:59:43 +02:00
twinaphex
ffcf96dd24 Add config.h includes 2016-09-06 23:47:05 +02:00
twinaphex
e6a114a95a Create gfx/video_frame.c 2016-09-06 23:41:09 +02:00
twinaphex
50bd1c38be Header cleanup 2016-09-06 23:34:55 +02:00
twinaphex
226460530c Header include cleanup 2016-09-06 23:34:27 +02:00
twinaphex
671063aec2 Silence warnings 2016-09-06 23:17:16 +02:00
dankcushions
cdc4bff3fb Fix build on Raspberry Pi (3) 2016-09-06 21:54:53 +01:00
mudlord
f3a0d8518e mudlord is a fucking clot/hack and needs to be shot.
Should have tested on other drivers than Nvidia Windows.
2016-09-07 05:56:07 +10:00
twinaphex
6f47289ba6 Start adding HAVE_CONFIG_H to gfx/drivers_context 2016-09-06 19:39:02 +02:00
Alcaro
23dc89168a are those HAVE flags not set up there or something? 2016-09-06 19:21:33 +02:00
twinaphex
c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
Brad Miller
94be5a8651 Update modern_pipeline_xmb_ribbon.glsl.vert.h
nit
2016-09-06 15:58:37 +10:00
mudlord
d77759cc1b change 2016-09-06 15:45:57 +10:00
mudlord
73a1cd4631 greatly optimized modern vertex shader for ribbon. 2016-09-06 15:42:16 +10:00
twinaphex
f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex
82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex
3e9df72123 Try to fix ARM build 2016-09-06 03:14:20 +02:00
twinaphex
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex
266a06ffb1 Revert "Expose GPU Hard Sync for GLES 3 too"
This reverts commit a74813c9ea.
2016-09-05 21:43:02 +02:00
twinaphex
bd45d7a707 gl_capabilities.c - cleanups 2016-09-05 21:25:38 +02:00
twinaphex
67c2965612 OpenGL ES should not reach this code 2016-09-05 21:22:38 +02:00
twinaphex
a74813c9ea Expose GPU Hard Sync for GLES 3 too 2016-09-05 21:16:30 +02:00
twinaphex
280aa831b5 Remove verbosity.h header dependency on gl_capabilities.c 2016-09-05 21:12:44 +02:00
twinaphex
43edd76736 Add headers 2016-09-05 21:09:21 +02:00
twinaphex
86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
twinaphex
acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex
f0702ac72c (PS3) Buildfix 2016-09-05 07:59:26 +02:00
twinaphex
f30deb9cd0 Header cleanup 2016-09-05 07:47:11 +02:00
twinaphex
e6ef3662ac Header include changes 2016-09-05 07:44:17 +02:00
twinaphex
76732249b6 Cleanups 2016-09-05 07:30:44 +02:00
Twinaphex
ef43a573a3 Silence warnings 2016-09-05 07:28:55 +02:00
twinaphex
1edaa20029 header cleanups for gl_capabilities.c 2016-09-05 07:26:32 +02:00
twinaphex
1bed2dc3c4 Buildfix 2016-09-05 07:22:44 +02:00
twinaphex
1a241fa9ce Rewrite this 2016-09-05 07:22:44 +02:00
twinaphex
7af3b79416 Create gl_capabilities.c/gl_capabilities.h 2016-09-05 07:04:56 +02:00
Brad Parker
0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex
064f74825a CXX_BUILD buildfix 2016-09-01 18:26:01 +02:00
twinaphex
467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex
ddb9cff2af More header include cleanups 2016-09-01 18:10:59 +02:00
twinaphex
e106fd4374 Get rid of more general.h includes 2016-09-01 18:01:41 +02:00
twinaphex
b7fd9bef60 Add configuration.h 2016-09-01 17:34:24 +02:00
twinaphex
3a72479699 Add retro_miscellaneous.h to gfx/video_filter.c 2016-09-01 17:08:13 +02:00
twinaphex
aff2812fde Try to get rid of double definition of type 2016-09-01 06:08:06 +02:00
twinaphex
815c0eb3ee Remove header includes 2016-09-01 05:46:10 +02:00
twinaphex
562c1e996c Get rid of more header includes 2016-09-01 05:38:26 +02:00
twinaphex
a608f2350a (Freetype) Add another fallback font 2016-09-01 02:09:15 +02:00
twinaphex
47eef317bb (video filters) Update exp_generic_rgb565 2016-09-01 02:03:43 +02:00
Alcaro
d1b7cdef57 Kill some signed integer overflow warnings 2016-08-31 23:57:06 +02:00
twinaphex
12cfb3bfce Rewrite gfx_ctx_x_make_current a bit and turn it into a
static function
2016-08-31 15:24:56 +02:00
twinaphex
aa15fb3f91 Update remaining video context drivers 2016-08-31 15:02:07 +02:00
Brad Parker
2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
Logan McNaughton
78337bae4b EGL_DEPTH_SIZE should be set
Same reasoning as Android.
2016-08-30 15:32:25 -06:00
Logan McNaughton
1beb9e9ffd EGL_DEPTH_SIZE should be set
EGL_DEPTH_SIZE needs to be set in order to have an FBO with a depth buffer. Some drivers aren't as strict about this but many are.
2016-08-30 15:29:17 -06:00
twinaphex
d5f14a6caa Fix C89_BUILD warnings 2016-08-30 05:03:46 +02:00
twinaphex
ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +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
24075fd52f (osmesa_ctx.c) Cleanups 2016-08-28 18:26:53 +02:00
twinaphex
5f4ee2567c (sdl_gl_ctx.c) Cleanup 2016-08-28 18:20:31 +02:00
Alcaro
6cb656bcc9 Doublekill warning 2016-08-28 18:06:57 +02:00
Alcaro
c4d4c51a5f Kill warning 2016-08-28 17:59:43 +02:00
Twinaphex
754cc1feed Merge pull request #3448 from bparker06/hidden_files
add configuration option to toggle showing hidden files (default on)
2016-08-28 04:05:28 +02:00
Brad Parker
cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
Twinaphex
b3dc1afcbe Merge pull request #3445 from orbea/configure
Align ./configure --help options.
2016-08-28 02:59:59 +02:00
hizzlekizzle
20a27822f3 make 1:1 PAR option more descriptive
should help avoid confusion about what it actually does.
2016-08-27 19:25:36 -05:00
orbea
698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
twinaphex
0f5118d895 feedback_pass - change to 0 2016-08-27 16:02:21 +02:00
Alcaro
cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02: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
035d006d62 Set attrib to EGL_OPENGL_ES3_BIT_KRH if g_es3 is true 2016-08-23 00:09:33 +02:00
Brad Parker
cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
Francisco José García García
70f16cddda (VITA) Fix setting aspect ratio 2016-08-15 02:39:34 +02:00
twinaphex
b622e60e45 Add D3D9 headers 2016-08-12 01:17:54 +02:00
twinaphex
4791174ea3 (MSVC 2003) Fixes 2006-01-17 06:11:55 +01:00
twinaphex
d4eca3aeb7 Move glext.h header to gfx/include/GL/glext.h 2016-08-11 23:34:05 +02:00
twinaphex
9777e9d9ef (MSVC 2003) Add MSVC 2003 compatibility 2006-01-17 04:36:32 +01:00
Twinaphex
50afc567b3 Prevent unused variable 2016-08-10 07:20:49 +02:00
twinaphex
04e7e51845 Move log message 2016-08-08 18:44:12 +02:00
twinaphex
8da3054968 Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2 2016-08-08 18:40:58 +02:00
twinaphex
becf96837e Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2 2016-08-08 18:37:46 +02:00
Logan McNaughton
2daf102111 Fix GLES3 compling 2016-08-07 22:33:07 -06:00
Francisco José García García
cddef9827d (VITA) Fix rgb32 2016-08-08 01:51:23 +02:00
Logan McNaughton
47227c829b GLES3 fixes 2016-08-06 21:45:35 -06:00
twinaphex
fb9a2eea95 Remove one useless HAVE_OPENGLES2 ifdef, and remove some wrong
defines
2016-08-07 04:35:38 +02:00
Hans-Kristian Arntzen
96818a297c Vulkan: Fix validation errors with OriginalHistory.
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
twinaphex
0164ce3725 Move comments 2016-08-06 17:31:01 +02:00
twinaphex
ef74742078 Change GL_CAPS_FBO 2016-08-06 17:28:15 +02:00
twinaphex
083bc4eed3 Cut down on some HAVE_FBO ifdefs 2016-08-06 03:18:19 +02:00
Higor Eurípedes
529031270b (osmesa) Cleanup and minor fixes 2016-08-05 20:54:35 -03:00
twinaphex
444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex
b8de32587b (GL) Fix PSGL build 2016-08-03 16:47:01 +02:00
twinaphex
afce6fccc5 (GL) Fix statement is unreachable warnign 2016-08-03 16:28:52 +02:00
Francisco José García García
d514963a95 (VITA) Show fps 2016-08-03 02:02:44 +02:00
twinaphex
b7b5ffe28c Above case should handle this already 2016-08-03 00:24:03 +02:00
twinaphex
02f0b4a428 GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too 2016-08-03 00:21:48 +02:00
twinaphex
a517b39cfb Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too 2016-08-03 00:19:44 +02:00
twinaphex
36963b91c7 (GL capabilities) Packed depth stencil - if GLES is 3 or higher,
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex
23f4e8bdfa (Android/GLES) Should work with HW render context again 2016-08-03 00:08:50 +02:00
twinaphex
871b1740a8 Rename render_chain_driver.h to render_chain_gl.h 2016-08-02 16:22:57 +02:00
twinaphex
fb641dabd1 (Griffin ) Buildfix 2016-08-02 15:01:34 +02:00
Hans-Kristian Arntzen
fb407796e9 Vulkan: Add push constant support to slang.
Usually, the UBO is very small, so we can fit everything in fast-access
uniforms.
2016-08-02 12:51:30 +02:00
twinaphex
84588a1527 (GL) Move more code 2016-08-02 03:12:48 +02:00
twinaphex
9b06ec6c4e (GL) Move more FBO functions to render_chain_gl_legacy 2016-08-02 03:10:55 +02:00
twinaphex
bd3cd08be8 (GL/FB) Still compiles and links with --disable-fbo 2016-08-02 03:04:27 +02:00
twinaphex
d391159f39 Move more HAVE_FBO code to render_chain_gl_legacy 2016-08-02 02:56:44 +02:00
twinaphex
85ec02ba6b (GL) Move more renderchain code over to render_chain_gl_legacy 2016-08-02 02:54:38 +02:00
twinaphex
78806bf33c Move more renderchain code over to render_chain_gl_legacy.c 2016-08-02 02:38:46 +02:00
twinaphex
a8e74f0aa2 (GL) Start moving renderchain code over to separate files 2016-08-02 02:27:23 +02:00
twinaphex
a07ce85086 (OSMesa) No C++ comments 2016-08-02 02:19:06 +02:00
Higor Eurípedes
8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
twinaphex
ab8471959e (D3D) 80-char style nits 2016-08-02 01:47:11 +02:00
twinaphex
a0d3a148e7 Move force SRGB disable check at beginning of capability check 2016-08-02 00:56:21 +02:00
twinaphex
31ca6ca5ea (GL) Rename another function 2016-08-02 00:42:03 +02:00
twinaphex
188dd9bd69 Create gl_renderchain_add_lut 2016-08-02 00:31:04 +02:00
twinaphex
ec91878187 (GL) rename to gl_recompute_pass_sizes 2016-08-02 00:25:28 +02:00
twinaphex
9c1155283b (GL) Create gl_renderchain_convert_geometry 2016-08-02 00:23:38 +02:00
twinaphex
e8480a72a6 (D3D) Correct one shader 2016-08-01 22:45:07 +02:00
twinaphex
c314077f1d (D3D) Cleanups of shaders 2016-08-01 22:43:51 +02:00
twinaphex
51eba5a3e7 (D3D) Header fix pt. 4 2016-08-01 22:22:23 +02:00
twinaphex
6e644223a8 (D3D) Header fix pt. 3 2016-08-01 22:21:50 +02:00
twinaphex
a2bbbee713 (D3D) Header fix pt. 2 2016-08-01 22:21:11 +02:00
twinaphex
fd6a9fd3bd (D3D) Fix include 2016-08-01 22:18:42 +02:00
Hans-Kristian Arntzen
00de5aa2f0 Vulkan: Filter out duplicated parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
efd3067903 Vulkan: Hook up shader parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
8b14941a94 Refactor out resolve_current_parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
a50c204d5e Vulkan: Begin parsing parameters. 2016-08-01 22:10:14 +02:00
twinaphex
8d186dab88 Relocate D3D drivers 2016-08-01 22:05:57 +02:00
twinaphex
124454430b (GL) Go through gl_query_core_context_in_use 2016-08-01 21:58:18 +02:00
Twinaphex
becef95dc2 (GL) Silence unused variable 2016-08-01 21:55:02 +02:00
Francisco José García García
95b630636d (VITA) Rotation workaround 2016-08-01 20:26:29 +02:00
twinaphex
563842945c (gl_common.h) Start catering towards GLES3/GLES3.1/GLES3.2 too 2016-08-01 18:15:14 +02:00
twinaphex
e3dc0261c0 (GL) Cleanups 2016-08-01 18:10:34 +02:00
twinaphex
46c8bba59e (GL) Cut down on ifdefs 2016-08-01 18:08:18 +02:00
twinaphex
10ceec4c99 (GL) Cleanups 2016-08-01 17:46:02 +02:00
twinaphex
b7458f5523 (GL) Cleanups 2016-08-01 17:40:53 +02:00
twinaphex
34488802d9 Create GL_CAPS_SRGB_FBO_ES3 2016-08-01 17:36:07 +02:00
twinaphex
09ea570dcb Create GL_CAPS_FP_FBO 2016-08-01 17:33:50 +02:00
twinaphex
3d76f6e79f gl_check_capability - cleanups 2016-08-01 17:30:58 +02:00
twinaphex
76c021df09 Create GL_CAPS_SRGB_FBO 2016-08-01 17:28:43 +02:00
twinaphex
9b5703c9f3 Create GL_CAPS_FULL_NPOT_SUPPORT 2016-08-01 17:23:01 +02:00
twinaphex
91bef22613 EGL images should be usable with GLES3 and later too 2016-08-01 16:47:24 +02:00
twinaphex
a45239359c (GL) Create GL_CAPS_UNPACK_ROW_LENGTH
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex
6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex
78217ca32b (GL) Create GL_CAPS_ES2_COMPAT 2016-08-01 16:19:41 +02:00
twinaphex
bbc303c7f2 (GL) Create GL_CAPS_PACKED_DEPTH_STENCIL 2016-08-01 16:11:35 +02:00
twinaphex
375a2f2480 Create GL_CAPS_DEBUG 2016-08-01 16:06:19 +02:00
twinaphex
4b1ab53361 Create gl_check_capability 2016-08-01 16:01:21 +02:00
twinaphex
087e378bf7 Use 0 parameter index 2016-08-01 15:43:34 +02:00
twinaphex
1aac393f73 (GL) Cut down on some forward declarations 2016-08-01 15:40:02 +02:00
twinaphex
94763e1db4 (GL) Remove one unnecessary HAVE_MENU ifdef 2016-08-01 15:31:29 +02:00
Hans-Kristian Arntzen
efee5d131a Vulkan: Make glslang shaders debuggable.
Properly handle file names, includes, etc to make
error reports somewhat more sane.
2016-08-01 14:27:23 +02:00
Twinaphex
ec82db21d2 Merge pull request #3301 from frangarcj/master
(VITA) Fix rotation
2016-07-31 20:31:08 +02:00
Hans-Kristian Arntzen
bdcbc56507 Vulkan: Fix validation errors. 2016-07-31 19:59:36 +02:00
Hans-Kristian Arntzen
e61ec38543 Vulkan: Mipmapped FBOs work. 2016-07-31 19:52:15 +02:00
Francisco José García García
b4bd9cf830 (VITA) Fix rotation 2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen
a48ba6c68b Vulkan: Add mipmapping support to Framebuffer class. 2016-07-31 19:23:42 +02:00
Hans-Kristian Arntzen
9a613ef8bf Vulkan: Actually bind correct part of the UBO. 2016-07-31 18:25:42 +02:00
Hans-Kristian Arntzen
c0e752c53c Persistently map filter chain UBO. 2016-07-31 18:19:35 +02:00
Hans-Kristian Arntzen
10e864b26b Hook up wrapping modes. 2016-07-31 16:32:55 +02:00
Hans-Kristian Arntzen
4ac9ebd579 Vulkan: Allow configuring mip/wrap/filter for LUTs.
LUTs are feature complete with CGP now.
2016-07-31 16:16:47 +02:00
Hans-Kristian Arntzen
e846bd4955 Vulkan: Hook up preliminary support for mip/wrapping modes. 2016-07-31 15:42:57 +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
4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen
e57997bb82 Make image barriers hit the entire mipchain. 2016-07-31 13:05:07 +02:00
Hans-Kristian Arntzen
cbca9513ab Basic LUT work. 2016-07-31 13:01:31 +02:00
Hans-Kristian Arntzen
7813d40c9e Log if Vulkan debug layers are enabled. 2016-07-31 12:54:10 +02:00
Hans-Kristian Arntzen
f208bba41e Add USER semantic to match user textures. 2016-07-31 12:39:07 +02:00
Hans-Kristian Arntzen
d39a3619d6 Begin implementation of LUTs in Vulkan. 2016-07-31 12:26:14 +02:00
twinaphex
2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
Hans-Kristian Arntzen
f54b0c0ff0 Vulkan: Implement swap_interval > 1.
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen
8c1b935969 Vulkan: Implement BFI. 2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen
e35191765c Vulkan: Fix PassOutput.
Oddly enough it worked during testing, but turns out it was never set
:')
2016-07-23 23:39:57 +02:00
Hans-Kristian Arntzen
4b7cadbae7 Vulkan: Fix silly bug with alias handling. 2016-07-23 23:23:22 +02:00
Hans-Kristian Arntzen
2174f7d99b Vulkan: Fix wrong error handling for missing file.
Apparently 0/1 is returned instead of 0/-1.
2016-07-23 21:59:17 +02:00
twinaphex
d98fad0d98 Simplify free_drm_resources 2016-07-23 06:05:21 +02:00
twinaphex
22e35c553b (PS3) Fixes issues where content would sometimes not be able to
be loaded for some sporadic reason
2016-07-22 10:41:56 +02:00
twinaphex
4e68bc0b53 CXX_BUILD fix 2016-07-21 21:54:43 +02:00
sergiobenrocha2
69738f2b84 Add CPPFLAGS to Makefiles, fix hardening-no-fortify-functions. 2016-07-20 23:27:26 -03:00
twinaphex
a8de87576e (windows) Fixes drag and drop - we have to call this
function directly since the UI companion driver interface at
this point has not yet been initialized
2016-07-16 23:49:44 +02:00
twinaphex
c6e6e300b9 CLeanup 2016-07-16 23:16:30 +02:00
twinaphex
8b4dd98d4b (drag and drop) Try to make some code more understandable 2016-07-16 23:13:24 +02:00
twinaphex
8b29ad1fee Add early return in case this is NULL 2016-07-16 23:00:35 +02:00
twinaphex
f308997465 DragFinish releases memory allocations - so always call it at the end 2016-07-16 22:39:21 +02:00
twinaphex
6ac8b64e3d Put this around a HAVE_CG ifdef 2016-07-16 22:32:33 +02:00
twinaphex
ce6f3f955c Doubleclick on titlebar should no longer trigger button press
in RA window
2016-07-16 17:56:07 +02:00
twinaphex
616b9f7471 (Win32) Test 2016-07-16 17:44:21 +02:00
Alcaro
d7dbc45c6b That's a weird way to check versions. Won't even work for 7.0. 2016-07-16 16:51:28 +02:00
Twinaphex
1586214876 (OSX) Fix text title inside window 2016-07-16 15:01:06 +02:00
Hans-Kristian Arntzen
1e9e1fc885 Vulkan: Update SPIRV-Cross.
Fixes reflection issues which have been fixed in recent spirv-cross.
2016-07-15 22:12:57 +02:00
Hans-Kristian Arntzen
8569028189 Vulkan: Use manual memory management for cached/incoherent devices. 2016-07-15 16:12:30 +00:00
Hans-Kristian Arntzen
f5bddd45e8 Vulkan: Don't query layout if we have optimal tiling. 2016-07-14 23:15:39 +02:00
twinaphex
d0818e6e62 Not sure if/when we will be needing this 'ancient' codepath 2016-07-12 21:10:49 +02:00
twinaphex
b580599710 (X11) Fix 'quit' button not working 2016-07-09 12:09:39 +02:00
amspady20
9adc8e34c0 Update xegl_ctx.c
Fixed include statment for frontend_driver.h
2016-07-08 12:30:53 -04:00
twinaphex
c66ada4e90 (FBDev) Cleanups 2016-07-08 14:43:13 +02:00
twinaphex
e1a5379886 (FBDev) Cleanups/unifications 2016-07-08 14:29:16 +02:00
twinaphex
bddd93bcaa (EGL) Don't use g_egl_quit and egl_install_sighandler 2016-07-08 12:58:06 +02:00
twinaphex
d953be6397 (Wayland) Use signal handler code from frontend driver 2016-07-08 12:52:46 +02:00
twinaphex
8d5f34eeb9 Move signal handler code to frontend driver interface 2016-07-08 02:43:55 +02:00
twinaphex
76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
Hans-Kristian Arntzen
cd4ff2eac8 Move KHR_display backend behind configure flag.
Enabled by default since it is technically not platform specific.
2016-07-07 22:05:57 +02:00
Alcaro
4b75304d15 You missed a spot, maister 2016-07-07 21:03:30 +02:00
Hans-Kristian Arntzen
df7870c2ea Vulkan: Don't use sighandling on Win32 in khr_display.
Lots of the embedded backends do signal-handling like this
which is kinda awkward. This should be moved to frontend runloop or
something similar.
2016-07-07 20:34:42 +02:00
Hans-Kristian Arntzen
c561d8c4e6 Install sighandler for khr_display backend. 2016-07-07 19:32:09 +02:00
Hans-Kristian Arntzen
d382e1069e Basic VK_KHR_display integration works! :) 2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen
471d06d133 Fix Wayland refresh rate logging. 2016-07-06 23:22:13 +02:00
Hans-Kristian Arntzen
d2fafc5451 Sketch out vulkan_create_display_surface. 2016-07-06 20:27:39 +02:00
Hans-Kristian Arntzen
e9046dd06f Begin implementing VK_KHR_display. 2016-07-06 19:37:47 +02:00
twinaphex
0346cf70d5 Seems to come from here - add license text to it -
1ec3c44bdd/tree/tests/util/format.c
2016-07-04 15:05:50 +02:00
twinaphex
5d70242dee Check against libdrm version 2.4.68 in order to enable/disable
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex
54e137d9f7 Cleanups 2016-07-03 10:47:09 +02:00
twinaphex
fe1dc51889 Add missing file 2016-07-03 10:44:53 +02:00
twinaphex
a8bba31429 Cleanups 2016-07-03 10:44:34 +02:00
twinaphex
d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
twinaphex
9fab75c4b5 Cleanups; 80-char width limit 2016-06-30 07:40:25 +02:00
twinaphex
acd68519de Create MSG_FRAMES 2016-06-30 05:41:53 +02:00
twinaphex
668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex
1226c71b98 Use fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex
f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
Nathan S
d79da7fc1f (gl_raster_font) Fixed the viewport issue 2016-06-29 14:22:30 +02:00
twinaphex
3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex
2a9bf91e0d Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE 2016-06-29 02:40:05 +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
twinaphex
481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
twinaphex
a24d43c8fd Add GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES display flag 2016-06-27 23:43:57 +02:00
Hans-Kristian Arntzen
c80127d29d Vulkan: Hook up async compute test more properly.
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
4abb0ef331 Vulkan: Cache destroy device callback. 2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
6841b5ad00 Vulkan: Keep dylib around if caching instance. 2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
twinaphex
f5bfbdeebe Rewrite strcpy usage 2016-06-27 08:09:34 +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
1da2e2dbab Vulkan: Hook up negotiation interface device creation. 2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen
10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
Hans-Kristian Arntzen
b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen
972a5db7ae Vulkan: Fix shader module leak. 2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen
de36f572d1 Vulkan: Fix more validation issues. 2016-06-25 14:01:10 +02:00
Hans-Kristian Arntzen
07880e3f45 Vulkan: Begin hooking up validation layers.
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen
d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
Hans-Kristian Arntzen
82c7aa0e6f Use max swapchain image setting when creating swapchain. 2016-06-25 09:52:46 +02:00
twinaphex
49e8baa61d Use tmp_str variable for config_get_path usage 2016-06-25 07:17:48 +02:00
twinaphex
b434f0863a CXX_BUILD buildfix 2016-06-23 07:44:56 +02:00
Twinaphex
1e91689919 (iOS) Fix FPS reporting 2016-06-22 17:42:32 +02:00
twinaphex
8a8fadc5b2 Implement max swapchain images setting, implement it first for DRM/KMS context 2016-06-21 21:36:58 +02:00