Commit Graph

5377 Commits

Author SHA1 Message Date
twinaphex
1b84895ba0 (GL) Cleanup gl_check_fbo_dimensions 2016-05-05 01:42:08 +02:00
twinaphex
d4a322add3 Cleanups 2016-05-05 01:33:54 +02:00
twinaphex
0ad0763413 gl_read_viewport - cleanup 2016-05-05 01:32:35 +02:00
twinaphex
7feac862db (GL) Cleanups 2016-05-05 01:29:52 +02:00
twinaphex
9465a00d4b Create video_frame_convert_rgba_to_bgr 2016-05-04 18:44:39 +02:00
twinaphex
2e20e4bbdb Add header 2016-05-04 17:13:25 +02:00
twinaphex
b8e140d6c4 (record_ffmpeg.c) Move scaler code to gfx/video_frame.h 2016-05-04 17:11:22 +02:00
twinaphex
bfcc89f580 (SDL) Use video_frame_scale 2016-05-04 16:56:16 +02:00
twinaphex
7b2a2f2336 Create video_frame_scale 2016-05-04 16:44:38 +02:00
twinaphex
2c3ca6efed Move convert frame function to gfx/video_frame.h 2016-05-04 16:34:13 +02:00
twinaphex
bf53a939da Create gfx/video_frame.h 2016-05-04 16:32:24 +02:00
twinaphex
83584c84f8 (sdl_gfx.c) Style nit 2016-05-04 04:45:46 +02:00
twinaphex
66b6129e98 Cleanups 2016-05-04 04:43:24 +02:00
twinaphex
3ba02a3786 Cleanups 2016-05-04 04:34:05 +02:00
twinaphex
a393d9a75b Cleanups 2016-05-04 04:22:41 +02:00
Twinaphex
51565e6336 (iOS) Avoid some analyze warnings 2016-05-04 04:10:33 +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
53fc458795 (Cocoa) Store idiom type inside unsigned variable 2016-05-02 14:53:23 +02:00
Twinaphex
fab90f4b96 (iOS) Avoid warning for unhandled CarPlay enum value 2016-05-02 01:55:02 +02:00
twinaphex
61d6fb57e6 Buildfixes 2016-04-28 20:55:26 +02:00
twinaphex
895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex
65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex
ba415b6d3a Silence warnings 2016-04-27 23:07:36 +02:00
Twinaphex
e69c43f2a8 C89_BUILD fixes 2016-04-27 23:03:49 +02:00
twinaphex
15a30dae70 CLeanups 2016-04-27 14:29:28 +02:00
twinaphex
b4f4720f51 (Cg) Update Cg simple ribbon courtesy of teepee 2016-04-26 22:11:58 +02:00
twinaphex
7c4df601f8 (Cg) Call gl_cg_set_program_base_attrib for XMB pipeline shaders 2016-04-26 09:16:25 +02:00
Torsten Paul
fdd6d26d85 Add uniform lookup for menu shaders.
This fixes the mix-up of parameter assignments for the XMB ribbon shader
which was caused by all 4 uniform locations set to 0.
2016-04-26 00:08:24 +02:00
twinaphex
54c0ca4bf5 C89_BUILD fixes 2016-04-25 13:45:53 +02:00
twinaphex
a83e6b3405 (Cg) Cleanups 2016-04-25 13:02:05 +02:00
twinaphex
0a3ca14fde (Cg) Rename cg_data to cg 2016-04-25 12:51:01 +02:00
twinaphex
43943fe794 (Cg) Cleanups 2016-04-25 12:33:38 +02:00
twinaphex
d4184df592 (Cg) Call gl_cg_reset_attribs before initializing Cg shader backend 2016-04-25 12:22:55 +02:00
twinaphex
01a9185a2d (Cg) Cleanups 2016-04-25 12:07:23 +02:00
twinaphex
9ff8a3c8e2 (Cg) Cleanups 2016-04-25 11:59:46 +02:00
twinaphex
242e579b89 (Cg/GLSL) Name some variables the same 2016-04-25 10:15:57 +02:00
twinaphex
8cb66dd021 Add way to switch back and forth between shader pipeline 2016-04-24 22:03:39 +02:00
twinaphex
b00202a83d (GLES2) Use XMB ribbon simple shader for GLES2 2016-04-24 20:29:42 +02:00
twinaphex
d7b3e9cc8f Add old shader versions of XMB ribbon 2016-04-24 20:25:56 +02:00
twinaphex
a34ce90940 (d3d_common.cpp) Include d3dx9tex.h instead 2016-04-23 19:09:15 +02:00
twinaphex
6083f850aa (D3D) Buildfix 2016-04-23 19:04:19 +02:00
twinaphex
cc7f661f9c (D3D) Buildfixes 2016-04-23 19:02:40 +02:00
Twinaphex
493b6850a5 Use include dir d3d/cg files 2016-04-23 18:19:35 +02:00
twinaphex
33cf9ce023 Add more d3dx9 header files 2016-04-23 18:17:28 +02:00
twinaphex
161b19cb73 Add gfx/include/d3d9 2016-04-23 18:11:22 +02:00
twinaphex
d94a0a912c (D3D) Cleanups 2016-04-23 14:17:55 +02:00
twinaphex
7242d8dcf7 Revert "(D3D) Cleanups"
This reverts commit 64559154cf.
2016-04-23 11:34:30 +02:00
twinaphex
64559154cf (D3D) Cleanups 2016-04-23 11:21:38 +02:00
twinaphex
3902a6715a (D3D) Buildfix 2016-04-23 10:22:23 +02:00
twinaphex
38bc378c4d (D3D) Some buildfixes 2016-04-23 10:18:46 +02:00
twinaphex
61a71e91e0 (D3D common) Add C versions of functions 2016-04-23 09:26:38 +02:00
Twinaphex
5a0d656a47 (XMB) Rename noise2 to xmb_noise2 - fixes shader compilation
on OSX
2016-04-23 05:21:40 +02:00
Jean-André Santoni
422c6d8984 (XMB) Ribbon lighting + readability tweaks 2016-04-23 05:24:44 +07:00
twinaphex
ce077533c2 (GLSL) Increase attrib array size 2016-04-22 15:22:27 +02:00
twinaphex
99246ae3e8 (Cg) Cleanup 2016-04-22 14:37:11 +02:00
twinaphex
63f0e998db (Cg) Code deduplication cleanups 2016-04-22 14:05:45 +02:00
twinaphex
4250161327 (GLSL/Cg) Simplify some variables 2016-04-22 14:00:30 +02:00
twinaphex
f3f6e6ff70 (Cg) Make cg_attribs bigger - would lead to overflows when sending
XMB ribbon to it
2016-04-22 13:27:50 +02:00
twinaphex
d9ddb92a90 (egl_common.c) Silence warning 2016-04-22 07:56:32 +02:00
twinaphex
1bbc2f09b5 (courtesy of teepee) Rewrite the ribbon code to use the coordinate
array
2016-04-19 23:00:55 +02:00
Twinaphex
9d0047798d Merge pull request #2874 from aliaspider/master
(3DS) gfx driver: improvements / fixes.
2016-04-18 18:10:40 +02:00
aliaspider
0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider
4f54025a50 (3DS) 3D slider display mode selection tweaks. 2016-04-18 15:55:34 +01:00
aliaspider
0f8895bcc3 (3DS) the parallax layer register can be written to from userland with
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
twinaphex
2d69615f1d Add some compatibility defines for XMB ribbon pipeline shader 2016-04-18 03:56:08 +02:00
twinaphex
faa3e3557c Exclude SDL for C89_BUILD 2016-04-18 03:23:47 +02:00
twinaphex
38cc90d0e0 (XMB) Refactor ribbon 2016-04-18 01:52:16 +02:00
Twinaphex
25c2acb98d Merge pull request #2873 from lakkatv/master
(XMB) Fix the ribbon with GLES
2016-04-17 21:58:57 +02:00
Jean-André Santoni
8e4934edae (XMB) Fix the ribbon with GLES 2016-04-18 02:50:48 +07:00
Twinaphex
1b111feb9e Merge pull request #2872 from aliaspider/master
(3DS) add more display modes for the top screen that can be controlled by the 3D slider.
2016-04-17 21:16:07 +02:00
aliaspider
4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
Twinaphex
287fa45e73 Merge pull request #2871 from lakkatv/master
(XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers
2016-04-17 20:11:29 +02:00
Jean-André Santoni
0410d7a59e (XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers 2016-04-18 01:05:27 +07:00
twinaphex
7b3b4de3b9 Ribbon GLSL fragment shader - remove this unused line 2016-04-17 18:25:25 +02:00
twinaphex
ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
aliaspider
1465cf1ffc (3DS) allow setting a start offset in the texture 2016-04-17 15:30:44 +01:00
twinaphex
05f2153549 Change uniform_info's uniform type to unsigned 2016-04-17 16:07:32 +02:00
aliaspider
a609a748db (3DS) move shaders to a subdirectory. 2016-04-17 13:27:55 +01:00
aliaspider
27fc306b19 (3DS) refactor shaders. 2016-04-17 13:23:56 +01:00
Twinaphex
66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +02:00
Twinaphex
c8d97d05e7 (shader_glsl.c) Fix warnings 2016-04-17 07:45:37 +02:00
twinaphex
ef835f93d5 Change function signature for set_coords 2016-04-17 07:12:48 +02:00
twinaphex
71df73e640 (video_shader_driver.h) Cleanup 2016-04-17 06:17:23 +02:00
twinaphex
58f145282e (XMB) Set uniform to vertex program and add 'add_prefix' to uniform_info struct 2016-04-17 06:11:48 +02:00
twinaphex
6579b5f3c8 Add XMB shader compilation to shader_gl_cg.c 2016-04-17 05:52:26 +02:00
twinaphex
30ade96fc0 Add Cg conversions of XMB ribbon/Zahnrad 2016-04-17 05:48:06 +02:00
twinaphex
641a37ce06 Change some function parameters for gl_ff_matrix/gl_ff_vertex 2016-04-17 05:00:42 +02:00
twinaphex
46b2100132 gl_cg_set_mvp - cleanup 2016-04-17 04:55:58 +02:00
twinaphex
07d28091a2 (GLSL) CLeanups 2016-04-17 04:52:13 +02:00
twinaphex
19367da0ae (GLSL) Cleanups 2016-04-17 04:37:38 +02:00
twinaphex
9386fb2fa0 Move D3D9 HLSL font shader to file 2016-04-17 04:13:23 +02:00
twinaphex
e7ab158a3b (Cg) Refactor/cleanups 2016-04-17 03:56:20 +02:00
twinaphex
ade309d1f1 (D3D Cg) Cleanups 2016-04-17 03:51:24 +02:00
twinaphex
b3220cf53e Move zahnrad shaders to separate files 2016-04-17 02:36:07 +02:00
Twinaphex
8616b21e1f Merge pull request #2869 from aliaspider/master
(3DS) change shader format/assembler
2016-04-17 00:18:00 +02:00
twinaphex
e9d16655f0 Create d3d_shaders 2016-04-17 00:16:32 +02:00
twinaphex
02e0be55a8 Move GL stock shader to gfx/drivers/gl_shaders 2016-04-17 00:11:52 +02:00
twinaphex
f0f60901ff Move all shader files to header files (gfx/drivers/gl_shaders) 2016-04-17 00:08:45 +02:00
twinaphex
8b6abde2f9 Start moving GL shaders to gfx/drivers/gl_shaders 2016-04-16 23:57:37 +02:00
aliaspider
ad0d73d8f0 (3DS) refactor shaders. simplify texture combiner usage. 2016-04-16 22:38:13 +01:00
aliaspider
c370afd861 (3DS) start porting shaders to the picasso format. 2016-04-16 20:26:05 +01:00
twinaphex
d8de78231b Add SHADER_CTL_SET_PARAMETER 2016-04-16 21:04:13 +02:00
twinaphex
5d6b4d0a56 (GLSL) Refactor more code 2016-04-16 20:41:52 +02:00
twinaphex
3b5c4d963a (shader_glsl.c) Lessen calls to glGetUniformLocation 2016-04-16 20:39:57 +02:00
twinaphex
a99dcaa929 (Cg) Get rid of pragma_cg_params 2016-04-16 20:35:08 +02:00
twinaphex
6d7dab2e66 (Cg) Fix Cg named parameter lookup 2016-04-16 20:32:45 +02:00
twinaphex
0b4ae30f6b Fix erroneous loop variable passing 2016-04-16 20:23:55 +02:00
twinaphex
7f9249830a set_uniform_parameter - implement parameter lookup properly 2016-04-16 20:06:18 +02:00
twinaphex
4e63113f72 Cleanups 2016-04-16 19:50:23 +02:00
twinaphex
d562bf38cb Cleanups 2016-04-16 19:44:44 +02:00
twinaphex
0b7ee2fcf7 Change callback prototype 2016-04-16 19:41:48 +02:00
twinaphex
1230edf1ee Add callback for setting single uniform parameter 2016-04-16 19:38:35 +02:00
twinaphex
ae218cf1a5 Expand uniform_set_parameter functions 2016-04-16 19:29:45 +02:00
twinaphex
ad627701da (XMB) Cleanups 2016-04-16 17:57:51 +02:00
twinaphex
f45d2db0b1 Change function signature of uniform_set_parameter 2016-04-16 07:39:41 +02:00
Twinaphex
ae561de0c8 (Griffin) Buildfixes 2016-04-16 07:32:39 +02:00
Twinaphex
5bba5813cf Cleanups - remove unused variables 2016-04-16 07:27:47 +02:00
twinaphex
87e8c28749 Favoritize GLSL as default shader type when available 2016-04-16 07:24:22 +02:00
twinaphex
92faefbccc (GL) Cleanups - gl_set_shader 2016-04-16 07:19:21 +02:00
twinaphex
dfe723c727 gl_shader_init - cleanup 2016-04-16 07:16:32 +02:00
twinaphex
4e041ff3d0 (GL) gl_shader_init - Cleanups 2016-04-16 05:36:09 +02:00
twinaphex
1dfb29ddaf Add video_shader_set_backend 2016-04-16 05:20:41 +02:00
twinaphex
7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +02:00
twinaphex
1f7e6690e3 compile_program - if 'program' is NULL, then try to set program
to built-in shader program slot
2016-04-16 04:58:03 +02:00
twinaphex
86cb092b02 Add SHADER_CTL_COMPILE_PROGRAM 2016-04-16 04:56:15 +02:00
twinaphex
79ef0268e5 (Cg) Cleanups 2016-04-16 04:34:32 +02:00
twinaphex
1439b38b20 (Cg shader) Cleanups 2016-04-16 04:31:24 +02:00
twinaphex
2479699131 Cleanups 2016-04-16 01:51:46 +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
twinaphex
0f65518118 Add set_active to 'use' function callback for shader driver 2016-04-15 05:08:03 +02:00
twinaphex
934681614f Cleanup 2016-04-15 05:01:32 +02:00
twinaphex
6a39d504e0 Change signature of uniform_set_parameters 2016-04-14 06:24:36 +02:00
twinaphex
7cd10fd707 Start creating stub hlsl_uniform_set_parameter 2016-04-14 03:52:29 +02:00
twinaphex
f418c7fde1 Cleanups 2016-04-14 03:41:53 +02:00
twinaphex
b9bb75c193 (HLSL) Refactor hlsl_compile_program 2016-04-14 03:38:45 +02:00
twinaphex
e61e617e80 (HLSL) Cleanups 2016-04-14 03:20:19 +02:00
twinaphex
a2acb0e6f0 Cleanups 2016-04-14 03:16:24 +02:00
twinaphex
c6292a38f5 Cleanups 2016-04-14 03:11:13 +02:00
twinaphex
8701af084a (HLSL) Cleanups 2016-04-14 03:09:15 +02:00
twinaphex
5cc1b85f70 (HLSL) Cleanups 2016-04-14 03:06:59 +02:00
twinaphex
930b854272 Refactor compile_programs functions 2016-04-14 01:53:23 +02:00
twinaphex
5f98068e7d Add shader_program_data 2016-04-14 01:33:43 +02:00
twinaphex
90018dbbe0 (Cg) Cleanups 2016-04-14 01:18:27 +02:00
twinaphex
0093e0cbf9 (Cg) Fix state tracker params too 2016-04-14 01:15:16 +02:00
twinaphex
74be1f5906 (Cg) Should fix pragma parameters 2016-04-14 01:12:14 +02:00
twinaphex
511fbcda93 (Shaders) Refactor shader program compiling code 2016-04-13 20:14:25 +02:00
twinaphex
1e9aed1683 Create struct shader_program_info 2016-04-13 20:06:43 +02:00
twinaphex
f28c0475b5 (Shaders) Refactors 2016-04-13 19:58:40 +02:00
twinaphex
29495d4973 (Shaders) Cleanups 2016-04-13 19:27:04 +02:00
twinaphex
7321a9431b Cleanup 2016-04-13 18:24:31 +02:00
twinaphex
b63a3f8fcc (GLSL) CLeanups 2016-04-13 06:52:36 +02:00
twinaphex
f2e3789c8e (GLSL) Update 2016-04-13 06:40:59 +02:00
twinaphex
45d4718406 (GLSL) Refactor/cleanup 2016-04-13 06:40:40 +02:00
twinaphex
f7c0225e1a (GLSL) More cleanups 2016-04-13 06:30:00 +02:00
twinaphex
015c166b1d (GLSL) Cleanups 2016-04-13 06:25:49 +02:00
twinaphex
9218d57b9d (GLSL) Cleanups 2016-04-13 06:18:53 +02:00
twinaphex
53dad5bc73 (GLSL) Cleanups 2016-04-13 06:04:29 +02:00
twinaphex
edcf3fd1ee Cleanups 2016-04-13 05:11:22 +02:00
twinaphex
49e43dd085 (GLSL) Cleanup 2016-04-13 05:06:24 +02:00
twinaphex
ea824bdee1 Start implementing glsl_uniform_set_parameter 2016-04-13 04:44:08 +02:00
twinaphex
bf39033bc3 Add 'enabled' attribute to uniform_params 2016-04-13 04:21:17 +02:00
twinaphex
c3f77efb2c Prepare new GLSL uniform code 2016-04-13 04:16:49 +02:00
twinaphex
c5e4c90e88 (Cg) Flesh out uniform switch 2016-04-13 02:54:01 +02:00
twinaphex
960783987d (GLSL) Rename gl_uniforms and glsl_vbo 2016-04-13 02:36:00 +02:00
twinaphex
f68d98a6a4 Move uniform info structs to video_shader_driver.h 2016-04-13 02:31:49 +02:00
twinaphex
928f4e9e65 (Cg) Cleanup 2016-04-13 01:46:29 +02:00
twinaphex
df90f233a4 (GL Cg) Refactor uniform param code 2016-04-13 01:42:40 +02:00
twinaphex
5f0aa1852e This needs to be properly refactored later 2016-04-12 17:56:34 +02:00
Jean-André Santoni
64e2f9e2f0 (XMB) Subtler drop shadows 2016-04-09 13:23:59 +07:00
twinaphex
15fa7f9cd1 GFX_CTL_CHECK_WINDOW - prevent null pointer dereferences 2016-04-02 20:53:13 +02:00
Hans-Kristian Arntzen
406f084c4b Vulkan: Set g_inited in Windows. 2016-03-29 18:02:32 +02:00
Hans-Kristian Arntzen
e04bbfbae2 Vulkan: Add more logging ... 2016-03-29 17:57:13 +02:00
Hans-Kristian Arntzen
c7b96b75b8 Vulkan: Add more error logging. 2016-03-29 17:36:13 +02:00
Hans-Kristian Arntzen
38a305bb6e Vulkan: Add proc address query functions to HW interface.
Allows cores to avoid linking directly against any extra library.
Update HW interface version to 2 to signal ABI change.

Note that the interface is still experimental and can change at any time.
2016-03-29 16:35:31 +02:00
Hans-Kristian Arntzen
02736963bc Vulkan: Implement get_context_data callback in Win32.
Also fix some potential crashes with dinput handling.
2016-03-29 15:50:12 +02:00
Hans-Kristian Arntzen
8ade7fb274 Vulkan: Attempt Windows backend support.
Completely bind since I cannot test myself, but compiles.
2016-03-29 15:50:12 +02:00
Hans-Kristian Arntzen
87a5fd2e44 win32_set_style: Fix broken pointer-to-pointer.
This can't possibly have worked in any sensible way before ...
2016-03-29 15:36:08 +02:00
Hans-Kristian Arntzen
1ff4445ba0 Remove dead code with full_x/full_y.
Very confusing and no longer serves any purpose anyways.
2016-03-29 15:28:13 +02:00
Hans-Kristian Arntzen
8c2664e5fb Vulkan: Add explicit render target format support.
Supports all required formats in Vulkan 1.0 as well as GLES 3.x/GL 3.x
(for future).
2016-03-26 23:49:57 +01:00
Hans-Kristian Arntzen
236200ef63 Vulkan: Add format enum for various possible RT formats.
Include all formats which are required to be supported in Vulkan 1.0 and
GLES 3.x. Not all these formats are supported in GLES2, but that's up to
shaders to decide whether they want to support GLES2 or not.
2016-03-26 22:52:32 +01:00
Hans-Kristian Arntzen
82db5a4950 Vulkan: Use single UBO for all passes and sync indices.
Significantly reduces number of allocations.
2016-03-26 19:39:51 +01:00
Hans-Kristian Arntzen
200b88c3ca Vulkan: Add detection for non-causal filter chains. 2016-03-26 18:27:17 +01:00
Hans-Kristian Arntzen
b1bd0f7b7f Ignore known pragmas. 2016-03-26 18:07:59 +01:00
Hans-Kristian Arntzen
7d5eb2bc27 Vulkan: Add pass name handling.
Add #pragma name.
2016-03-26 18:00:09 +01:00
Hans-Kristian Arntzen
21c7ff99d1 Vulkan: Add semantic name remapping.
Will be useful for custom named passes.
2016-03-25 23:15:23 +01:00
Hans-Kristian Arntzen
3838b3c045 Vulkan: Add frame count suport. 2016-03-25 22:06:31 +01:00
Hans-Kristian Arntzen
b7b03c531a Vulkan: Use single VBO in filter chain.
No need to have two separate buffers here.
2016-03-25 19:23:58 +01:00
Hans-Kristian Arntzen
939bc70ac6 Vulkan: Properly resize and clear feedback textures. 2016-03-25 19:16:39 +01:00
Hans-Kristian Arntzen
ca62f342b0 Vulkan: Fix original history.
Verified to work now.
2016-03-25 18:50:49 +01:00
Hans-Kristian Arntzen
79f5e9ca98 Vulkan: Add logging about feedback/history. 2016-03-25 17:45:30 +01:00
Hans-Kristian Arntzen
92601a0fb8 Vulkan: Set arrayed semantic textures. 2016-03-25 17:39:24 +01:00
Hans-Kristian Arntzen
80df588cf0 Vulkan: Implement feedback/history. 2016-03-25 15:32:04 +01:00
Hans-Kristian Arntzen
e35e0e0f23 Vulkan: Nits. 2016-03-25 14:53:47 +01:00
Hans-Kristian Arntzen
83ab0d799f Vulkan: Begin implementing history and feedback. 2016-03-25 14:51:37 +01:00
Hans-Kristian Arntzen
4f3ade1b95 Vulkan: Begin sketching out support for complete filter chain. 2016-03-25 13:26:36 +01:00
twinaphex
1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex
e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex
870bce981d (gl.c) Indenting nits 2016-03-24 03:32:00 +01:00
twinaphex
60681195f8 Fix some concurrency bugs 2016-03-24 03:06:03 +01:00
twinaphex
072d6ff125 Rename gfx_coord_array_add to gfx_coord_array_append 2016-03-23 07:01:54 +01:00
twinaphex
e1c47a68fe Take prototype declaration out of video_driver.h 2016-03-23 06:57:29 +01:00
Hans-Kristian Arntzen
ce34c4bba8 Vulkan: Expose number of components for semantics. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen
d5dc50c436 Vulkan: Allow no UBO even if it makes little sense. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen
c17755ab1a Vulkan: Default construct slang_reflection instead.
We will use non-POD when dealing with user-defined inputs.
2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen
2427351afb Vulkan: Log semantic use for debugging. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen
39149b36b2 Vulkan: Clean up semantic parsing a lot.
Split up into two kinds of semantics, textured and not.
2016-03-23 00:19:24 +01:00
twinaphex
61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex
ca63357b54 (X11) Do not keep appending to suspend screensaver if not available 2016-03-21 19:12:16 +01:00
twinaphex
c8f4d97839 Move config_file_userdata outside libretro-common 2016-03-21 18:49:50 +01:00
Hans-Kristian Arntzen
f1a5725f66 Vulkan: Host writes are implicitly flushed on submit.
Use TOP_OF_PIPE/0 access instead to work
around spammy asserts on Anvil.

We still have to invalidate the caches however.
2016-03-21 16:57:04 +01:00
Hans-Kristian Arntzen
6add83e3ec Vulkan: Use reflection output for source/original.
Fix some logging messages in reflection.
2016-03-21 16:18:43 +01:00
Hans-Kristian Arntzen
dce96d0869 Vulkan: Find OutputSize semantic uniform as well. 2016-03-21 15:31:01 +01:00
Hans-Kristian Arntzen
1822f3bf90 Vulkan: Begin hooking up SPIR-V reflection. 2016-03-21 15:12:12 +01:00
Hans-Kristian Arntzen
72cdd37ad2 Vulkan: Add #include support to slang shaders. 2016-03-21 12:14:11 +01:00
Hans-Kristian Arntzen
5dcb78ea21 Vulkan: Include spir2cross in shader_vulkan.cpp. 2016-03-21 11:56:09 +01:00
Hans-Kristian Arntzen
7899d449e6 Vulkan: Also invalidate fragment uniform buffer 2016-03-21 11:49:27 +01:00
Hans-Kristian Arntzen
840278796e Vulkan: Refactor out common resources in filter chain. 2016-03-21 11:45:59 +01:00
Hans-Kristian Arntzen
a21687b5d7 Vulkan: Ensure vertex caches are invalidated. 2016-03-21 10:10:29 +01:00
Hans-Kristian Arntzen
fa7eeb57b8 Vulkan: Use 1.0.6.
1.0.2 is pre public release version I think ...
2016-03-21 10:03:15 +01:00
Hans-Kristian Arntzen
84923a0465 Vulkan: Tighten up pipeline barrier usage.
Lots of memory barriers used with TOP_OF_PIPE which is not valid.
2016-03-21 10:02:00 +01:00
Hans-Kristian Arntzen
07524fe433 Vulkan: Log about format use. 2016-03-21 09:29:41 +01:00
twinaphex
1164adb902 (gfx/video_coord_array.c) Cleanups 2016-03-20 17:46:53 +01:00
twinaphex
f59e334ceb Cleanups 2016-03-20 17:44:13 +01:00
twinaphex
5c0f4f4ac8 Cleanups 2016-03-20 17:41:28 +01:00
twinaphex
ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex
3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex
93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex
70bb4c69f3 CXX_BUILD - silence some warnings 2016-03-20 05:26:16 +01:00
twinaphex
8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00
twinaphex
34958ec39a (Vulkan) Don't use VK_API_VERSION any more 2016-03-20 03:04:52 +01:00
Alcaro
f8c31dd56a No point checking this twice. 2016-03-18 17:19:30 +01:00
Alcaro
ba90c4afaf Fix some use-after-free holes. 2016-03-18 17:18:45 +01:00
twinaphex
d8ebcde5ec Implement GFX_CTL_SHOW_MOUSE 2016-03-14 14:39:58 +01:00
twinaphex
2e080967b0 Reimplement grab mouse code a bit - we really need to drastically
rewrite this
2016-03-14 14:37:18 +01:00
Alwin Garside
36117750af Merge branch 'master' of https://github.com/libretro/RetroArch 2016-03-13 15:30:41 +01:00
Alwin Garside
97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
twinaphex
8467ce114c (Android) Followup to earlier commit 2016-03-12 08:53:27 +01:00
twinaphex
432d7a358a (Android) Move Android-specific Moto G2 DPI workaround to android graphics context
driver
2016-03-12 08:52:29 +01:00
Jean-André Santoni
0863a8eb84 Reorder static functions in vivante context 2016-03-12 04:29:26 +07:00
Jean-André Santoni
a16ce4a146 Fix a typo in mali_fbdev_ctx 2016-03-10 01:50:30 +07:00
twinaphex
f79418459f Ability to compile now with --enable-wayland and --disable-x11
defined
2016-03-09 09:21:07 +01:00
Hans-Kristian Arntzen
f02faeea27 Vulkan: Fix segfault on nVidia. 2016-03-06 12:33:46 +01:00
Hans-Kristian Arntzen
c00d32f30f Vulkan: Get correct window mode size. 2016-03-06 12:18:11 +01:00
Hans-Kristian Arntzen
6cde59a8ad Vulkan: Add more detailed counters. 2016-03-06 12:11:44 +01:00
Hans-Kristian Arntzen
e6fb3c3a1c Update Vulkan headers. 2016-03-06 11:31:30 +01:00
Hans-Kristian Arntzen
ebdb7168ed Vulkan: Clean up symbol loading.
Should use GetDeviceProcAddr when appropriate.
2016-03-06 11:27:36 +01:00
Twinaphex
e0d7c25ea0 Add gfx_coord_array_resize 2016-03-05 09:43:15 +01:00
twinaphex
eebcde721b Rename video_coord_array 2016-03-05 07:28:02 +01:00