summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2019-08-05Merge pull request #30987 from clayjohn/GLES2-light-negativeRémi Verschelde
Implement negative for OmniLights and SpotLights in GLES2
2019-08-05Merge pull request #31053 from aaronfranke/vector2i-cleanupRémi Verschelde
Some minor Vector2i usage cleanup
2019-08-03Fix GLES2 renderingYuri Roubinski
2019-08-03Some Vector2i usage cleanupAaron Franke
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
2019-07-31Expose several GLES3 built-ins to GLES2 Chaosus
2019-07-30allow omnilights and spotlights to use negative in GLES2clayjohn
2019-07-31Merge pull request #30977 from clayjohn/GLES3-screen-uvRémi Verschelde
Properly pass SCREEN_PIXEL_SIZE to canvas light shader
2019-07-30properly pass SCREEN_PIEXEL_SIZE to canvas light shaderclayjohn
2019-07-30Merge pull request #30911 from ↵Rémi Verschelde
hadrien-psydk/optimize_dir_access_unix_get_next_lnk Optimize DirAccessUnix::get_next() for some file systems (with link support)
2019-07-29Merge pull request #30895 from clayjohn/gles2-shader-funcsRémi Verschelde
Added round function to gles2
2019-07-29added round function to gles2clayjohn
2019-07-29Merge pull request #30898 from clayjohn/max-lights-reflectionsRémi Verschelde
Add project setting for max lights and reflections in GLES3
2019-07-29Optimize DirAccessUnix::get_next() for some file systemsHadrien
On some file systems, like ext4 on Linux, readdir() gives enough information to determine the entry type in order to avoid doing a stat() system call. Use this information and call stat() only if necessary: for file systems that do not support this feature and for links.
2019-07-28add project setting for max lights and reflections in gles3clayjohn
2019-07-28update algorithm about paking float to vec4 to fix shadow shift and change ↵RaphaelHunter
rgba_shdow options
2019-07-23Merge pull request #30764 from clayjohn/contact-shadowRémi Verschelde
Fix contact shadows appearing when shading casting is off
2019-07-22fix contact shadows appearing when shading casting is offclayjohn
2019-07-22Merge pull request #30732 from Calinou/default-disable-high-quality-vctRémi Verschelde
Disable high-quality voxel cone tracing by default
2019-07-22Merge pull request #30745 from clayjohn/gles2-shadow-transparencyRémi Verschelde
Fix GLES2 shadow transparency bug
2019-07-21fix gles2 shadow transparency bugclayjohn
2019-07-21Disable high-quality voxel cone tracing by defaultHugo Locurcio
This makes GIProbe significantly faster out of the box, at the cost of worse-looking GIProbe reflections. This closes #30727.
2019-07-21Revert "Optimize DirAccessUnix::get_next() for some file systems"Geequlim
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-17Optimize DirAccessUnix::get_next() for some file systemsHadrien
On some file systems, like ext4 on Linux, readdir() gives enough information to determine the entry type in order to avoid doing a stat() system call. Use this information and call stat() only if necessary.
2019-07-17Merge pull request #30570 from SonerSound/gles2_inconsistent_fixRémi Verschelde
Fix inconsistent lighting in GLES2
2019-07-16Fix CurveTexture being listed as saveable to .pngBojidar Marinov
Fixes #27880
2019-07-16Added local array initializerChaosus
2019-07-15Implemented local shader arraysChaosus
2019-07-14Fix inconsistent lighting in GLES2SonerSound
Issue was possibily being caused by duplicating a light even when that light was not in the render_light_instances array.
2019-07-12Implement CanvasItem line antialiasing in GLES2Hugo Locurcio
This is a straight copy-paste of the code from `drivers/gles3/rasterizer_canvas_gles3.cpp`. It is subject to the same restrictions as the GLES3 implementation: it only works on desktop platforms as they use OpenGL instead of OpenGL ES.
2019-07-10Merge pull request #30455 from qarmin/const_referenceRémi Verschelde
Pass by reference to const
2019-07-10Fix get_data layer argument when texture is TEXTURE_TYPE_2D_ARRAYszamq
2019-07-10Use reference to constant in functionsqarmin
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-05Prevent GLES2 bool uniforms from having a precision type set.Marcus Brummer
When setting the default precision type for uniforms (before compiling the shader) prevent boolean uniforms from having one set. Booleans can't have a precision type and on some Android devices this caused a compilation failure. Fixes #30317
2019-07-04Merge pull request #30232 from zwostein/fix-pulseaudio-channelmapRémi Verschelde
Explicitly set a channel map when initialising the Pulseaudio stream.
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-07-01Explicitly set a channel map when initialising the Pulseaudio stream.zwostein
2019-07-01Merge pull request #29909 from clayjohn/gles2-light-scaleRémi Verschelde
Scale vertex lit lights by environment scale
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-28Fix ip_unix.cpp inclusion order for OpenBSD.Fabio Alessandrelli
2019-06-28Properly disable SIGPIPE on OSX network sockets.Fabio Alessandrelli
Disable SO_NOSIGPIPE socket option when avaiable. Use MSG_NOSIGNAL send flag on systems that support it.