summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* RasterizerCanvas: Use getornull to fetch light occluder polygonRémi Verschelde2020-01-082-2/+2
| | | | Fixes #21286 when the occluder is not fully configured.
* Merge pull request #34808 from Calinou/no-color-in-non-ttyRémi Verschelde2020-01-061-8/+24
|\ | | | | Disable colored console output when standard output isn't a TTY
| * Disable colored console output when standard output isn't a TTYHugo Locurcio2020-01-041-8/+24
| | | | | | | | | | This prevents Godot from writing ANSI escape codes when redirecting stdout and stderr to a file.
* | Add VisualServer methods to get the video adapter name and vendorHugo Locurcio2020-01-067-4/+28
|/ | | | | | | These methods can be used in scripts to retrieve the OpenGL `GL_RENDERER` and `GL_VENDOR` strings (respectively). This closes #28404.
* Merge pull request #34794 from clayjohn/GLES2-trimesh-crashRémi Verschelde2020-01-031-14/+2
|\ | | | | Fix crash on trimesh_create
| * Fix crash on trimesh_create by making surface->data available in non-tool buildsclayjohn2020-01-031-14/+2
| |
* | Merge pull request #34726 from nekomatata/polygon2d-antialiasing-fixRémi Verschelde2020-01-032-2/+10
|\ \ | | | | | | Fixed antialiasing option for Polygon2D with concave/hollow shapes
| * | Fixed antialiasing option for Polygon2DPouleyKetchoupp2020-01-012-2/+10
| | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #34551 from MadEqua/fix-light-with-skeletonRémi Verschelde2020-01-032-3/+6
|\ \ \ | |_|/ |/| | Fix 2D lighting when using skeleton.
| * | Fix 2D lighting when using skeleton.Bruno Lourenço2019-12-232-3/+6
| | |
* | | Fix wrong return typeTritium Oxide2020-01-011-1/+1
| | | | | | | | | | | | `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
* | | GLES3: Fix false positive in ninepatch axis stretch codeRémi Verschelde2020-01-011-10/+13
| | | | | | | | | | | | See #34704.
* | | Update copyright statements to 2020Rémi Verschelde2020-01-0184-168/+168
| |/ |/| | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #34647 from madmiraal/pulse-audio-null-pointerRémi Verschelde2019-12-301-0/+2
|\ \ | | | | | | Check for null pointer in PulseAudio server info callback.
| * | Check for null pointer in PulseAudio server info callback.Marcel Admiraal2019-12-281-0/+2
| | |
* | | Merge pull request #34685 from winston-yallow/fix_omnilight_attenuationRémi Verschelde2019-12-301-1/+1
|\ \ \ | | | | | | | | Use correct omni light attenuation
| * | | Use correct omni light attenuationWinston2019-12-291-1/+1
| |/ / | | | | | | fixes godotengine/godot#34683
* / / Reset GLES3 MultiMesh buffer id when reallocating.Bruno Lourenço2019-12-281-0/+1
|/ /
* / Fix canvas GLES3 skeleton transform uniform updating.Bruno Lourenço2019-12-231-2/+5
|/
* Merge pull request #34527 from MadEqua/fix-gles3-light-cutoffRémi Verschelde2019-12-211-2/+12
|\ | | | | Fix GLES3 light cutoff.
| * Fix GLES3 light cutoff.Bruno Lourenço2019-12-211-2/+12
| |
* | Fix contact shadow when light is outside of viewport.Bruno Lourenço2019-12-211-10/+14
|/
* Always use 16 bit renderbuffer depth on WebGLclayjohn2019-12-191-2/+3
|
* Make NetSockets quiter.Fabio Alessandrelli2019-12-172-15/+35
| | | | Use print_verbose instead of ERR_* for network errors.
* Merge pull request #34367 from clayjohn/GLES2-shadow_colorRémi Verschelde2019-12-161-2/+1
|\ | | | | Fix shadow color in GLES2 by making sRGB
| * fix shadow color in GLES2 by making sRGBclayjohn2019-12-151-2/+1
| |
* | Merge pull request #33910 from Faless/net/android_mlockRémi Verschelde2019-12-142-7/+11
|\ \ | |/ |/| Acquire MulticastLock on Android when using broadcast/multicast
| * UDP sockets broadcast is now disabled by default.Fabio Alessandrelli2019-12-141-4/+6
| | | | | | | | | | Add method `set_broadcast_enabled` to allow enabling broadcast via GDScript.
| * NetSocket set_broadcast_enabled returns Error enumFabio Alessandrelli2019-12-102-4/+6
| |
* | Remove convex_decomp in drivers/SCsubvolzhs2019-12-141-5/+0
| | | | | | | | follow-up f111d1aaede1b2036e63d5a44ecd0ecf057521c3
* | Drop b2d_convexdecomp. no longer necessary.Rémi Verschelde2019-12-134-231/+0
| | | | | | | | | | | | | | We now use `thirdparty/misc/triangulator.h` for all physics-related (collision, navigation) triangulation needs. Follow-up to #34293.
* | Merge pull request #34251 from bojidar-bg/32993-lightoccluder-flipRémi Verschelde2019-12-122-4/+26
|\ \ | | | | | | Flip cull mode when rendering flipped Light2D and LightOccluder2D
| * | Flip cull mode when rendering flipped Light2D and LightOccluder2DBojidar Marinov2019-12-112-4/+26
| | | | | | | | | | | | Fixes #32993
* | | Merge pull request #34262 from clayjohn/default_point_sizeRémi Verschelde2019-12-126-4/+17
|\ \ \ | | | | | | | | Add a default POINT_SIZE
| * | | Add a default POINT_SIZEclayjohn2019-12-106-4/+17
| | |/ | |/|
* | | SCons: Add 'split_libmodules' option to workaround linker issueRémi Verschelde2019-12-111-6/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #34238 from clayjohn/GLES2-use-renderbuffer-post-processRémi Verschelde2019-12-101-1/+5
|\ \ | | | | | | Use renderbuffer depth for post-process buffers when appropriate
| * | Use renderbuffer depth for post-process buffers when appropriateclayjohn2019-12-091-1/+5
| |/
* / Force 32 bit depth buffer for WebGLclayjohn2019-12-091-0/+8
|/
* GLES3: Properly unbind buffers after draw commandsRémi Verschelde2019-12-091-0/+3
| | | | | | Patch provided by @oeleo1. Fixes #34120.
* GLES2: Fix uninitialized members in ShaderGLES2::VersionRémi Verschelde2019-12-051-2/+4
| | | | Fixes #34109.
* Properly orphan polygon index buffer after binding (take 2)Rémi Verschelde2019-12-041-2/+5
| | | | | Follow-up to #34088, patch by @oeleo1 from https://github.com/godotengine/godot/issues/34065#issuecomment-561530896
* properly orphan polygon index buffer after bindingclayjohn2019-12-031-4/+6
|
* Merge pull request #33857 from nekomatata/polygon-2d-antialiasingRémi Verschelde2019-12-034-2/+133
|\ | | | | Fixed antialiased option for Polygon2D
| * Fixed antialiased option for Polygon2D / Line2DPouleyKetchoupp2019-11-284-2/+133
| | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #33836 from clayjohn/blinn-fixRémi Verschelde2019-12-032-112/+97
|\ \ | | | | | | Fix Specular Blinn function
| * | Fix Specular Blinn functionclayjohn2019-11-222-112/+97
| | |
* | | Merge pull request #33985 from nekomatata/shadow_viewportRémi Verschelde2019-12-022-7/+15
|\ \ \ | | | | | | | | Disable shadow map sampling when shadows are not used in GLES3
| * | | Disable shadow map sampling when shadows are not used in GLES3PouleyKetchoupp2019-11-292-7/+15
| | | | | | | | | | | | | | | | Fixes #20742
* | | | Removed duplicated conditional in GLES2PouleyKetchoupp2019-11-291-1/+0
|/ / /