summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #65525 from MJacred/os/distributionRémi Verschelde2022-09-162-0/+10
|\ | | | | | | Add get_distribution_name() and get_version() to OS
| * Add get_distribution_name() and get_version() to OSMJacred2022-09-162-0/+10
| | | | | | | | | | | | supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
* | Merge pull request #65833 from JFonS/taa_fix_particles_errorsRémi Verschelde2022-09-161-6/+7
|\ \ | |/ |/| | | Fix error spam in the renderer when using GPUParticles3D
| * Fix error spam in the renderer when using GPUParticles3DJFonS2022-09-161-6/+7
| | | | | | | | | | | | The flag INSTANCE_DATA_FLAG_MULTIMESH is used for both multimesh and particles instances, this commit adds a new INSTANCE_DATA_FLAG_PARTICLES flag to discriminate between them. This flag will also be used in the future to properly support TAA in particles.
* | Merge pull request #65794 from Geometror/fix-canvas-backbufferRémi Verschelde2022-09-161-3/+15
|\ \ | |/ |/| | | Fix/restore BackBufferCopy
| * Fix/restore BackBufferCopyHendrik Brucker2022-09-151-3/+15
| |
* | Merge pull request #65796 from clayjohn/GLES3-canvas-shaderRémi Verschelde2022-09-141-4/+4
|\ \ | |/ |/|
| * Fix canvasitem shader builtins when using GLES3clayjohn2022-09-141-4/+4
| | | | | | | | Remove prefix canvas_data. as it isn't used in the internal canvasitem shader
* | Clear last frame directional light buffer when number of lights changes.clayjohn2022-09-141-0/+1
|/ | | | This ensures that the buffers don't go out of sync.
* Merge pull request #65746 from clayjohn/GLES3-mem-leakRémi Verschelde2022-09-131-0/+15
|\ | | | | Fix leaking of Mesh version and lod memory when freeing mesh in GLES3
| * Fix leaking of Mesh version and lod memory when freeing mesh in GLES3clayjohn2022-09-131-0/+15
| |
* | Move debanding into internal sky shader code so that it is applied after ↵clayjohn2022-09-132-0/+14
|/ | | | | | everything else. This ensures that the debanding does not scale with exposure or any other effect.
* Merge pull request #65509 from gotnospirit/master-os-get_datetimeRémi Verschelde2022-09-132-19/+5
|\ | | | | | | get_datetime_* functions can return wrong values
| * Fixes #65377: get_datetime_* functions can return wrong valuesJames2022-09-102-19/+5
| |
* | Fix multiwindow support in GLES3 for X11, Windows, and MacOS.clayjohn2022-09-121-8/+0
| | | | | | | | | | | | | | Instead of updating all viewports, then blitting all viewports to the backbuffer, then swapping all buffers, we run through all viewports and render, blit, and swap backbuffer before going to the next viewport.
* | Merge pull request #65544 from clayjohn/lambert-wrapRémi Verschelde2022-09-121-3/+4
|\ \ | | | | | | Apply energy conservation to LAMBERT_WRAP diffuse mode by dividing by PI
| * | Apply energy conservation to LAMBERT_WRAP and TOON diffuse modes by dividing ↵clayjohn2022-09-121-3/+4
| |/ | | | | | | by PI
* / Use proper color type for transparent render targets in GLES3clayjohn2022-09-121-1/+1
|/
* Merge pull request #65016 from timothyqiu/skin-dataRémi Verschelde2022-09-071-0/+4
|\ | | | | Fix crash when executing `TubeTrailMesh.get_faces()` with GLES3
| * Fix crash when executing `TubeTrailMesh.get_faces()` with GLES3Haoyu Qiu2022-08-291-0/+4
| |
* | Fix crash when executing `SubViewport.set_size_2d_override_stretch`Haoyu Qiu2022-09-071-1/+1
| |
* | Fix rendering when using WebGL2.clayjohn2022-09-064-308/+6
| | | | | | | | Fixes include using proper depth buffer format in 3D (this had previously been fixed already but the changes were lost in a rebase), Remove unused lighting and shadowing code in 2D, and update 2D UBOs using glBufferSubData so that they remain the appropriate size.
* | Merge pull request #64417 from aaronfranke/has-spaceRémi Verschelde2022-09-061-1/+1
|\ \ | | | | | | | | | Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
| * | Replace AABB has_no_volume with has_volumeAaron Franke2022-09-041-1/+1
| | | | | | | | | | | | Also replace has_no_surface with has_surface
* | | Fix various uninitialized member pointersRémi Verschelde2022-09-061-1/+1
|/ / | | | | | | | | | | | | | | | | | | Using this command: ``` find -name "thirdparty" -prune -o -name "*.h" -exec sed -i {} -e '/return /! s/\t\([A-Za-z0-9_]* \*[A-Za-z0-9_]*\)\;/\t\1 = nullptr;/g' \; ``` And then reviewing the changes manually to discard the ones that don't seem correct/safe/good (notably changes to `core` unions).
* | Re-enable per-pixel transparency support on Linux, macOS, and Windows (for ↵bruvzg2022-09-032-14/+1
| | | | | | | | Vulkan and OpenGL rendering drivers).
* | Merge pull request #65170 from KoBeWi/your_argument_is_TypedArrayRémi Verschelde2022-09-022-2/+2
|\ \
| * | Change Array arguments to TypedArraykobewi2022-09-012-2/+2
| | |
* | | Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde2022-09-024-69/+69
|\ \ \
| * | | Rename `uniform` to `parameter` across the engineYuri Rubinsky2022-09-014-69/+69
| |/ /
* | | Extracting render buffers and changing it to a more generic solutionBastiaan Olij2022-09-014-136/+226
| | |
* | | Implement Physical Light Units as an optional setting.clayjohn2022-08-318-60/+163
|/ / | | | | | | | | | | This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
* | Add a per-light volumetric fog energy propertyHugo Locurcio2022-08-302-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Per-light energy gives more control to the user on the final result of volumetric fog. Specific lights can be fully excluded from volumetric fog by setting their volumetric fog energy to 0, which improves performance slightly. This can also be used to prevent short-lived dynamic effects from poorly interacting with volumetric fog, as it's updated over several frames by default unless temporal reprojection is disabled. Volumetric fog shadows now obey Light3D's Shadow Opacity property as well. The shadow fog fade property was removed as it had little visible impact on the final scene's rendering.
* | Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde2022-08-304-6/+51
|\ \
| * | Implement MSAA for 2D [Vulkan only]Hendrik Brucker2022-08-134-6/+51
| | |
* | | Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde2022-08-304-27/+27
|\ \ \
| * | | Rename String `plus_file` to `path_join`Aaron Franke2022-08-294-27/+27
| | | |
* | | | Merge pull request #64883 from RandomShaper/vk_swapchain_sizingRémi Verschelde2022-08-302-26/+21
|\ \ \ \ | |/ / / |/| | | Let platforms override the sizing of Vulkan swapchain and window
| * | | Let platforms override the sizing of Vulkan swapchain and windowPedro J. Estébanez2022-08-252-26/+21
| | | |
* | | | [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-295-7/+7
| |_|/ |/| | | | | | | | Also rename export name from "HTML5" to "Web".
* | | Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde2022-08-262-4/+4
|\ \ \ | | | | | | | | Rename `str2var` to `str_to_var` and similar
| * | | Rename `str2var` to `str_to_var` and similarMicky2022-08-262-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
* | | Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde2022-08-267-64/+111
|\ \ \ | |/ / |/| |
| * | Add font LCD sub-pixel anti-aliasing support.bruvzg2022-08-237-64/+111
| | |
* | | Merge pull request #64776 from YuriSizov/import-images-moar-flagsRémi Verschelde2022-08-252-3/+3
|\ \ \
| * | | Make `ImageLoader` take bit field flagsYuri Sizov2022-08-232-3/+3
| | | |
* | | | Unify bits, arch, and android_arch into env["arch"]Aaron Franke2022-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | | | Merge pull request #64607 from RandomShaper/safe_audio_threadingRémi Verschelde2022-08-2511-71/+64
|\ \ \ \ | |/ / / |/| | |
| * | | Make audio thread control flags safePedro J. Estébanez2022-08-1911-71/+64
| | | |
* | | | Replace Array return types with TypedArraykobewi2022-08-228-29/+29
| |/ / |/| |