summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2020-02-07Merge pull request #35142 from clayjohn/GLES2-add-3d-texturesRémi Verschelde
Add support for 3D textures to GLES2
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-31Add support for 3D textures to GLES2clayjohn
2020-01-31Fix shader crash if using multiple underscores in identifier namesYuri Roubinsky
2020-01-25Add project setting for max irradiance sizeclayjohn
2020-01-24Fix Softbody always spawns from world center [gles2]Eric Rybicki
Fixes #35373
2020-01-23Fix recently introduced crash in viewport sizeclayjohn
2020-01-23Make `OS.execute()` blocking by default if not specifiedHugo Locurcio
This makes `OS.execute()` calls quicker to set up when calling programs in a blocking fashion.
2020-01-22Merge pull request #35414 from Ovnuniarchos/AlsaMidiBadPitchBendRémi Verschelde
ALSA MIDI: Pitch bend and System Common messages
2020-01-22Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22ALSA MIDI driver:Ovnuniarchos
Pith bend message now has correct size (was 2 bytes instead of 3). Recognized (but not implemented) 0xF? messages. SysEx messages will be reocognized as such, but their contents will be ignored.
2020-01-22Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly
Fixes #26637. Fixes #19900. The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2. Code which called this function has also been modified accordingly. This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width. It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameterRémi Verschelde
`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.
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2020-01-20Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde
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.
2020-01-19Merge pull request #35310 from akien-mga/gles3-irradiance-small-optimizationRémi Verschelde
GLES3: Slight optimization to irradiance compute
2020-01-19Merge pull request #35302 from clayjohn/GLES3-env-mapRémi Verschelde
Reduce complexity of irradiance map generation
2020-01-19GLES3: Slight optimization to irradiance computeRémi Verschelde
All the calculations leading up to `mipLevel` are only relevant for Panorama mode. Similarly, the `source_resolution` uniform is only needed for that mode.
2020-01-19Merge pull request #35284 from Ovnuniarchos/MidiNoReopenRémi Verschelde
Alsa MIDI input thread gets properly reinitialized on open_midi_input.
2020-01-18reduce complexity of irradiance map generationclayjohn
2020-01-18Alsa MIDI input thread gets properly reinitialized on open.Ovnuniarchos
2020-01-16Merge pull request #35215 from clayjohn/multimesh-errorRémi Verschelde
Add multimesh format max for proper error checking
2020-01-16Add multimesh format max for proper error checkingclayjohn
2020-01-16Gracefully handle 3D textures in GLES2clayjohn
2020-01-16Disabled array initialization, const array and arr.length in shadersYuri Roubinsky
2020-01-16Merge pull request #35176 from clayjohn/csg-crashRémi Verschelde
Fix light related crashes
2020-01-16Merge pull request #35178 from clayjohn/GLES2-fix-lightmapRémi Verschelde
Fix array constructor for lightmaps
2020-01-15fix light related crashesclayjohn
2020-01-15Fix array constructor for lightmapsclayjohn
2020-01-15Add background mode keep to GLES2clayjohn
2020-01-13Merge pull request #35064 from clayjohn/rendering_crashesRémi Verschelde
Fix light and multimesh crashes
2020-01-12Fix light and multimesh crashesclayjohn
2020-01-12Fix generation of irradiance mapclayjohn
2020-01-08RasterizerCanvas: Use getornull to fetch light occluder polygonRémi Verschelde
Fixes #21286 when the occluder is not fully configured.
2020-01-06Merge pull request #34808 from Calinou/no-color-in-non-ttyRémi Verschelde
Disable colored console output when standard output isn't a TTY
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-04Disable colored console output when standard output isn't a TTYHugo Locurcio
This prevents Godot from writing ANSI escape codes when redirecting stdout and stderr to a file.
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