summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2022-01-24Minor fixes to shadow atlases:jfons
* Erase shadow owner *before* setting it to RID(). * Add default texture in shadow atlas debug view to avoid error spam when no atlas is present. * Fix typo.
2022-01-24Remove incorrect items from completion of main functions in shaderYuri Roubinsky
2022-01-23Fix incorrect unused local var warning in shader blocksYuri Roubinsky
2022-01-22Merge pull request #54890 from briansemrau/threadsafe-drawpute-listsRémi Verschelde
Make draw/compute lists threadsafe
2022-01-21Remove TRANSFORM built in from fog shadersclayjohn
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-20Merge pull request #55360 from Calinou/rename-bake-mode-propertiesRémi Verschelde
2022-01-20Merge pull request #53857 from briansemrau/rd-free-rid-bind-renameRémi Verschelde
2022-01-20Merge pull request #56972 from lawnjelly/warn_unusedRémi Verschelde
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20Merge pull request #56949 from timothyqiu/has-clipboardRémi Verschelde
2022-01-20Merge pull request #56936 from BastiaanOlij/add_tracking_confidenceRémi Verschelde
2022-01-20Adding a tracking confidence state to XRPoseBastiaan Olij
2022-01-19Add `DisplayServer.clipboard_has()` to check clipboard contentHaoyu Qiu
2022-01-19Revert "Add new scaling modes for splash screen"Rémi Verschelde
This reverts commit fcc9f5ce396ff921ed8253f657a8c9c38e7a878d. The feature is good but the implementation still needs more work. A new PR will be made with a rework of this commit.
2022-01-19Add translation links to shader errorsYuri Roubinsky
2022-01-19Merge pull request #54489 from briansemrau/texture-delete-updateRémi Verschelde
2022-01-19Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindowRémi Verschelde
2022-01-18Add new scaling modes for splash screenSamuel Pedrajas
Removes the `fullsize` option which is superseded by `stretch_mode`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-18Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascadesRémi Verschelde
2022-01-18Merge pull request #56893 from Chaosus/shader_unify_vardeclYuri Roubinsky
2022-01-18Window management improvements.bruvzg
[macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-18Unify variable and array declarations in shadersYuri Roubinsky
2022-01-17Fix volumetric fog memory leak on resizeclayjohn
2022-01-17Allow using between 1 and 8 cascades for SDFGIHugo Locurcio
This provides more flexibility between performance and quality adjustments, especially when using SDFGI for small-scale levels (which can be useful for procedurally generated scenes).
2022-01-17Merge pull request #56860 from bruvzg/icu_caseRémi Verschelde
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-17[TextServer] Implement locale and context sensitive case conversion functions.bruvzg
2022-01-17Fix invalid read when using LightOccluder2DHaoyu Qiu
2022-01-16Merge pull request #56309 from Calinou/remove-pvrtc-supportRémi Verschelde
2022-01-15Remove mistakenly added push constant from SSRclayjohn
2022-01-15Refactor size expression parsing for arrays in the shadersYuri Roubinsky
2022-01-14Remove support for PVRTC texture encoding and decodingHugo Locurcio
On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
2022-01-14Fix shader crashing when declaring matrix or array varyingsYuri Roubinsky
2022-01-13Fix various typosluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-13Fix completion for global constants in shadersYuri Roubinsky
2022-01-13Add completion for shader_typeYuri Roubinsky
2022-01-13Prevent redefinition of main functions in shaderYuri Roubinsky
2022-01-13Merge pull request #56714 from bruvzg/fix_alignment_break_overrunRémi Verschelde
2022-01-13[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and ↵bruvzg
interaction between these modes. Fix "Fill" alignment processing wrong side of the text if overrun trim was applied. Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations. Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character). Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator. Port missing overrun/justification code to the Fallback text server. Fix inferred text direction detection by controls. Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-12Fix cannot use gaussian blur errorclayjohn
2022-01-12Merge pull request #56169 from dkaste/fix-clip-rectsRémi Verschelde
Fix canvas items being drawn outside clip rects
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-12Optimize include files to improve `shader_language.h` compilation speedYuri Roubinsky
2022-01-12Merge pull request #55656 from clayjohn/GLSL3-compilerRémi Verschelde
2022-01-12Merge pull request #56696 from AnilBK/use-init-listsRémi Verschelde
2022-01-11New OpenGL batching canvas rendererclayjohn
2022-01-12Use List Initializations for Vectors.Anilforextra
2022-01-11Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_typesRémi Verschelde
2022-01-11Fixed incorrect property typesArnav Vijaywargiya