summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2023-01-06Properly map shader language texture hints to sampler hints in GLES3 rendererclayjohn
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Ignore depth draw optimization when using depth draw alpha prepassclayjohn
This is necessary as the scene shader still uses alpha in this case so we can't discard fragments that weren't written to the depth buffer
2022-12-23Merge pull request #70253 from BastiaanOlij/cleanup_sky_renderRémi Verschelde
Cleanup and improve sky render
2022-12-23Merge pull request #69998 from BastiaanOlij/sorting-pivot-4Rémi Verschelde
Added options for sorting transparent objects (port of PR #63040)
2022-12-23Cleanup and improve sky renderBastiaan Olij
2022-12-23Added options for sorting transparent objects (port of PR 63040)Bastiaan Olij
2022-12-21Fix reading Unicode from stdio.bruvzg
2022-12-20Merge pull request #65376 from reduz/astc-supportRémi Verschelde
Implement basic ASTC support
2022-12-20Implement basic ASTC supportJuan Linietsky
Implements basic ASTC support: * Only 4x4 and 8x8 block sizes. * Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future. The need for ASTC is mostly for the following use cases: * Implement a high quality compression option for textures on mobile and M1 Apple hardware. * For this, the 4x4 is sufficient, since it uses the same size as BPTC. ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high. Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing. Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
2022-12-17Merge pull request #70091 from clayjohn/bone-aabbsRémi Verschelde
Remove mesh bone_aabbs as they are not used anywhere and calculating them is a pain
2022-12-17Merge pull request #70132 from clayjohn/RT-updateRémi Verschelde
Implement render_target_was_used API so that Viewports can properly check if they have been used.
2022-12-17Merge pull request #70163 from clayjohn/particles-sdfRémi Verschelde
Transform sdf xfrom by particle emission transform when particles are in global space
2022-12-17Merge pull request #70133 from lyuma/negative_scale_backfaceRémi Verschelde
Flip culling when rendering a camera with negative scale
2022-12-17Merge pull request #70087 from clayjohn/mesh-aabbRémi Verschelde
Cache mesh AABB when modified by skeleton and update instance AABB when skeleton changes
2022-12-16Implement boot image in OpenGL3 rendererclayjohn
2022-12-16Transform sdf xfrom by particle emission transform when particles are in ↵clayjohn
global space
2022-12-16Implement render_target_was_used API so that Viewports can properly check if ↵clayjohn
they have been used. For the RD renderer, this does not work for Viewports used in scene shaders yet
2022-12-15Flip culling when rendering a camera with negative scaleLyuma
2022-12-15Merge pull request #70065 from clayjohn/GLES3-attribsRémi Verschelde
Use instanced array buffer instead of UBO for canvas item batching
2022-12-15Merge pull request #70016 from Chaosus/refactor_rd_shader_dataYuri Rubinsky
fixed https://github.com/godotengine/godot/issues/69949
2022-12-15Use instanced array buffer instead of UBO for canvas item batchingclayjohn
This simplifies the generated shader code which increases both performance and compile time on low end devices
2022-12-15Merge pull request #70104 from RandomShaper/vk_dev_assertsClay John
Replace certain sanity checks with proper dev-only assertions in Vulkan RD
2022-12-15Merge pull request #70102 from Chaosus/rd_remove_usage_indirectYuri Rubinsky
2022-12-15Replace certain sanity checks with proper dev-only assertions in Vulkan RDPedro J. Estébanez
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-15Changed `STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT` type to enum flagsYuri Rubinsky
2022-12-15Merge pull request #69709 from RandomShaper/refactor_spirv_reflectionRémi Verschelde
Refactor SPIR-V reflection into a generic RenderingDevice feature
2022-12-15Refactor `ShaderData` & fix the sorting of shader uniformsYuri Rubinsky
2022-12-14Remove mesh bone_aabbs as they are not used anywhere and calculating them is ↵clayjohn
a pain
2022-12-14Cache mesh AABB when modified by skeleton and update instance AABB whenclayjohn
skeleton changes
2022-12-13Merge pull request #70009 from clayjohn/glow-hqRémi Verschelde
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13Various fixes and documentation for CanvasGroupclayjohn
Properly apply custom materials with CanvasGroups in the GLES3 backend Properly blur backbuffer when using a partial rect in forward_plus and gl_compatibility renderers Properly set fit_margin when clear_margin is set Fix shader error during backbuffer clear in mobile renderer
2022-12-13Remove high quality glow as it is not any higher quality than regular glowclayjohn
2022-12-12Refactor SPIR-V reflection into a generic RenderingDevice featurePedro J. Estébanez
2022-12-12Tidy up some aspects of Vulkan RDPedro J. Estébanez
2022-12-12Merge pull request #69635 from BastiaanOlij/fix_get_bufferRémi Verschelde
Fix barrier on buffer_get_data
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-12Merge pull request #69901 from akien-mga/gles3-fix-scene-shader-omni-spotRémi Verschelde
OpenGL: Fix scene shader error when using Omni or Spot but not both
2022-12-11Changed `RD::PipelineDynamicStateFlags` type to enum flagsYuri Rubinsky
2022-12-11OpenGL: Fix scene shader error when using Omni or Spot but not bothRémi Verschelde
Fixes #69886.
2022-12-10Invalidate the previous index array after calling glBindVertexArray, as this ↵Malcolm Nixon
call clears the GL_ELEMEMT_ARRAY_BUFFER when changing the state. Update rasterizer_scene_gles3.cpp Fix white-space to match godotengine checks.
2022-12-08Merge pull request #69735 from clayjohn/Particles2D-sdfRémi Verschelde
Detect and report if 2D particles use the screen SDF
2022-12-07Merge pull request #69733 from clayjohn/GLES3-skeleton-leakRémi Verschelde
Properly free Skeleton RID in RenderingServer.free()
2022-12-07Detect and report if 2D particles use the screen SDFclayjohn
This ensures that the SDF is updated even if not used in a canvas_item shader
2022-12-07Properly free Skeleton RID in RenderingServer.free()clayjohn
2022-12-06Merge pull request #69322 from BastiaanOlij/fix_vulkan_versionsRémi Verschelde
Fix issue around incorrect Vulkan version
2022-12-06Merge pull request #69636 from Malcolmnixon/vulkan-mobile-sky-matrixRémi Verschelde
Fix mobile renderer sky_transform operations
2022-12-06Modified the mobile renderer to apply the sky_transform operations in the ↵Malcolm Nixon
same order as the forward_plus renderer. Update rasterizer_scene_gles3.cpp Apply sky_transform order fix to the gles3 renderer.