Age | Commit message (Collapse) | Author |
|
|
|
Improve GDNative API and JSON generation further
|
|
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap.
-For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed()
-Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
|
|
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread).
-RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault.
-Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory).
-3D physics server changed to be made multithread friendly.
-Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads.
-Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
|
|
- Add indexed type to the builtin types output, which is useful for
bindings implementing array-like access.
- Use getter type instead of hint for property types, as the hint can be
unreliable and include multiple comma-separated possible types.
|
|
- Moved Variant struct definition to its own file so it can be used
without include cycles (like on Dictionary).
- Add `index` operator function so bindings like C++ can implement the
operator[] overload (which needs a reference to the actual value).
- Added missing new/destroy functions to Vector3i array.
- Added print error/warning functions as helpers so bindings can print
messages in the same manner as Godot itself does.
|
|
|
|
Inverted the spotlight angle attenuation so a higher value results in
a dimmer light, this makes it more consistent with the distance
attenuation.
Also changed the way spotlighs are computed in SDFGI
and GIPorbes and GPU lightmapper, now it matches the falloff used in the scene rendering
code.
|
|
|
|
Document that GridMap doesn't support visual layers or cull masks
|
|
search paths on macOS.
|
|
|
|
See #40245.
|
|
`bool` is otherwise not defined in C.
|
|
|
|
Use Math_TAU and deg2rad/etc in more places and optimize code
|
|
Use integer coordinates for the font glyphs rendering.
|
|
|
|
|
|
Modernize Thread
|
|
This also fixes the code sample's indentation to look correct in the
editor help.
|
|
Use real_t in physics code
|
|
Which can be used by language bindings to generate code statically. This
is generated as a different file from the class API because it has
different requirements (the builtin types have constructors and don't
have signals), so bindings can better make use of each JSON file without
extra parsing.
This also cleans up a bit the old API generator, mainly initializing
structs and renaming "instanciable" to the more correct "instantiable".
The argument description in help text was updated to better reflect how
it should be used. The <path> argument is mandatory.
|
|
- 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)
|
|
rendering issues in AR.
|
|
|
|
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
|
|
Fixes https://github.com/JetBrains/godot-support/issues/61
|
|
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
|
|
Also add BinToInt to C#
|
|
|
|
Support mono devices in WebXR
|
|
- fixes scale values of 0.0013 (det == 0.00004) not rendering, they should render even at small values, but not at zero like the editor grid plugin supplies zero exactly.
- fixes node_3d_editor_plugin visibility bug when scale is zero
- fix culling with small scaling values - which are still valid to be rendered like 0.00004
note: grid is still not fixed, it has det == 0 issues but this fixes one of them.
|
|
Define GDNative sizes using sizeof(godot_real) and sizeof(int32_t)
|
|
Reorganize RenderingDevice barriers
|
|
Fix highlight color for class attributes that are also keywords
|
|
free library when no nativescripts reference it
|
|
C#: Fix System.Collections.Generic.List marshalling
|
|
|
|
[4.0] [iOS] iOS Plugins Migration
|
|
-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.
|
|
Restore gltf node animation export.
|
|
|
|
Make GLTF not depend on CSG or GridMap
|
|
|
|
New API for GDNative
|
|
Fix minimap capturing events and improve its theme and editor settings
|
|
Add an editor setting for minimap opacity in visual editors
|
|
|
|
Those are now utilities so the function pointer can be fetched when
needed.
|