Aaron Franke
029de52001
Add GetStringFromUTF8 and GetStringFromASCII
2020-10-17 04:17:29 -04:00
John Zulauf
d2083282c0
Add pre-copy barrier to buffer update
...
Add a barrier to "safe" the buffer update write from previous accesses
to buffer range being updated. Remove duplicate unneed barrier.
2020-10-16 19:18:33 -06:00
John Zulauf
459fa078e0
Add subpass sync support for layout transitions
...
Add additional source and dest mask bits for "from external" and "to
external" subpass dependencies (respectively) when intial and final
layouts cause implicit layout transitions.
This is a big hammer -- any transition in a given direction will create
a full barrier. Attachment specific stage and access flags could be
used instead with additional logic to deduce the prior and intended
subsequent usages.
2020-10-16 19:17:07 -06:00
John Zulauf
5191a8e9db
Sync fix for clear texture
...
Make pre and post barriers non-conditional on format, as there are cases
where pending operations in the GENERAL layout hazarding with clear.
2020-10-16 15:50:48 -06:00
John Zulauf
9a9f667818
Sync fix texture_get_data bad barrier param
...
Changed srcStageMask to the valid stage for post transfer barrier.
2020-10-16 15:43:51 -06:00
John Zulauf
3a1f14461a
Additional synchronization fixes w/o FORCE_FULL_BARRIER
...
Additional synchronization fixes from hazards arising from disabling
FORCE_FULL_BARRIER.
2020-10-16 11:33:02 -06:00
John Zulauf
474fc19601
Correct stage masks for storage texture barriers
...
Change the srcStageMasks and dstStageMasks for the storage texture end
draw barriers to refer to the correct stages for the use.
2020-10-16 11:33:02 -06:00
John Zulauf
d92f2e4a2d
Add barrier for buffer getting
...
Add barrier for source buffer when getting. Refactor common "owner and
stage/access" code to utility function.
2020-10-16 11:33:02 -06:00
John Zulauf
5a77eb5a83
Add fragment stage to texture copy/resolve barriers
...
Added the fragment stage to the texture copy and resolve final barriers
for source and dest. As the textures could subsequently be used by the
fragment stage, this was triggering a validation error from the
pre-alpha synchronization validation.
2020-10-16 11:33:02 -06:00
Rémi Verschelde
94e5f66cbb
Merge pull request #42679 from Xrayez/ci-sconsflags
...
CI: Refactor build workflows to use `SCONSFLAGS`
2020-10-16 15:36:24 +02:00
Sergey Minakov
21bcf3f793
iOS: fix in app store
...
Enforce strong reference for SKRequests and delegate objects for transactions to work correctly
2020-10-16 16:14:39 +03:00
Andrii Doroshenko (Xrayez)
2946535a6f
CI: Refactor build workflows to use SCONSFLAGS
2020-10-16 14:41:30 +02:00
Rémi Verschelde
eb3d7f29be
Merge pull request #42845 from umarcor/ci/no-set-env
...
ci: do not use set-env
2020-10-16 14:29:38 +02:00
umarcor
935170c6d1
ci: do not use set-env
2020-10-16 05:11:28 +02:00
Rémi Verschelde
88a3db5bff
Merge pull request #42315 from lyuma/command_queue_fix
...
core/command_queue_mt.h: Fix crash/hang when buffer fills up
2020-10-15 22:35:44 +02:00
Rémi Verschelde
1b443da182
Merge pull request #42837 from Calinou/fix-fog-volumetric-sky
...
Fix "fixed" fog drawing in front of volumetric fog with a sky background
2020-10-15 22:34:40 +02:00
Hugo Locurcio
4357506e64
Fix "fixed" fog drawing in front of volumetric fog with a sky background
...
This closes #42820 .
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-10-15 21:59:08 +02:00
Rémi Verschelde
4dce52e4cb
Merge pull request #42422 from umarcor/upload-artifacts
...
CI: upload artifacts
2020-10-15 20:54:25 +02:00
umarcor
b8855ed732
CI: upload artifacts
...
Set retention-days of all artifacts to 14.
2020-10-15 20:32:16 +02:00
Rémi Verschelde
f55468ae95
Merge pull request #42831 from akien-mga/ci-ls-artifacts
...
CI: List contents of bin/ after build
2020-10-15 20:07:59 +02:00
Rémi Verschelde
69e958b48d
CI: List contents of bin/ after build
...
This can be used to compare impacts on the generated files
and especially their size in PRs.
2020-10-15 19:50:49 +02:00
Rémi Verschelde
ea21b8ff83
Merge pull request #42823 from madmiraal/update-intersect_point-doc
...
Update intersect_point documentation to mention solid shapes.
2020-10-15 18:40:36 +02:00
Rémi Verschelde
14e3d68dd9
Merge pull request #42778 from madmiraal/remove-get_layers
...
Remove old RigidBody get_layers() methods.
2020-10-15 18:40:21 +02:00
Marcel Admiraal
e496db79d8
Update intersect_point documentation to mention solid shapes.
2020-10-15 16:44:57 +01:00
Rémi Verschelde
5971a97a0c
Merge pull request #42649 from madmiraal/reapply-41806
...
Reapply -Avoid adding margin twice along capsule Y axis
2020-10-15 17:20:22 +02:00
Yuri Roubinsky
e273f83be3
Merge pull request #42818 from Chaosus/vs_expressions
...
Fix visual shader node expression undo/redo for set_size and expression
2020-10-15 16:27:22 +03:00
Yuri Roubinsky
8351266117
Fix visual shader node expression undo/redo for set_size and expression
2020-10-15 16:11:38 +03:00
Rémi Verschelde
e927f54170
Merge pull request #42804 from RandomShaper/fix_fft_window
...
Fix application of window in FFT
2020-10-15 13:21:33 +02:00
Rémi Verschelde
d76eb0b491
Merge pull request #42814 from Calinou/fix-soft-shadow-hint
...
Fix typo in soft shadow quality project settings hints
2020-10-15 11:39:16 +02:00
Yuri Roubinsky
17fc3bed5f
Merge pull request #42813 from Chaosus/vs_fix_ops
...
Fix copy/paste/duplicate for particle mode in visual shaders
2020-10-15 12:01:06 +03:00
Rémi Verschelde
24670c5a6f
Merge pull request #42812 from Calinou/doc-multimesh-set-instance-color
...
Clarify that `MultiMesh.set_instance_color()` multiplies vertex colors
2020-10-15 10:55:26 +02:00
Yuri Roubinsky
1fee310a9a
Fix copy/paste/duplicate for particle mode in visual shaders
2020-10-15 11:33:06 +03:00
Hugo Locurcio
b44de3c6b1
Fix typo in soft shadow quality project settings hints
2020-10-15 10:31:35 +02:00
Rémi Verschelde
b84f9b0068
Merge pull request #42791 from Faless/editor/drag_drop_copy_all
...
EditorNode now copies all drag and dropped files.
2020-10-15 10:29:12 +02:00
Rémi Verschelde
cb3d5b6dda
Merge pull request #42789 from Faless/js/4.0_html_editor_first_iteration
...
[HTML5] Editor prototype
2020-10-15 10:28:59 +02:00
Hugo Locurcio
6975bd106a
Clarify that MultiMesh.set_instance_color()
multiplies vertex colors
...
This closes https://github.com/godotengine/godot-docs/issues/4273 .
2020-10-15 10:19:20 +02:00
Yuri Roubinsky
075a8baa36
Merge pull request #42808 from Chaosus/vs_delete_refactor
...
Refactor delete nodes functions in visual shader editor
2020-10-15 10:38:03 +03:00
Yuri Roubinsky
9b5d6f785b
Refactor delete nodes functions in visual shader editor
2020-10-15 10:24:27 +03:00
Pedro J. Estébanez
257ba4a7fb
Fix application of window in FFT
2020-10-15 01:57:17 +02:00
Rémi Verschelde
0dd111673d
Merge pull request #42798 from Calinou/doc-rng-tutorial
...
Link the Random number generation tutorial in the class reference
2020-10-14 22:26:47 +02:00
Hugo Locurcio
802c1e4df1
Link the Random number generation tutorial in the class reference
2020-10-14 18:03:29 +02:00
Rémi Verschelde
60531111e7
Merge pull request #42780 from reduz/refactor-core-type-bindings
...
Refactored binding system for core types
2020-10-14 15:41:22 +02:00
reduz
b8c64184c6
Refactored binding system for core types
...
Moved to a system using variadic templates, shared with CallableBind.
New code is cleaner, faster and allows for much better optimization of core
type functions from GDScript and GDNative.
Added Variant::InternalMethod function for direct call access.
2020-10-14 15:24:30 +02:00
Fabio Alessandrelli
410b324740
EditorNode now copies all drag and dropped files.
...
The editor used to only copy drag-dropped files in the File System pane
if the given file was a valid resource, or had a specific file format
(ttf, otf).
With this PR, all drag and dropped files are copied instead, no matter
their extension.
2020-10-14 12:40:18 +02:00
Fabio Alessandrelli
c54de7f589
[HTML5] Add JavaScriptToolsEditorPlugin.
...
A new editor plugin, specific to HTML5, that provide some extra features
needed to make the editor usable on that platform.
For now, it adds a "Download project sources" option in the "Tool" menu,
so the user can download the work done as a zip file (from the browser
storage).
2020-10-14 12:31:20 +02:00
Fabio Alessandrelli
3dfb769115
Add JavaScript editor html file.
2020-10-14 11:20:50 +02:00
Fabio Alessandrelli
ec396c7707
[HTML5] Close IDBFS database on exit.
...
This should be made available in emscripten in a decent way.
Possibly after unmount, to free the database lock and allow performing
operations on it from javascript after the Emscripten Runtime has
exited.
2020-10-14 11:20:37 +02:00
Fabio Alessandrelli
6769dd64fc
[HTML5] Expose request_quit via Engine class.
...
So it can be called when closure compiler is enabled.
2020-10-14 11:15:24 +02:00
Fabio Alessandrelli
c3b7c5cc2d
Increase HTML5 THREADPOOL size.
...
This fixes a "random" deadlock when quitting the editor.
I still haven't figure out the root cause, but having a bigger seems to
greatly mitigate the issue.
The new pool size (pre-allocated threads) is now 8.
2020-10-14 11:13:12 +02:00
Rémi Verschelde
bc91e088e4
Merge pull request #42776 from Paulb23/code_edit_draw_delay
...
Fixed main gutter not drawing on item toggle
2020-10-13 19:36:33 +02:00