summaryrefslogtreecommitdiffstats
path: root/servers/rendering/renderer_canvas_cull.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #62639 from Calinou/line-antialiasing-decrease-feather-widthRémi Verschelde2022-08-021-6/+14
|\
| * Improve antialiased line drawing sharpness and respect of original widthHugo Locurcio2022-07-021-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Antialiased lines with a width of 2 pixels or more now use a smaller feather width of 1.25 instead of 2.0. This makes them look sharper and better preserves their original shape while still having good antialiasing quality. This also improves the appearance of thin antialiased lines by slightly increasing their feather size (from 1.0 to 1.25). It makes them appear a tad thicker, but the antialiasing quality is much improved by doing this.
* | Remove Signal connect bindsJuan Linietsky2022-07-291-4/+4
| | | | | | | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* | Account for relative z-indexes when y-sortingXentripetal2022-07-081-5/+16
|/
* Add a new HashSet templatereduz2022-05-201-4/+4
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Use range iterators for RBSet in most casesAaron Record2022-05-191-8/+8
|
* Replace most uses of Map by HashMapreduz2022-05-161-5/+5
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Rename Transform2D "elements" to "columns"Aaron Franke2022-04-291-2/+2
|
* Moved particles into ParticlesStorageBastiaan Olij2022-04-171-1/+1
|
* Merge canvas and decal into TextureStorage and add render targetBastiaan Olij2022-04-171-7/+7
|
* Restore antialiasing for `draw_line`Yuri Roubinsky2022-04-121-7/+168
|
* Merge pull request #57899 from Chaosus/fix_aaYuri Rubinsky2022-04-111-33/+192
|\
| * Fix antialiasing for beginning/end of line in `canvas_item_add_polyline`Yuri Roubinsky2022-02-161-33/+192
| |