1023 Commits

Author SHA1 Message Date
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
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
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
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
twinaphex
bcfb80072c (XDK) Remove this - would have to be reimplemented 2016-12-07 07:02:41 +01:00
twinaphex
de94f77629 (XDK) Buildfixes 2006-05-14 14:02:54 +02:00
twinaphex
2b262c6b32 (render_chain_xdk.cpp) Add d3d.h include 2016-12-07 06:48:04 +01:00
twinaphex
ec676e3e62 Add header include 2016-12-07 06:46:15 +01:00
twinaphex
ccacfcda60 (render_chain_xdk.cpp) Add header include 2016-12-07 06:34:22 +01:00
twinaphex
e0c3626791 Turn this into _XBOX360 ifdef 2016-12-07 06:32:05 +01:00
twinaphex
28fa2a240a (XDK) Buildfixes 2006-05-14 13:36:54 +02:00
twinaphex
53ca2f0a53 Add runloop.h include 2016-12-07 06:22:57 +01:00
Brad Parker
32a3026654 enable standard derivatives extension for GLES, adds support for complex XMB ribbon 2016-12-06 21:04:12 -05:00
Brad Parker
12294c96aa check for high precision floats on GLES, then enable if supported 2016-12-06 21:04:12 -05:00
Brad Parker
f90ab6e189 default to highp precision for GLES 2016-12-06 21:04:12 -05:00
twinaphex
d3db3a7ec4 (Vulkan) Add pipeline simple snow 2016-12-06 00:51:48 +01:00
twinaphex
9f470c53ae Add 'Simple Snow' shader to GLSL backend 2016-12-06 00:48:36 +01:00
Hans-Kristian Arntzen
eb7870db5a Vulkan: Check for more cases in vulkan_load_texture().
*Sigh*
2016-12-03 18:54:34 +01:00
Hans-Kristian Arntzen
b96f1fa067 Vulkan: Load a dummy texture if needed. 2016-12-03 17:48:48 +01:00
Brad Parker
e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Brad Parker
ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
Brad Parker
cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
twinaphex
d57d672d15 Remove unused variable 2016-11-28 02:25:38 +01:00
twinaphex
cd0bf8f31a Prefer to use strlcpy instead of strcpy 2016-11-26 17:11:30 +01:00
Lioncash
d34202aea6 vulkan: Move vk_t pointer dereferences after the null check 2016-11-25 23:21:31 -05:00
Lioncash
918710cb2e drm_gfx: Fix typo in log message 2016-11-25 12:19:09 -05:00
Lioncash
bc28d46bbb drm_gfx: Fix memory leak in fail case 2016-11-25 12:17:53 -05:00
aliaspider
e2f7145112 (WiiU) video driver: set the correct monitor refresh rate on init.
- add a performance counter.
2016-11-22 22:47:06 +01:00
FIX94
8a62d5ea96 (WiiU) massive changes in the audio driver, this should hopefully work better
(WiiU) making sure the menu is properly drawn before swapping buffers, fixes visible menu drawing lines
2016-11-21 03:18:48 +01:00
twinaphex
5fc1b0c88e Remove obsolete font_driver_has_render_msg 2016-11-20 17:51:16 +01: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
dd0a8d1778 Turn video_shader_driver_set_parameters into macro 2016-11-20 16:40:08 +01:00
twinaphex
2deb306967 Turn video_shader_driver_use into macro 2016-11-20 16:31:45 +01:00
Jean-André Santoni
d4296b016f Make shader names consistent, step 5 2016-11-19 00:30:56 +01:00
Jean-André Santoni
9c83658368 Make shader names consistent, step 4 2016-11-19 00:29:13 +01:00