summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Validation layers on AndroidSzymon Majewski2021-04-122-67/+57
|
* Merge pull request #47640 from BastiaanOlij/fix_vulkan_formatRémi Verschelde2021-04-051-2/+25
|\ | | | | Chose format from supported ones that we support
| * Chose format from supported ones that we supportBastiaan Olij2021-04-051-2/+25
| |
* | Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde2021-04-051-1/+1
|/
* Removed debug codeSzymon Majewski2021-04-011-1/+1
|
* Merge pull request #47283 from Panquesito7/fix_lgtm_alertsRémi Verschelde2021-03-311-3/+3
|\ | | | | fix: 3 LGTM alerts/warnings
| * fix: 3 LGTM alerts/warningsDavid Leal2021-03-311-3/+3
| |
* | Merge pull request #47250 from BastiaanOlij/check_vulkan_versionRémi Verschelde2021-03-313-1/+269
|\ \ | | | | | | Obtain supported Vulkan API
| * | Obtain supported Vulkan APIBastiaan Olij2021-03-263-1/+269
| |/
* | WIP: Add support for VK_EXT_debug_report in VulkanSzymon Majewski2021-03-302-0/+92
| |
* | Rename Texture.get_data() to get_image()Marcel Admiraal2021-03-281-1/+1
| |
* | FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg2021-03-232-0/+24
|/
* Allow nullptr with zero length in FileAccess get_bufferAlex Hirsch2021-03-162-2/+2
| | | | fix #47071
* Thread: Re-add pthread_np.h include for FreeBSD/OpenBSDRémi Verschelde2021-03-141-0/+4
| | | | | | Was a regression from #45315. Fixes #46998.
* Merge pull request #46810 from W4RH4WK/file-access-get-buffer-parameter-checksRémi Verschelde2021-03-142-0/+4
|\ | | | | Add parameter checks to FileAccess get_buffer functions
| * Add parameter checkes to FileAccess get_buffer functionsAlex Hirsch2021-03-092-0/+4
| | | | | | | | fix #46540
* | Merge pull request #46900 from Ev1lbl0w/bugfix-malloc_callsRémi Verschelde2021-03-131-12/+18
|\ \ | | | | | | Replace malloc's with Godot's memalloc macro
| * | Replace malloc's with Godot's memalloc macroEv1lbl0w2021-03-131-12/+18
| |/
* / Fixes small typos and grammar correctionAnshul7sp12021-03-122-15/+15
|/
* Fix memory leak in VulkanContextRafał Mikrut2021-03-071-1/+1
|
* Fix negative VRAM valuesEv1lbl0w2021-03-051-1/+1
|
* Omit some functions in alsa wrapperHein-Pieter van Braam-Stewart2021-02-222-64/+4
| | | | | | | These functions don't yet exist on ubuntu 14.04 so this leads to build problems there. Omitting these symbols in the generated wrappers fixes this. If we want to start using these symbols at a later date we should just regenerate the wrapper.
* An update to the dylibloader for older inttypesHein-Pieter van Braam-Stewart2021-02-206-4934/+8236
| | | | | | | | This #define's older inttypes to their newer versions and #includes <stdint.h> in the generated files. This will help with older glibc/compiler versions using headers generated on newer systems. This closes #46223
* Reorganize Project Settingsreduz2021-02-185-11/+11
| | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* Don't clobber original library symbolsHein-Pieter van Braam-Stewart2021-02-185-8215/+9859
| | | | | | | | | | | It appears that we can get a fun circle dependency on a shared object on some system configurations causing issues with our 'fake' function pointer names. This can lead to a crash. The new wrapper generator renames all the symbols so this can't happen anymore. See https://github.com/hpvb/dynload-wrapper/commit/704135e This closes #46140
* RasterizerDummy now instances Image(s).Fabio Alessandrelli2021-02-171-4/+31
| | | | | Avoid crash on start-up, we will need to slowly re-implement the various methods with dummy objects so exporting works again like in 3.2
* Dynamically load libpulse.so.0 and libasound.so.1 on LinuxHein-Pieter van Braam-Stewart2021-02-1610-2/+19774
| | | | | | | | | | | | By generating stubs using https://github.com/hpvb/dynload-wrapper we can dynamically load libpulse and libasound on systems where it is available. Both are still a build-time requirement but no longer a run-time dependency. For maintenance purposes the wrappers should not need to be re-generated unless we want to bump pulse or asound to an incompatible version. It is unlikely we will want to do this any time soon. This closes #20978
* Improve resource load cachereduz2021-02-112-2/+2
| | | | | | -Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
* Sync and cleanup Rasterizer Dummy.Fabio Alessandrelli2021-02-111-382/+60
| | | | | Code diverged too much, removing disabled code too as it's unlikely it can be reused now.
* Simplify Volumetric Fogreduz2021-02-061-3/+1
| | | | | | | -Always use temporal reproject, it just loos way better than any other filter. -By always using termporal reproject, the shadowmap reduction can be done away with, massively improving performance. -Disadvantage of temporal reproject is update latency so.. -Made sure a gaussian filter runs in XY after fog, this allows to keep stability and lower latency.
* Fixes to get Godot running again on Intel IGPreduz2021-02-051-2/+12
| | | | | -Fixed strange bug with shadowed instance_param (this should not have worked anywhere, odd..) -Cleaned up barrier usage further.
* Merge pull request #45672 from reduz/barrier-optimizationRémi Verschelde2021-02-044-43/+341
|\ | | | | Rewrote how barriers work for faster rendering
| * Rewrote how barriers work for faster renderingreduz2021-02-044-43/+341
| | | | | | | | | | | | | | | | | | | | | | -Added more finegrained control in RenderingDevice API -Optimized barriers (use less ones for thee same) -General optimizations -Shadows render all together unbarriered -GI can render together with shadows. -SDFGI can render together with depth-preoass. -General fixes -Added GPU detection
* | Sync RasterizerDummy.Fabio Alessandrelli2021-02-031-0/+1
|/
* Always init `DEBUG_UTILS_MESSENGER_CREATE_INFO` structure if `DEBUG_UTILS` ↵bruvzg2021-02-021-3/+5
| | | | functions are used. Add temporary variables to fix potential use-after-free.
* Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde2021-01-3115-348/+31
|\ | | | | Modernize Thread
| * Modernize ThreadPedro J. Estébanez2021-01-2915-348/+31
| | | | | | | | | | | | | | | | | | - Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
* | Unify URI encoding/decoding and add to C#Aaron Franke2021-01-281-1/+1
| | | | | | | | http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
* | Merge pull request #45476 from qarmin/add_temp_variableRémi Verschelde2021-01-261-1/+2
|\ \ | | | | | | Add temporary variable to not use freed memory
| * | Add temporary variable to not use freed memoryRafał Mikrut2021-01-261-1/+2
| | |
* | | Reorganize RenderingDevice barriersreduz2021-01-263-90/+331
|/ / | | | | | | | | | | | | -Removed sync to draw, now everything syncs to draw by default. -Fixed many validation layer errors. -Added support for VkImageViewUsageCreateInfo to fix validation layer warnings. -Texture, buffer, raster and compute functions now all allow spcifying which barriers will be used.
* | Add named resources and debug labels in RenderDocclayjohn2021-01-254-4/+132
| |
* | DummyRasterizer Sync.Fabio Alessandrelli2021-01-251-2/+4
| |
* | Shadow map rendering optimizationreduz2021-01-241-8/+16
|/ | | | | | | -All shadow rendering is done with raster now (no compute) -All shadow rendering is done by rendering directly to the shadow atlas -Improved how buffer clearing is done to optimize the above. -Ability to set shadows as 16 bits.
* Merge pull request #45314 from RandomShaper/modernize_rwlockRémi Verschelde2021-01-225-308/+0
|\ | | | | Modernize RWLock
| * Modernize RWLockPedro J. Estébanez2021-01-195-308/+0
| | | | | | | | | | | | | | | | - Based on C++14's `shared_time_mutex` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed - Simpler for `NO_THREADS`
* | Added GPU based cluster builderreduz2021-01-192-14/+41
|/ | | | Clustering is now GPU based, uses an implementation based on the Activision algorithm.
* Merge pull request #45157 from madmiraal/fix-44514Rémi Verschelde2021-01-131-2/+4
|\ | | | | Raise SIGKILL instead of CRASH_NOW in child process when fork fails
| * Raise SIGKILL instead of CRASH_NOW in child process when fork failsMarcel Admiraal2021-01-131-2/+4
| |
* | Fix OS::execute() and OS::create_process() command line argument CharStrings ↵bruvzg2021-01-131-6/+16
|/ | | | freed before use.