bruvzg
e256f9d4e5
Add GL_ARB_framebuffer_object extension support check and GL_EXT_framebuffer_object fallback for GLES2 (updated GLAD bindings).
...
Add GL_ARB_debug_output extension support check on all platforms.
2018-03-05 20:49:47 +02:00
Marcelo Fernandez
d780d774aa
Clean and expose get_audio/video_driver_* funcs on OS class
2018-03-04 14:18:05 -03:00
Rémi Verschelde
3bab5477ff
Merge pull request #17173 from karroffel/gles2-line-rendering-fix
...
fix GLES2 line rendering
2018-03-02 13:37:44 +01:00
karroffel
8b82f4ad2e
fix GLES2 line rendering
...
fixes #17147
2018-03-02 12:35:34 +01:00
bruvzg
a5a4f3714b
GLES2 renderer support on macOS.
2018-03-02 13:15:12 +02:00
karroffel
eac4c984df
add GLES 2 renderer for 2D
...
This commit adds a new rendering backend, GLES2, and adds a
project setting to enable it.
Currently this backend can only be used on the X11 platform,
but integrating into other platforms is planned.
2018-03-01 15:12:30 +01:00
bruvzg
e3c2778d7e
Add missing return statements (iOS and server).
2018-02-25 01:11:03 +02:00
Hein-Pieter van Braam
8cde69f5f2
Fix Windows file case changing
...
Windows APIs don't really provide a way to change a filename case. This
implements a little juggling to make this work. We first create a
guaranteed unique temporary file, we then replace the original file with
the temporary file and we finally rename it to the desired filename
case.
(cherry picked from commit d69d58deea
)
2018-02-24 18:09:20 +01:00
Poommetee Ketson
7a1b7ddf6c
Fix error spam when using PanoramaSky without texture
2018-02-22 21:43:17 +07:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
1fbb83de2c
Merge pull request #16467 from godotengine/gles3-light-shader-time
...
using TIME in light shader enables uses_fragment_time
2018-02-20 11:19:14 +01:00
Rémi Verschelde
4b562aaf0c
Merge pull request #16834 from bojidar-bg/x-rendering-gles3-bug
...
Fix a rendering bug with screen_texture
2018-02-20 11:11:11 +01:00
Bojidar Marinov
ea57a19b34
Fix a rendering bug with screen_texture
2018-02-19 22:07:38 +02:00
Iskustvo
268d7c7c5b
[X11] Improving error detection in move_to_trash
2018-02-18 17:02:19 +01:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
K. S. Ernest (iFire) Lee
2e66730061
Create and return LightmapCapture.
2018-02-15 07:34:11 -08:00
K. S. Ernest (iFire) Lee
4e1923a931
Add dummy audio driver, fix dummy rasterizer
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
2de10aa467
Fixes to OS_Server and DummyRasterizer to match new signatures
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
72ef766dfa
Add dummy Texture handling
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
8699f643c9
Disable GLES builders and source from server compilation
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
c0dce6e480
Add dummy resterizer driver
2018-02-15 07:34:11 -08:00
Marcelo Fernandez
621d28adef
Fix for a possible compile error under OS X
2018-02-14 19:48:35 -03:00
Rémi Verschelde
3ab72da645
Merge pull request #15710 from AndreaCatania/p1
...
Fixed sky reflection rendering when transparent BG
2018-02-14 16:29:08 +01:00
Rémi Verschelde
70294716af
Merge pull request #15875 from marcelofg55/wasapi_device_change
...
Improved WASAPI driver so that it always uses the default audio device
2018-02-14 16:09:49 +01:00
Rémi Verschelde
dea5a69693
Merge pull request #16408 from Calinou/remove-debugging-prints
...
Remove a few debugging prints
2018-02-14 11:32:10 +01:00
karroffel
bb655856e2
using TIME in light shader enables uses_fragment_time
...
The GLES3 shader compiler performs certain checks to enable or disable
the usage of certain uniform variables (and with that the set-up of UBOs).
If the `TIME` variable gets used inside the `vertex` function then the
renderer knows that it has to insert that value into the UBO.
The same applies to the `fragment` function.
The `light` function gets executed inside the fragment shader for every
light source that is relevant to the current pixel. If the `TIME` variable
gets used in that function then it needs to be present in the fragment-UBO.
The check for this was missing, so if a shader uses `TIME` inside `light`
but not inside `fragment` then the uniform will not actually be set up.
2018-02-07 11:56:52 +01:00
Hugo Locurcio
84267915f5
Remove a few debugging prints
2018-02-05 11:30:50 +01:00
Marcin Zawiejski
8315aa40cc
fix buffer write performance on Windows and Unix
2018-02-04 13:23:23 +01:00
Juan Linietsky
82df614457
Add a proper error when safe save fails.
2018-02-02 23:50:41 -03:00
Marlon Henry Schweigert
87adf9cfba
Display set_nodelay to GDScript
...
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
2018-01-30 13:22:15 -02:00
Marcelo Fernandez
d5afcf7ab1
Improved WASAPI driver so that it always uses the default audio device
2018-01-19 18:41:23 -03:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
binbitten
92473a9e9e
Convert special case RGB10_A2 to RGBA8 when obtaining texture data
2018-01-18 18:05:01 +01:00
Leon Krause
cbc194dde6
Fix copy shader in GLSL ES 3.0
2018-01-15 23:46:45 +01:00
Leon Krause
e4609acc5d
Fix Particles2D in WebGL 2.0
2018-01-15 20:39:17 +01:00
AndreaCatania
c34f18acce
Fixed sky reflection rendering when transparent BG
2018-01-14 20:28:26 +01:00
Rémi Verschelde
e1a0f2bd71
Merge pull request #15636 from mrcdk/fix_canvas_light
...
Set correct types on a couple variables inside light_compute in canvas.glsl
2018-01-13 01:42:52 +01:00
Rémi Verschelde
4fd4b0399a
Merge pull request #15633 from binbitten/fix-mat2-align
...
Fix mat2 alignment
2018-01-13 01:39:20 +01:00
binbitten
de8f43d95d
Fix mat2 alignment
2018-01-12 22:26:50 +01:00
MrCdK
408f4cb146
Set correct types on a couple variables inside the canvas.glsl
2018-01-12 22:02:28 +01:00
Juan Linietsky
e56b3439a5
Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339 .
2018-01-12 17:03:52 -03:00
Juan Linietsky
0041efec1d
Fix mat2 alignment
2018-01-12 12:45:16 -03:00
Juan Linietsky
f4d603b902
Fix uniform alignment, closes #14962
2018-01-12 12:43:26 -03:00
Juan Linietsky
3a05d974e0
Instance dependency for particles was not being get rid of. Again fixes #15591
2018-01-12 09:12:31 -03:00
Juan Linietsky
e3f02b1a1b
Properly fix blend equations for both transparent and non transparent framebuffers. Closes #15047
2018-01-11 19:39:47 -03:00
AndreaCatania
252344f706
Fixed graphic artifact caused by anisotropic filter
2018-01-11 12:55:18 +01:00
Rémi Verschelde
e49ddf2984
Merge pull request #15555 from BastiaanOlij/clamp_blends
...
Clamp blend to fix screen space reflections
2018-01-10 13:36:13 +01:00
Bastiaan Olij
ebc96195d8
Clamp blend to fix screen space reflections
2018-01-10 23:23:00 +11:00