summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-26Rename conflicting variable to fix MoltenVK shader compilation.bruvzg
2020-03-24Merge pull request #37268 from clayjohn/VULKAN-sky-colorRémi Verschelde
Replace subpass textures with color in sky shader
2020-03-24Replace subpass textures with color in sky shaderclayjohn
2020-03-24Remove unused classes and stray headersRémi Verschelde
Found by reviewing headers with 1 or less matching includes: ``` find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes ```
2020-03-22Merge pull request #37179 from clayjohn/VULKAN-sky-shaderRémi Verschelde
Implement Sky Shaders
2020-03-21Working sky shader implementationclayjohn
2020-03-21Make file formatting comply with POSIX and Unix standardsAaron Franke
UTF-8, LF, no BOM, and newlines at the end of files
2020-03-20Fix incorrect shader block parsingYuri Roubinsky
2020-03-20Allow to reassign local variables in shadersYuri Roubinsky
2020-03-19Add shader based background modeBastiaan Olij
2020-03-19Fix shader TIME auto-completionYuri Roubinsky
2020-03-19Removed old TIME references from shader_typesYuri Roubinsky
2020-03-19Makes shader 'TIME' available in custom functions by defaultYuri Roubinsky
2020-03-18Show shader method out/inout qualifier in intellisenseYuri Roubinsky
2020-03-18Fix shader crash if passing const values to modf functionYuri Roubinsky
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-14Enables passing out built-in parameter from parent function in shadersYuri Roubinsky
2020-03-11Fix various typosluz.paz
Found via `codespell`
2020-03-08Refactor ScriptDebugger.Fabio Alessandrelli
EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling.
2020-03-05Merge pull request #36752 from RandomShaper/rework_semaphoreRémi Verschelde
Drop old semaphore implementation
2020-03-04Merge pull request #36021 from YeldhamDev/intersects_touch_exposeRémi Verschelde
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
2020-03-04Merge pull request #36733 from qarmin/static_analyzer_fixesRémi Verschelde
Fixes bugs found by Sonarcloud and Coverity
2020-03-04Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'Michael Alexsander
2020-03-04Merge pull request #36385 from kuruk-mm/some_static_assertsRémi Verschelde
Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert
2020-03-04Exposing get_tracker_id for ARVRPositionalTracker to GDScriptBastiaan Olij
2020-03-04Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assertMateo Dev .59
2020-03-03Drop old semaphore implementationPedro J. Estébanez
- Removed platform-specific implementations. - Now all semaphores are in-object, unless they need to be conditionally created. - Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined. - Similarly to `Mutex`, methods are made `const` for easy use in such contexts. - Language bindings updated: `wait()` and `post()` are now `void`. - Language bindings updated: `try_wait()` added. Bonus: - Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-02Merge pull request #36691 from clayjohn/VULKAN-cubemap-roughnessRémi Verschelde
Improve cubemap importance sampling
2020-03-02Fixes bugs found by Sonarcloud and Coverityqarmin
2020-02-29Properly free reflection probe atlasclayjohn
2020-02-29Improve cubemap importance samplingclayjohn
2020-02-29Merge pull request #36679 from clayjohn/VULKAN-mem-leakRémi Verschelde
Remove minimum size for shadow atlas
2020-02-29Remove minimum size for shadow atlasclayjohn
2020-02-29Fix shader's step hint range for integersYuri Roubinsky
2020-02-28Reduce descripter sets in cubemap filterclayjohn
2020-02-28Merge pull request #36388 from AndreaCatania/some_renamesRémi Verschelde
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
2020-02-27Basic fast filtering implementationclayjohn
2020-02-28Merge pull request #36627 from clayjohn/VULKAN-freeRémi Verschelde
Properly free many Vulkan resources
2020-02-28Merge pull request #36556 from RandomShaper/rework_mutexRémi Verschelde
Reimplement `Mutex` with C++'s `<mutex>` (plus more)
2020-02-27Properly free many vulkan resourcesclayjohn
2020-02-27Merge pull request #36186 from Calinou/remove-vulkan-debugging-printsRémi Verschelde
Remove Vulkan debugging prints
2020-02-27Renamed NavigationMeshInstance to NavigationRegionAndrea Catania
2020-02-26Reimplement Mutex with C++'s <mutex>Pedro J. Estébanez
Main: - It's now implemented thanks to `<mutex>`. No more platform-specific implementations. - `BinaryMutex` (non-recursive) is added, as an alternative for special cases. - Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes. - Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts. - A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this. - `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`. - Thread-safe utilities are therefore simpler now. Misc.: - `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same. - Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock). - `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26Merge pull request #36428 from clayjohn/VULKAN-ref-probe-skyRémi Verschelde
Properly flip sky when rendering reflection probes
2020-02-26Merge pull request #36551 from AndreaCatania/navigation_destruction_flushRémi Verschelde
Flushes commands just before the navigation server is destroyed
2020-02-26Flushes commands just before the navigation server is destroyedAndrea Catania