summaryrefslogtreecommitdiffstats
path: root/servers/rendering
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Merge pull request #93401 from Repiteo/style/clang-tidy-fixesThaddeus Crews2024-11-045-7/+8
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Style: Apply `clang-tidy` fixes
| | * | | | | | | Style: Apply `clang-tidy` fixes (superficial)Thaddeus Crews2024-11-043-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | • `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
| | * | | | | | | Style: Apply `clang-tidy` fixesThaddeus Crews2024-11-042-4/+4
| | | |_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | • `modernize-use-default-member-init` and `readability-redundant-member-init` • Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
| * | | | | | | Merge pull request #98709 from darksylinc/matias-upsidedown-splashThaddeus Crews2024-11-044-2/+15
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix splash screen upside down on Android
| | * | | | | | | Fix splash screen upside down on AndroidMatias N. Goldberg2024-10-314-2/+15
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an issue introduced in #96439 (see https://github.com/godotengine/godot/pull/96439#issuecomment-2447288702) Godot was relying on Java's activity.getWindowManager().getDefaultDisplay().getRotation(); to apply pre-rotation but this is wrong. First, getRotation() may temporarily return a different value from the correct one; which is what was causing the splash screen to be upside down. It would return -90 instead of 90 for the first rendered frame. But unfortunately, the splash screen is just one frame rendered for a very long time, so the error lingered for a long time for everyone to see. Second, to determine what rotation to use, we should be looking at what Vulkan told us, which is the value we pass to VkSurfaceTransformFlagBitsKHR::preTransform. This commit removes the now-unnecessary screen_get_internal_current_rotation() function (which was introduced by #96439) and now saves the preTransform value in the swapchain.
| * | | | | | | Merge pull request #98701 from DarioSamo/rd-graph-improvementsThaddeus Crews2024-11-049-35/+77
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dependency detection improvements to the render graph.
| | * | | | | | | Add dependency detection improvements to the render graph.Dario2024-11-019-35/+77
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Buffers changing their usage are no longer treated as write usage unless the API requires it. - Draw lists are not treated as being dependent on each other if their regions do not intersect despite both being write commands. - Particles were tweaked to use different unused buffers to reduce dependencies.
| * | | | | | | Merge pull request #98825 from DarioSamo/mobile-scsThaddeus Crews2024-11-0410-275/+260
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Add multiple specialization constants to Forward+ and Mobile.
| | * | | | | | | Add multiple specialization constants to Forward+ and Mobile.Dario2024-11-0410-275/+260
| | |/ / / / / /
| * | | | | | | Merge pull request #96705 from elmajime/camera_from_external_feedThaddeus Crews2024-11-047-9/+26
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | Add support for external camera feed from external plugin on Android
| | * | | | | | Added external camera feed from external plugin on Androidmaxime.chambefort2024-10-307-9/+26
| | |/ / / / /
* | | | | | | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-3037-242/+655
|\| | | | | |
| * | | | | | Merge pull request #97247 from thimenesup/draw_indirect_rdThaddeus Crews2024-10-294-0/+171
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add draw indirect to Rendering Device
| | * | | | | | Add draw indirect to Rendering Devicethimenesup2024-10-294-0/+171
| | | | | | | |
| * | | | | | | Merge pull request #98652 from stuartcarnie/2d_texture_state_fixesThaddeus Crews2024-10-295-145/+329
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2D: Fix various issues and minor performance optimisations
| | * | | | | | | 2D: Fix various issues and minor performance optimisationsStuart Carnie2024-10-305-145/+329
| | | | | | | | |
| * | | | | | | | Merge pull request #98612 from DarioSamo/alignment-transfer-fixThaddeus Crews2024-10-291-5/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix transfer alignment on initial texture transfer.
| | * | | | | | | | Fix transfer alignment on initial texture transfer.Dario2024-10-281-5/+4
| | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | Fixes the regression caused by transfer workers with textures with non-standard dimensions such as the ones provided in #98601.
| * | | | | | | | Merge pull request #97934 from adamscott/give-AThousandShips-a-breakThaddeus Crews2024-10-2921-62/+62
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
| | * | | | | | | | Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-2521-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set clang-format `Standard` rule to `c++20`
| * | | | | | | | | Merge pull request #98562 from Rudolph-B/Issue-98561Thaddeus Crews2024-10-291-1/+1
| |\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | Fix Occlusion Culling not working for an orthogonal camera.
| | * | | | | | | | Fix Occlusion Culling not working for an orthogonal camera.Rudolph Bester2024-10-261-1/+1
| | | |/ / / / / / | | |/| | | | | |
| * | | | | | | | Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebasedClay John2024-10-296-2/+46
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add Swappy & Pre-Transformed Swapchain
| | * | | | | | | | Add Swappy & Pre-Transformed SwapchainMatias N. Goldberg2024-10-286-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds Swappy for Android for stable frame pacing - Implements pre-transformed Swapchain so that Godot's compositor is in charge of rotating the screen instead of Android's compositor (performance optimization for phones that don't have HW rotator) ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up. Changes from original PR: - Removed "display/window/frame_pacing/android/target_frame_rate" option to use Engine::get_max_fps instead. - Target framerate can be changed at runtime using Engine::set_max_fps. - Swappy is enabled by default. - Added documentation. - enable_auto_swap setting is replaced with swappy_mode.
| * | | | | | | | | Fix soft shadows by increasing the bit count for specialization constants.Dario2024-10-285-27/+42
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-27166-332/+332
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix copyright headers referring to Godot
| * | | | | | | | | Fix copyright headers referring to GodotSpartan3222024-10-27166-332/+332
| | | | | | | | | |
* | | | | | | | | | Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-266-14/+24
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| / / / / / / / / | |/ / / / / / / /
| * | | | | | | | Merge pull request #98425 from darksylinc/matias-breadcrumbs-race-fixThaddeus Crews2024-10-252-2/+13
| |\ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | Fix race conditions in breadcrumbs
| | * | | | | | | Fix race conditions in breadcrumbsMatias N. Goldberg2024-10-222-2/+13
| | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds "--accurate-breadcrumbs" CLI command Additionally, leave out breadcrumbs code in non-debug, non-dev builds. Fix regression introduced in #98388 where command_insert_breadcrumb() is called even in non-debug builds. Fixes #98338
| * | | | | | | Merge pull request #98448 from Chaosus/shader_global_builtinsYuri Rubinsky2024-10-253-11/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make `OUTPUT_IS_SRGB/CLIP_SPACE_FAR` shader built-ins global
| | * | | | | | | Make `OUTPUT_IS_SRGB/CLIP_SPACE_FAR` shader built-ins globalChaosus2024-10-243-11/+6
| | | | | | | | |
| * | | | | | | | Merge pull request #98257 from Rudolph-B/94210-BClay John2024-10-241-1/+5
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix to occlusion culling where all math is based on Euclidean distance.
| | * | | | | | | | Alternative fix to occlusion culling where all math is based on Euclidean ↵Rudolph Bester2024-10-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distance.
* | | | | | | | | | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5Spartan3222024-10-2415-77/+190
|\| | | | | | | | |
| * | | | | | | | | Merge pull request #85338 from EMBYRDEV/shadow-caster-maskThaddeus Crews2024-10-247-4/+31
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `shadow_caster_mask` to Light3D.
| | * | | | | | | | | Add `shadow_caster_mask` to Light3D.Hannah Crawford2024-08-127-4/+31
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #98266 from m-pranav-r/fix-light-visual-instanceThaddeus Crews2024-10-241-0/+4
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix light culling mask behavior in Mobile and Compat renderers
| | * | | | | | | | | | Fixed light culling mask behavior in Mobile and Compat renderersm-pranav-r2024-10-231-0/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #86103 from ecmjohnson/fix-inside-volfogThaddeus Crews2024-10-241-26/+54
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix volumetric fog artifacts when inside the fog
| | * | | | | | | | | | | Fix volumetric fog artifacts when inside the fogErik Johnson2024-03-241-26/+54
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #98247 from ↵Thaddeus Crews2024-10-241-1/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCROC/fix-headless-graphics-driver-and-shader-crash Don't create rendering device or parse glsl shader in headless mode
| | * | | | | | | | | | | fix headless import attempting to load graphics driverTravis Lange2024-10-221-1/+4
| | | |_|_|_|_|/ / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | Merge pull request #93590 from Chaosus/shader_custom_func_discardYuri Rubinsky2024-10-242-8/+18
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Allow usage of `discard` inside custom shader functions
| | * | | | | | | | | | | Allow usage of `discard` inside custom shader functionsYuri Rubinsky2024-10-172-8/+18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #93650 from Chaosus/shader_stage_custom_funcsYuri Rubinsky2024-10-243-38/+71
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | Allow using stage functions inside custom shader functions
| | * | | | | | | | | | | Allow using stage functions inside custom shader functionsYuri Rubinsky2024-10-173-38/+71
| | |/ / / / / / / / / /
| * | | | | | | | | | | Merge pull request #98391 from RandomShaper/rd_thread_switchClay John2024-10-223-0/+8
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | Implement thread ownership change for RenderingDevice
| | * | | | | | | | | | Implement thread ownership change for RenderingDevicePedro J. Estébanez2024-10-213-0/+8
| | | | | | | | | | | |
* | | | | | | | | | | | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-2210-47/+101
|\| | | | | | | | | | |