summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2020-01-06Add VisualServer methods to get the video adapter name and vendorHugo Locurcio
These methods can be used in scripts to retrieve the OpenGL `GL_RENDERER` and `GL_VENDOR` strings (respectively). This closes #28404.
2020-01-03Merge pull request #34794 from clayjohn/GLES2-trimesh-crashRémi Verschelde
Fix crash on trimesh_create
2020-01-03Fix crash on trimesh_create by making surface->data available in non-tool buildsclayjohn
2020-01-03Merge pull request #34726 from nekomatata/polygon2d-antialiasing-fixRémi Verschelde
Fixed antialiasing option for Polygon2D with concave/hollow shapes
2020-01-03Merge pull request #34551 from MadEqua/fix-light-with-skeletonRémi Verschelde
Fix 2D lighting when using skeleton.
2020-01-01Fix wrong return typeTritium Oxide
`ERROR: _display_error_with_code: CanvasShaderGLES3: Fragment Program Compilation Failed: 0:166(2): error: `return' with wrong type int, in function `map_ninepatch_axis' returning float` caused by #34704
2020-01-01GLES3: Fix false positive in ninepatch axis stretch codeRémi Verschelde
See #34704.
2020-01-01Fixed antialiasing option for Polygon2DPouleyKetchoupp
Some cases were not handled properly for Polygon2D after making changes in common code to fix Line2D antialiasing. Added an option for drawing polygons to differentiate the two use cases. Fixes #34568
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-30Merge pull request #34647 from madmiraal/pulse-audio-null-pointerRémi Verschelde
Check for null pointer in PulseAudio server info callback.
2019-12-30Merge pull request #34685 from winston-yallow/fix_omnilight_attenuationRémi Verschelde
Use correct omni light attenuation
2019-12-29Use correct omni light attenuationWinston
fixes godotengine/godot#34683
2019-12-28Reset GLES3 MultiMesh buffer id when reallocating.Bruno Lourenço
2019-12-28Check for null pointer in PulseAudio server info callback.Marcel Admiraal
2019-12-23Fix canvas GLES3 skeleton transform uniform updating.Bruno Lourenço
2019-12-23Fix 2D lighting when using skeleton.Bruno Lourenço
2019-12-21Merge pull request #34527 from MadEqua/fix-gles3-light-cutoffRémi Verschelde
Fix GLES3 light cutoff.
2019-12-21Fix GLES3 light cutoff.Bruno Lourenço
2019-12-21Fix contact shadow when light is outside of viewport.Bruno Lourenço
2019-12-19Always use 16 bit renderbuffer depth on WebGLclayjohn
2019-12-17Make NetSockets quiter.Fabio Alessandrelli
Use print_verbose instead of ERR_* for network errors.
2019-12-16Merge pull request #34367 from clayjohn/GLES2-shadow_colorRémi Verschelde
Fix shadow color in GLES2 by making sRGB
2019-12-15fix shadow color in GLES2 by making sRGBclayjohn
2019-12-14Merge pull request #33910 from Faless/net/android_mlockRémi Verschelde
Acquire MulticastLock on Android when using broadcast/multicast
2019-12-14UDP sockets broadcast is now disabled by default.Fabio Alessandrelli
Add method `set_broadcast_enabled` to allow enabling broadcast via GDScript.
2019-12-14Remove convex_decomp in drivers/SCsubvolzhs
follow-up f111d1aaede1b2036e63d5a44ecd0ecf057521c3
2019-12-13Drop b2d_convexdecomp. no longer necessary.Rémi Verschelde
We now use `thirdparty/misc/triangulator.h` for all physics-related (collision, navigation) triangulation needs. Follow-up to #34293.
2019-12-12Merge pull request #34251 from bojidar-bg/32993-lightoccluder-flipRémi Verschelde
Flip cull mode when rendering flipped Light2D and LightOccluder2D
2019-12-12Merge pull request #34262 from clayjohn/default_point_sizeRémi Verschelde
Add a default POINT_SIZE
2019-12-11Flip cull mode when rendering flipped Light2D and LightOccluder2DBojidar Marinov
Fixes #32993
2019-12-11SCons: Add 'split_libmodules' option to workaround linker issueRémi Verschelde
The new 'split_libmodules=yes' option is useful to work around linker command line size limitations when linking a huge number of objects. We're currently over 64k chars when linking libmodules.a on Windows with MinGW, which triggers issues as seen in #30892. Even on Linux, we can also reach linker command line size limitations by adding more custom modules. We force this option to True for MinGW on Windows, which fixes #30892. Additional changes to lib splitting: - Fix linking of the split module libs with interdependent symbols, hacking our way into LINKCOM and SHLINKCOM to set the `--start-group` and `--end-group` flags. - Fix Python 3 compatibility in `methods.split_lib()`. - Drop seemingly obsolete condition for 'msys' on 'posix'. - Drop the unnecessary 'split_drivers' as the drivers lib is no longer too big since we moved all thirdparty builds to modules. Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2019-12-10Add a default POINT_SIZEclayjohn
2019-12-10Merge pull request #34238 from clayjohn/GLES2-use-renderbuffer-post-processRémi Verschelde
Use renderbuffer depth for post-process buffers when appropriate
2019-12-10NetSocket set_broadcast_enabled returns Error enumFabio Alessandrelli
2019-12-09Use renderbuffer depth for post-process buffers when appropriateclayjohn
2019-12-09Force 32 bit depth buffer for WebGLclayjohn
2019-12-09GLES3: Properly unbind buffers after draw commandsRémi Verschelde
Patch provided by @oeleo1. Fixes #34120.
2019-12-05GLES2: Fix uninitialized members in ShaderGLES2::VersionRémi Verschelde
Fixes #34109.
2019-12-04Properly orphan polygon index buffer after binding (take 2)Rémi Verschelde
Follow-up to #34088, patch by @oeleo1 from https://github.com/godotengine/godot/issues/34065#issuecomment-561530896
2019-12-03properly orphan polygon index buffer after bindingclayjohn
2019-12-03Merge pull request #33857 from nekomatata/polygon-2d-antialiasingRémi Verschelde
Fixed antialiased option for Polygon2D
2019-12-03Merge pull request #33836 from clayjohn/blinn-fixRémi Verschelde
Fix Specular Blinn function
2019-12-02Merge pull request #33985 from nekomatata/shadow_viewportRémi Verschelde
Disable shadow map sampling when shadows are not used in GLES3
2019-11-29Removed duplicated conditional in GLES2PouleyKetchoupp
2019-11-29Disable shadow map sampling when shadows are not used in GLES3PouleyKetchoupp
Fixes #20742
2019-11-28Fixed antialiased option for Polygon2D / Line2DPouleyKetchoupp
Polygon2D: The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing. Line2D: Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly. Fixes #26823
2019-11-28Merge pull request #33963 from clayjohn/GLES3-sky-mipmaps-on-mobileRémi Verschelde
Fix radiance map generation on mobile
2019-11-27Fix radiance map generation on mobileclayjohn
2019-11-26Use ANGLE multisample extensions for UWPGeorge Marques
2019-11-23Restructure depth_internalformat code to work on mobileclayjohn
This changes the code path so that `glRenderBufferStorage*` always uses values appropriate for renderbuffers and `glTexImage2D` never uses an internalformat meant for buffers. Fixes #33825.