summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2023-02-17OpenGL: fix culling without depth prepassrsjtdrjgfuzkfg
This commit ensures a known backface culling state when rendering, even if no depth prepass is used. This fixes backside culling not being applied properly in some situations, most notably in scenes that only use backside culling on mobile platforms.
2023-02-16Merge pull request #73359 from bruvzg/so_wrap_optRémi Verschelde
[Linux] Make SO wrapper usage optional.
2023-02-16[Linux] Make SO wrapper usage optional.bruvzg
2023-02-16Restore FileAccess.close method.bruvzg
2023-02-15Merge pull request #73332 from clayjohn/GL-h2f-branchRémi Verschelde
Avoid branch in half2float in gl_compatibility renderer
2023-02-14Avoid branch in half2float in gl_compatibility rendererclayjohn
2023-02-14Clear Window before blitting Viewport in gl_compatibility rendererclayjohn
2023-02-14Merge pull request #73263 from clayjohn/render_priorityRémi Verschelde
Notify mesh surface when render_priority changes
2023-02-14Merge pull request #73255 from clayjohn/GLES3-batch-blendRémi Verschelde
Store blend mode between CanvasItems to preserve batching
2023-02-13Notify mesh surface when render_priority changesclayjohn
This ensures that the mesh properly takes render_priority into account when changed
2023-02-13Store blend mode between CanvasItems to preserve batchingclayjohn
2023-02-13Merge pull request #69001 from dzil123/fix_rendering_checksRémi Verschelde
Fix various missing rendering parameter checks
2023-02-12Make present mode info message print only on changeWiktor Kocielski
Styling fix
2023-02-10Make draw command labels thread safesakrel
2023-02-10Merge pull request #70663 from EpEpDragon/feature_buffer_get_data_size_optionRémi Verschelde
Add optional size parameter to the RenderDevice buffer_get_data method.
2023-02-09Properly reset blend mode when resetting canvas in compatibility rendererclayjohn
2023-02-09Further refactoring to AudioDriver implementations after #69120.Emmanouil Papadeas
- Rename all instances of `capture_start()` and `capture_end()` to their new names. Fixes #72892. - More internal renames to match what was started in #69120. - Use `override` consistently so that such refactoring bugs can be caught. - Harmonize the order of definition of the overridden virtual methods in each audio driver. - Harmonize prototype for `set_output_device` and `set_input_device`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-08Handle 0 exponent in float/half conversion for OpenGlJoJoX
2023-02-08Merge pull request #72858 from clayjohn/VK-swap-buffers-errRémi Verschelde
Add more debug information to swapchain errors in Vulkan context
2023-02-07Add more debug information to swapchain errors in Vulkan contextclayjohn
2023-02-07Set instancing flags when using GPUParticles in OpenGL rendererclayjohn
2023-02-06Implement cull_mask for decals and lights in mobile and compatibility backendsclayjohn
2023-02-04Merge pull request #72695 from clayjohn/CanvasGroup-shadingYuri Sizov
Avoid shading CanvasGroup nodes twice
2023-02-03Avoid shading CanvasGroup nodes twiceclayjohn
2023-02-04Merge pull request #72684 from clayjohn/mm-updateRémi Verschelde
Fix MultiMesh visible_instance_count being ignored after the first frame
2023-02-04Merge pull request #72690 from Calinou/opengl-trim-gpu-nameRémi Verschelde
Trim "/PCIe/SSE2" from GPU names when starting the OpenGL renderer
2023-02-04Merge pull request #72681 from clayjohn/GL-multimesh-colorRémi Verschelde
Ignore instance color and instance custom_data when not used in the OpenGL renderer
2023-02-03Trim "/PCIe/SSE2" from GPU names when starting the OpenGL rendererHugo Locurcio
This makes the command line print consistent with the Vulkan renderer.
2023-02-03Fix MultiMesh visible_instance_count being ignored after the first frameRicardo Buring
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-02-03Ignore instance color and instance custom_data when not used in the OpenGL ↵clayjohn
renderer
2023-02-03Print name of Vulkan rendering method on startupHugo Locurcio
This helps troubleshooting as the CLI logs now distinguish between Forward+ and Forward Mobile.
2023-02-03Merge pull request #72631 from rburing/custom_aabb_update_dependencyRémi Verschelde
Notify dependencies when setting custom mesh AABB
2023-02-03Merge pull request #72589 from BastiaanOlij/add_layer_slice_supportRémi Verschelde
Add layer slice support to render device and render buffers
2023-02-03Add layer slice support to render device and render buffersBastiaan Olij
2023-02-02Notify dependencies when setting custom mesh AABBRicardo Buring
Fixes SoftBody3D culling issues.
2023-02-02Fix texture rect transpose for OpenGLNinni Pipping
2023-02-01Merge pull request #72485 from BastiaanOlij/add_eye_matrix_accessRémi Verschelde
Expose EYE_OFFSET to gdshader code
2023-02-01Merge pull request #72227 from dsnopek/openxr-opengl-skyRémi Verschelde
Fix sky rendering with multiview in OpenGL
2023-02-01Merge pull request #72474 from clayjohn/GL-leaky-texRémi Verschelde
Avoid leaking texture->tex_id when clearing render targets
2023-02-01Merge pull request #72075 from Maran23/extents-to-sizeRémi Verschelde
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01Expose EYE_OFFSET to gdshader codeBastiaan Olij
2023-01-31Avoid leaking texture->tex_id when clearing render targetsclayjohn
2023-01-31Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and ↵Marius Hanl
GPUParticles*3D - Extents are replaced by Size (Size is Extents * 2) - The UI text displays 'Size' - Snapping is adjusted to work with Size - _set and _get handle extents for compatibility Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-31Fix sky rendering with multiview in OpenGLDavid Snopek
2023-01-31Audio rename (device, capture_device) -> (output_device, input_device)souplamp
Change instances of audio properties 'device' to 'output_device', and instances of audio properties 'capture_device' to 'input_device', as well as their subsequent getter & setter functions. Update the docs to reflect these changes, as well as the 3-to-4 converter for GDScript and CSharp to make proper conversions (only exception is 'device' since that name is too vague and might replace non-AudioServer related instances, such as user comments and variables). This does not change internal references to references like 'Render Client' and 'Capture Client' in WASAPI; such is outside the scope of this commit. This also does not change ALSA's references, considering that it uses 'device' to mean input and output interchangeably. Other references are changed, however where applicable, to be consistent with the new AudioServer methods and property names.
2023-01-31Merge pull request #72433 from clayjohn/Pointlight2D-crashRémi Verschelde
Avoid crash when CanvasTexture used with light decal atlas
2023-01-30Avoid crash when CanvasTexture used with light decal atlasclayjohn
The decal atlas is used for Light2Ds, decals, and Light3Ds
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30[X11] Add support for dead keys without active IME. Fix IME focus and cleanup.bruvzg
2023-01-29Merge pull request #72291 from clayjohn/GL-item-capRémi Verschelde
Remove cap on number of items drawn in frame in 2D gl_compatibility renderer