summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameterRémi Verschelde2020-01-221-1/+1
| | | | | | | | | `GL_LINEAR_MIPMAP_LINEAR` can be used for `GL_TEXTURE_MIN_FILTER`, but not for `GL_TEXTURE_MAG_FILTER`. Cf. https://www.khronos.org/opengl/wiki/GLAPI/glTexParameter Fixes #35436.
* Remove unused #if 0'ed codeRémi Verschelde2020-01-216-184/+10
|
* Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde2020-01-203-22/+22
| | | | | | | | | | | | | | | | | Reverts the following commits: - c81ec6f26d40b70283958a4ef3e216fb32cbaf14: "Exposes capture methods to AudioServer, variable renames for consistency, added documentation." - 47c558b98abf842910c780294314326662410cdf: "Expose audio callbacks as signals." - dabaa11b3c451e9b8f2cca7e563bd9ec51edb169: "Fix to make sure the capture buffers are deallocated at shutdown. Silences warnings." Some documentation improvements were kept for pre-existing methods. See rationale for reverting these changes in #30468.
* Merge pull request #35310 from akien-mga/gles3-irradiance-small-optimizationRémi Verschelde2020-01-192-6/+2
|\ | | | | GLES3: Slight optimization to irradiance compute
| * GLES3: Slight optimization to irradiance computeRémi Verschelde2020-01-192-6/+2
| | | | | | | | | | | | All the calculations leading up to `mipLevel` are only relevant for Panorama mode. Similarly, the `source_resolution` uniform is only needed for that mode.
* | Merge pull request #35302 from clayjohn/GLES3-env-mapRémi Verschelde2020-01-193-4/+51
|\ \ | |/ |/| Reduce complexity of irradiance map generation
| * reduce complexity of irradiance map generationclayjohn2020-01-183-4/+51
| |
* | Merge pull request #35284 from Ovnuniarchos/MidiNoReopenRémi Verschelde2020-01-191-0/+1
|\ \ | |/ |/| Alsa MIDI input thread gets properly reinitialized on open_midi_input.
| * Alsa MIDI input thread gets properly reinitialized on open.Ovnuniarchos2020-01-181-0/+1
| |
* | Merge pull request #35215 from clayjohn/multimesh-errorRémi Verschelde2020-01-164-8/+12
|\ \ | | | | | | Add multimesh format max for proper error checking
| * | Add multimesh format max for proper error checkingclayjohn2020-01-164-8/+12
| | |
* | | Gracefully handle 3D textures in GLES2clayjohn2020-01-161-4/+9
|/ /
* | Disabled array initialization, const array and arr.length in shadersYuri Roubinsky2020-01-161-19/+0
| |
* | Merge pull request #35176 from clayjohn/csg-crashRémi Verschelde2020-01-162-3/+3
|\ \ | | | | | | Fix light related crashes
| * | fix light related crashesclayjohn2020-01-152-3/+3
| | |
* | | Merge pull request #35178 from clayjohn/GLES2-fix-lightmapRémi Verschelde2020-01-161-13/+13
|\ \ \ | | | | | | | | Fix array constructor for lightmaps
| * | | Fix array constructor for lightmapsclayjohn2020-01-151-13/+13
| |/ /
* / / Add background mode keep to GLES2clayjohn2020-01-151-2/+2
|/ /
* | Merge pull request #35064 from clayjohn/rendering_crashesRémi Verschelde2020-01-133-14/+22
|\ \ | | | | | | Fix light and multimesh crashes
| * | Fix light and multimesh crashesclayjohn2020-01-123-14/+22
| |/
* / Fix generation of irradiance mapclayjohn2020-01-121-1/+1
|/
* 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
| |