summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2022-11-02Merge pull request #67639 from clayjohn/GLES3-2d-shadowsRémi Verschelde
Add 2D shadows and canvas SDF to OpenGL3 renderer
2022-11-01Add texture reading code to OpenGL3 renderer for web and mobileclayjohn
This allows using texture_2d_get on all platforms which is needed for the get_image function This commit also fixes some OpenGL warnings on the Web platform that came from attempting to map a buffer with zero length
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #54309 from ibrahn/alsa-midi-fixRémi Verschelde
Fix MIDI input with ALSA
2022-10-31Merge pull request #67729 from Riteo/workaround-extension-feature-bugRémi Verschelde
Check for a Vulkan extension before checking its features
2022-10-31Merge pull request #67032 from clayjohn/GLES3-gpu-profilingRémi Verschelde
Add OpenGL timer queries to OpenGL3 backend
2022-10-28Merge pull request #67112 from Chaosus/fix_boolean_uniform_instancesYuri Rubinsky
2022-10-28Add 2D shadows and canvas SDF to OpenGL3 rendererclayjohn
This is an initial implementation based on the current RD implementation Performance will improve later
2022-10-27Merge pull request #66107 from devloglogan/ambient-light-disabled-fixClay John
Fix ambient_light_disabled render mode flag
2022-10-27Merge pull request #64710 from MinusKube/window-size-crashClay John
Prevent windows from having a size greater than device limit
2022-10-27Merge pull request #67043 from clayjohn/clip_childrenClay John
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-26Merge pull request #67912 from RevoluPowered/fix-exeception-bad-accessClay John
Fix EXE_BAD_ACCESS caused by optional argument
2022-10-26Fix EXE_BAD_ACCESS caused by optional argumentGordon MacPherson
This argument is now non optional, but this never hits the same bad access. I voted to simplify the code here since the argument is never used optionally in our codebase.
2022-10-24Merge pull request #67541 from RandomShaper/refactor_subgroup_adsClay John
Let the RD driver itself expose subgroup caps
2022-10-23Merge pull request #65334 from dsnopek/opengl-multiviewClay John
[opengl] Add multiview to the opengl3 driver
2022-10-22implemented mesh_surface_update_x functionskeptsecret
2022-10-22Check for a Vulkan extension before checking its featuresRiteo
For some reason AFAICT mesa reports a feature as enabled even when its extension isn't supported. The Vulkan specification says nothing aboutd this so this is technically more of a workaround, but it works.
2022-10-21Add multiview to the opengl3 driverDavid Snopek
2022-10-20Let the RD driver itself expose subgroup capsPedro J. Estébanez
2022-10-19Use opaque composition if transparency is disabledRiteo
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-17Fix MIDI input with ALSA.Ibrahn Sahir
Reworked the handling of ALSA RawMidi input to support: - Running Status. - RealTime Category messages arriving during other messages data. - Multiple connected RawMidi interfaces.
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-15Merge pull request #67416 from clayjohn/GLES3-primitiveRémi Verschelde
Fix drawing of 2D primitives in OpenGL3 renderer
2022-10-14Fix drawing of 2D primitives in OpenGL3 rendererclayjohn
Previously the wrong vertices were used when assembling the second triangle of a quad
2022-10-14Fix error in Web builds that resulting in 2Dclayjohn
objects not drawing in the GLES3 backend. Issue came from not binding a light UBO when using the DISABLE_LIGHTING code path
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-10-14Make some Image methods statickobewi
2022-10-14Detect Wine and disable unsupported IAudioClient3 interface.bruvzg
2022-10-13Improve behaviour of clip_children by clippingclayjohn
to parent alpha value, but still retaining parent color
2022-10-13Merge pull request #67335 from clayjohn/GLES3-2d-lightsRémi Verschelde
Add 2D lights to OpenGL3 canvas renderer
2022-10-13Merge pull request #67307 from TechnoPorg/lod-radial-distanceRémi Verschelde
Use radial distance for making LOD decisions.
2022-10-12Add 2D lights to OpenGL3 canvas rendererclayjohn
This is an initial implementation using the same single-pass approach as the RenderingDevice.
2022-10-12Use radial distance for making LOD decisions.TechnoPorg
Previously, only forward basis distance from the camera was used. This means that unnecessarily high LOD levels were used for objects located to the side of the camera. The distance from the camera origin is now used, independently of direction.
2022-10-11Merge pull request #67227 from BastiaanOlij/vkCreateRenderPass2KHR_fallbackClay John
Added fallback to vkCreateRenderPass
2022-10-12Added fallback to vkCreateRenderPass if ↵Bastiaan Olij
VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME isn't supported
2022-10-11Merge pull request #67110 from Chaosus/fix_incorrect_vec3_ubo_fillClay John
Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
2022-10-11Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde
Fetch video adapter driver name and version from OS
2022-10-11Fetch video adapter driver name and version from OS on Linux/*BSD and WindowsMJacred
2022-10-11Cleanup unused defines in platform codeRémi Verschelde
2022-10-11Merge pull request #67000 from RandomShaper/split_render_furtherRémi Verschelde
Polish rendering driver refactor further
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10SCons: Cleanup GCC warnings configurationRémi Verschelde
- Outright disable spammy warnings due to past or present GCC bugs: * `-Wno-strict-overflow` for GCC 7. * `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in earlier releases but at this stage we don't care). * `-Wno-return-type` for GCC 12/13 (regression, still not fixed). - Enable extra warnings conditionally when broken on earlier GCC: * `-Wnoexcept` was removed due to an upstream regression in GCC 9, could be re-enabled (but commented out for now as we actually have `-Wnoexcept` warnings to fix. * `-Wlogical-op` was broken on our variadic templates before GCC 11, now seems fine.
2022-10-09Fix incorrect setup of boolean uniform instancesYuri Rubinsky
2022-10-09Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`Yuri Rubinsky
2022-10-07Allow clearing backbuffer after finishing CanvasGroupclayjohn
This avoids an issue where having multiple CanvasGroups overlap would create a weird artifact
2022-10-07Add OpenGL timer queries to OpenGL3 backendclayjohn
This is useful for the visual debugger, printing FPS, and the in-editor FPS display
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Polish rendering driver refactor furtherPedro J. Estébanez
Mainly: - Make `max_descriptors_per_pool` project setting Vulkan-specific. - Use a common, render driver agnostic magic FourCC for shader binary data. - Downgrade spirv_reflect to Vulkan-only dependency. - Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.