twinaphex
f067ecce50
(video_driver.c) Cleanups
2016-12-27 14:48:04 +01:00
Logan McNaughton
f45a75fa98
Use RGBA for internal format
2016-12-26 13:00:38 -07:00
hunterk
5ec5b199f6
less invasive revert for blue/red swap
2016-12-25 20:22:28 -06:00
twinaphex
bb4888ae22
Be more careful with allocations
2016-12-25 01:52:40 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913cf2876d2bffd4bedf0284b23f1ed593.
2016-12-22 23:36:11 +01:00
twinaphex
b07fd17258
Revert "Initialize message queue first"
...
This reverts commit b0c97e901f1a9f976f608b84c32eed42b7f6dc24.
2016-12-22 23:34:21 +01:00
Brad Parker
42307a322a
missing ../
2016-12-22 11:25:49 -05:00
twinaphex
b0c97e901f
Initialize message queue first
2016-12-22 14:31:19 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
5d6067159c
gl_common.c - config.h include
2016-12-21 16:09:29 +01:00
twinaphex
19810233fa
Comment this out for PSGL
2016-12-21 16:06:42 +01:00
twinaphex
9dd7d7804e
Turn size_format into gl_size_format, and add a FIXME note
2016-12-21 15:47:38 +01:00
twinaphex
58716e5f3c
Silence some Coverity warnings
2016-12-21 01:34:28 +01:00
Twinaphex
d23beed9bb
Merge pull request #4288 from Themaister/master
...
Vulkan: Fix menu shader parameters for slangp.
2016-12-21 00:20:06 +01:00
Logan McNaughton
21779c87b8
Missed one of the texture formats
2016-12-20 10:10:23 -07:00
Logan McNaughton
3392f3996b
Fix up some texture format code
2016-12-20 08:57:13 -08:00
Hans-Kristian Arntzen
4e9fe4bd54
Vulkan: Fix menu shader parameters for slangp.
...
video_shader_resolve_parameters did not take #includes into account
while the Vulkan implementation did. Added a helper function which
parses a shader file and figures out the shader parameters in the same
way.
2016-12-20 15:58:37 +01:00
twinaphex
5ca7344436
Get rid of more implicit memsets
2016-12-19 19:17:23 +01:00
twinaphex
31b87594aa
Get rid of some implicit memsets for state tracker
2016-12-19 19:08:37 +01:00
Hans-Kristian Arntzen
c48bb6284e
Wayland: Cursor toggling.
2016-12-17 21:34:51 +01:00
Hans-Kristian Arntzen
313ac63c33
Make use of xkb_state_update_mask.
...
Fixes mod keys in Wayland it seems.
2016-12-17 20:42:48 +01:00
Hans-Kristian Arntzen
b2059dcb79
Implement basic Wayland keyboard and mouse.
2016-12-17 20:28:08 +01:00
twinaphex
feae0823ce
Prevent some implicit memsets
2016-12-17 14:40:06 +01:00
twinaphex
96ffd8e025
Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
...
This reverts commit 4103b70833bacdd6fdd5af697bff92b996cd4f1c.
2016-12-17 12:55:38 +01:00
Twinaphex
accf137020
Merge pull request #4260 from Themaister/master
...
Vulkan: Fix VSync toggling on Windows.
2016-12-17 12:23:15 +01:00
twinaphex
4103b70833
Remove HAVE_COMPRESSION ifdefs in file_path.c
2016-12-17 12:20:49 +01:00
Hans-Kristian Arntzen
4c99809cde
Vulkan: Fix VSync toggling on Windows.
...
Retarded bug, but haven't actually had access to a Windows machine until
now.
2016-12-17 12:06:43 +01:00
Twinaphex
b48d896c1e
Merge pull request #4249 from joolswills/mali_fbdev_ctx_warning
...
added stdlib.h - fixes warning with free / system
2016-12-15 20:01:18 +01:00
Jools Wills
4153785130
added stdlib.h - fixes warning with free / system
2016-12-15 18:59:20 +00:00
twinaphex
a5d4032d01
(X11) Cleanups
2016-12-15 12:37:14 +01:00
twinaphex
97c9eab9ba
(menu_displaylist.c) Indenting breaks syntax formatting for vim
2016-12-15 08:36:28 +01:00
twinaphex
6807ef007b
(gl_common.c) Cleanups
2016-12-14 19:29:14 +01:00
Logan McNaughton
fc4c7529a1
Fix internal formats used with texture creation
2016-12-14 09:54:55 -08:00
twinaphex
f9b019c83a
Rename loadTexture to gl_load_texture_image
2016-12-14 16:59:16 +01:00
Logan McNaughton
8cd2566128
Simplify glTexImage2D/glTexStorage2D calls
...
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
twinaphex
6a45541f24
(Vulkan) Rename pipeline files
2016-12-12 13:17:20 +01:00
twinaphex
8042c2ac62
Move config_file_userdata.c to libretro-common
2016-12-12 12:36:46 +01:00
twinaphex
a94b15ac86
(Vulkan) Add pipeline snow simple shader
2016-12-12 05:21:38 +01:00
Arzed Five
18392a5e40
(XMB VK snow) Attempt to fix the Vulkan snow menu shader
2016-12-12 03:46:26 +00:00
twinaphex
c0caae124e
Prevent warning
2016-12-11 22:11:03 +01:00
Brad Parker
7c176c3d14
replace simple snow with fancy snow code with different parameters
2016-12-11 13:00:12 -05:00
aliaspider
5cf8391c5a
replace the glsl snow shader with a more lightweight version.
...
(gpu usage is approximately 25% compared to the original.)
2016-12-11 15:52:32 +01:00
barbudreadmon
ad273d6299
Fix for issue #4165
...
vulkan video driver don't rotate the same way as gl video driver without this.
2016-12-11 10:53:02 +01:00
twinaphex
a210e4f6fe
(PS3) Some build fixes
2016-12-10 09:39:07 +01:00
twinaphex
1b29d41661
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:30:14 +01:00
twinaphex
be459a6281
Cleanups
2016-12-10 07:28:08 +01:00
twinaphex
aa5730dbc9
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:26:50 +01:00
Brad Parker
1f39426195
only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected
2016-12-09 19:32:55 -05:00
Logan McNaughton
1d69baca82
Use glTexStorage2D for FBO textures
2016-12-08 21:14:10 -07:00
Logan McNaughton
b275b2e113
Use RGBA8 for FBO texture internal format on GLES3
...
GLES3 supports GL_RGBA8 as an internal format for textures.
Using the sized format (RGBA8 instead of RGBA) allows more flexibility. In my case I am trying to use glCopyImageSubData and it only works on textures with sized internal formats.
2016-12-07 11:22:24 -07:00