summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
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.
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-24Merge pull request #29974 from clayjohn/particles_restartRémi Verschelde
Properly set emitting when particles restart
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-21properly set emitting when particles restartclayjohn
2019-06-21Merge pull request #29935 from Faless/net/get_if_multicast_prRémi Verschelde
Multicast, more network interfaces info
2019-06-21Multicast support in NetSocket/PacketPeerUDPFabio Alessandrelli
2019-06-21Implement IP.get_local_interfaces.Fabio Alessandrelli
Allow getting interfaces names and assigned names. On UWP this is not supported, and the function will return one interface for each local address (with interface name the local address itself).
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-20Merge pull request #29874 from ibrahn/rework-png-loadsaveRémi Verschelde
PNG driver reworked to use libpng 1.6 simplified API
2019-06-19scale vertex lit lights by envorionment scaleclayjohn
2019-06-19Made constants fully upper case in camera serverBastiaan Olij
2019-06-19Png driver reworked to use libpng 1.6 simplified APIIbrahn Sahir
Wrapped libpng usage in a pair of functions under PNGDriverCommon, which convert between Godot Image and png data. Switched to libpng 1.6 simplified API for ease of maintenance. Implemented ImageLoaderPNG and ResourceSaverPNG in terms of PNGDriverCommon functions. Travis, switched to builtin libpng (thus builtin freetype and zlib also) so we can build on Xenial.
2019-06-18Merge pull request #29872 from akien-mga/unexpose-resourceformatloadersRémi Verschelde
Unexpose subclasses of ResourceFormatLoader and -Saver
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
2019-06-18Merge pull request #29751 from lawnjelly/skin-fixRémi Verschelde
Fixes crash with rigged meshes on some OpenGLES2 devices
2019-06-18Fixes crash with rigged meshes on some OpenGLES2 deviceslawnjelly
Non-tools OpenGLES2 devices that use the USE_SKELETON_SOFTWARE path (i.e. do not support float texture) depend on surface->data being set containing the bone IDs and weights (rasterizer_scene_gles2.cpp, line 1456, RasterizerSceneGLES2::_setup_geometry). However currently if TOOLS_ENABLED is not defined, surface->data is not stored in main memory in rasterizer_storage_gles2.cpp. This causes a crash in rasterizer_scene_gles2.cpp when a rigged object comes into view. This fix addresses the specific case of skinned objects when USE_SKELETON_SOFTWARE is active, and stores a copy of the bone data, as is done when TOOLS_ENABLED is defined. This fixes the crash by allowing the same mechanism as on desktop, without adding the memory overhead of storing all vertex data where not required. Fixes #28298
2019-06-16Merge pull request #29764 from Calinou/boot-splash-no-filter-optionRémi Verschelde
Add an option to disable boot splash filtering
2019-06-16Merge pull request #10643 from BastiaanOlij/camera_serverRémi Verschelde
CameraServer class
2019-06-15Add an option to disable boot splash filteringHugo Locurcio
Disabling filtering is usually desired in projects using a pixel art style. This closes #19415.
2019-06-15Fix compilation warnings in JS and Windows buildsRémi Verschelde
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.