summaryrefslogtreecommitdiffstats
path: root/servers/rendering/renderer_canvas_cull.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert incorrect rounding when 2D transform snappingkleonc2024-10-151-3/+3
|
* Don't recalculate final render transforms for Y-sorted canvas itemskleonc2024-09-051-67/+81
|
* Account for physics interpolation and transform snapping when Y-sortingkleonc2024-09-051-9/+26
|
* Fix Parallax2D repeats being not relative to its transformkleonc2024-08-191-13/+41
|
* Add alternative pixel roundingMark DiBarry2024-06-291-2/+2
|
* Add repeats in ysort child collectionmarkdibarry2024-06-151-7/+12
|
* Add cull fix for scale repeatmarkdibarry2024-06-041-2/+3
|
* Add antialias support for CanvasItem draw primitivesYaohua Xiong2024-05-131-40/+248
| | | | | | including - rect, circle; both filled and unfilled. - polyline, multiline
* Fix unsafe uses of `Callable.is_null()`A Thousand Ships2024-04-271-2/+2
| | | | | `Callable.is_null()` is not equivalent to `!Callable.is_valid()` and doesn't guarantee the call is valid.
* Fixes SDF Collision Enable/Disablecosparks2024-04-221-0/+2
| | | | | - sets LightOccluderInstance field when sdf collision is updated - adds check for light occluder sdf_collision field in 2d renderers
* Fix transform of Y-sorted branch-rootkleonc2024-04-161-1/+1
|
* Fixed Timestep Interpolation (2D)Ricardo Buring2024-03-231-16/+187
| | | | | | | Adds fixed timestep interpolation to the rendering server (2D only). Switchable on and off with a project setting (default is off). Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-071-1/+1
|
* Add new Parallax2D nodemarkdibarry2024-03-031-41/+32
|
* Merge pull request #79452 from /ysort-update-first-item-positionRémi Verschelde2024-02-201-2/+4
|\
| * Update Y-sort position of the first item in the sorted subtreekleonc2023-07-141-2/+4
| |
* | Stabilize snapping 2D transforms to pixelAdam Scott2024-02-121-3/+7
| | | | | | | | Co-authored-by: Danni <34800072+KeyboardDanni@users.noreply.github.com>
* | Merge pull request #85520 from YuriSizov/rendering-gracefully-leak-canvas-itemsRémi Verschelde2024-01-091-0/+24
|\ \ | | | | | | | | | Avoid crashes when engine leaks canvas items and friends
| * | Avoid crashes when engine leaks canvas items and friendsYuri Sizov2023-12-201-0/+24
| | |
* | | unify parameter names for 'RendererCanvasCull'Yaohua Xiong2023-12-241-31/+31
|/ /
* | Remove unnecessary assignmentsWilson E. Alvarez2023-12-131-3/+1
| | | | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Merge pull request #85811 from clayjohn/2D-render-infoRémi Verschelde2023-12-121-8/+8
|\ \ | | | | | | | | | Implement render info counters for the 2D renderer
| * | Implement render info counters for the 2D rendererclayjohn2023-12-061-8/+8
| | | | | | | | | | | | This provides information for the debug monitors
* | | Transform mesh's AABB to skeleton's space when calculate mesh's bounds.ShirenY2023-12-091-0/+6
|/ /
* | Disable update spinner when debug redraw is activekobewi2023-10-111-0/+4
| |
* | Merge pull request #79169 from reduz/debug-canvas-item-redrawRémi Verschelde2023-10-111-0/+14
|\ \ | | | | | | Debug CanvasItem redraw
| * | Debug CanvasItem redrawJuan Linietsky2023-08-281-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wanted to add this tool for years and always forget. This command line option: ``` $ godot.exe -e --debug-canvas-item-redraw ``` Allows to see when a canvas item is redrawn. This helps find out if something in the UI is refreshing in a way it should not. Examples as such: * Signals causing more of the UI to redraw. * Container resizing causes more UI elements to redraw. * Something using a timer is redrawing all time time, which can go unnoticed. To my surprise, the editor UI is redrawing very efficiently. There is some weird stuff with the scene tabs, redrawing when the inspector changes but most things for the most part are fine.
* | Add vararg call() method to C++ Callablekobewi2023-10-051-6/+2
| |
* | [Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-251-112/+112
|/
* Fix Y-sort modulate for top-most Y-sorted CanvasItemkleonc2023-06-121-0/+1
|
* Single Compilation Unit build.lawnjelly2023-06-061-2/+0
| | | | | Adds support for simple SCU build (DEV_ENABLED only). This speeds up compilation by compiling multiple cpp files within a single translation unit.
* Merge pull request #77079 from kleonc/y_sort_fix_modulation_propagationRémi Verschelde2023-05-241-5/+6
|\ | | | | | | Fix modulation propagation for Y-sorted CanvasItems
| * Fix modulation propagation for Y-sorted CanvasItemskleonc2023-05-151-5/+6
| |
* | Merge pull request #71684 from kleonc/draw_polyline_simplify_antialiasedRémi Verschelde2023-05-241-165/+68
|\ \ | |/ |/| | | `RendererCanvasCull` Simplify drawing antialiased polyline
| * RendererCanvasCull Simplify drawing antialiased polylinekleonc2023-01-191-165/+68
| |
* | Fix `draw_multiline_colors()` for `width < 0`Danil Alexeev2023-03-141-6/+18
| |
* | CanvasItem::draw_polyline Support thin polylines drawn using line stripkleonc2023-01-191-3/+32
|/
* CanvasItem::draw_arc Clamp angle difference so arc won't overlap itselfkleonc2023-01-181-6/+9
|
* Merge pull request #62236 from MinusKube/masterRémi Verschelde2023-01-161-84/+158
|\ | | | | Fix polyline not supporting closed polygons and not having a uniform width
| * Fix draw_polyline not supporting closed polygons and not having a uniform offsetMinusKube2023-01-161-84/+158
| |
* | Fix scaling issue in `draw_line` and similar methodsDanil Alexeev2023-01-161-4/+4
|/
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Scale MSDF font outline with the font size and MSDF source size to match ↵bruvzg2022-12-171-2/+2
| | | | dynamic font behavior.
* draw fish bones for Path2D and Path3DYaohua Xiong2022-12-051-7/+25
| | | | These fish bones are add to indicate the direction and local transforms alone the path.
* Fix child nodes still being drawn when the visible area of a control with ↵Rindbee2022-12-011-5/+5
| | | | `clip_contents` enabled is `0`
* Add call_deferred() method to Callablekobewi2022-11-041-2/+2
|
* Viewport canvas cull mask featureBimDav2022-10-311-13/+31
| | | | Co-authored-by: Valentin Zagura <puthre@gmail.com>
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-16/+16
| | | | change warnings=all to use /W4.
* Fix/restore BackBufferCopyHendrik Brucker2022-09-151-1/+1
|
* Add font LCD sub-pixel anti-aliasing support.bruvzg2022-08-231-0/+32
|