Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace most uses of Map by HashMap | reduz | 2022-05-16 | 1 | -3/+3 |
| | | | | | | | | | | | | * 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! | ||||
* | Merge pull request #60627 from aaronfranke/rename-elements | Rémi Verschelde | 2022-05-03 | 1 | -41/+41 |
|\ | | | | | Rename Transform2D and Basis `elements` to `columns` and `rows` respectively | ||||
| * | Rename Basis "elements" to "rows" | Aaron Franke | 2022-04-29 | 1 | -9/+9 |
| | | |||||
| * | Rename Transform2D "elements" to "columns" | Aaron Franke | 2022-04-29 | 1 | -32/+32 |
| | | |||||
* | | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | 2022-05-02 | 1 | -6/+0 |
|/ | | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | ||||
* | Merge pull request #59979 from bruvzg/cpp_check2 | Rémi Verschelde | 2022-04-27 | 1 | -4/+4 |
|\ | |||||
| * | Fix more issues found by cppcheck. | bruvzg | 2022-04-20 | 1 | -4/+4 |
| | | |||||
* | | Fix clearing backbuffer if there are no items | NNesh | 2022-04-25 | 1 | -3/+13 |
|/ | |||||
* | Moved particles into ParticlesStorage | Bastiaan Olij | 2022-04-17 | 1 | -22/+25 |
| | |||||
* | Merge canvas and decal into TextureStorage and add render target | Bastiaan Olij | 2022-04-17 | 1 | -37/+43 |
| | |||||
* | Fix some issues found by cppcheck. | bruvzg | 2022-04-06 | 1 | -6/+6 |
| | |||||
* | Move storage for Mesh, MeshInstance, MultiMesh and Skeleton into MeshStorage | Bastiaan Olij | 2022-04-02 | 1 | -22/+26 |
| | |||||
* | Extract global variable, shader and material storage | Bastiaan Olij | 2022-03-31 | 1 | -37/+44 |
| | |||||
* | Extract Decal and Decal atlas from Storage class | Bastiaan Olij | 2022-03-21 | 1 | -4/+7 |
| | |||||
* | Rename several transform built-ins in shaders | Yuri Roubinsky | 2022-03-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #58993 from notSanil/device-limit-exceeded-fix | Rémi Verschelde | 2022-03-17 | 1 | -1/+1 |
|\ | |||||
| * | Fix device limit exceeding for uniform buffer | notSanil | 2022-03-16 | 1 | -1/+1 |
| | | |||||
* | | Split dummy renderer classes into separate files | Bastiaan Olij | 2022-03-16 | 1 | -5/+7 |
| | | | | | | | | Split canvas_texture_storage and texture_storage from render_storage class | ||||
* | | Change some math macros to constexpr | kobewi | 2022-03-09 | 1 | -2/+2 |
|/ | | | | Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`. | ||||
* | Add a UniformSet cache | reduz | 2022-03-06 | 1 | -14/+15 |
| | | | | | | | * Changed syntax usage for RD::Uniform to create faster with a single RID * Converted render pass setup to use this in clustered renderer to test. This is the first step into creating a proper uniform set cache system to simplify large parts of the codebase. | ||||
* | Merge pull request #54489 from briansemrau/texture-delete-update | Rémi Verschelde | 2022-01-19 | 1 | -9/+0 |
|\ | |||||
| * | Fix materials not updating when texture replaced/deleted | Brian Semrau | 2021-11-01 | 1 | -9/+0 |
| | | |||||
* | | New OpenGL batching canvas renderer | clayjohn | 2022-01-11 | 1 | -7/+7 |
| | | |||||
* | | Fix incorrect format and buffer used for bone weights. | bruvzg | 2022-01-05 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #54791 from NHodgesVFX/master | Rémi Verschelde | 2022-01-04 | 1 | -0/+2 |
|\ \ | | | | | | | [4.x] add more OpenGL attributes | ||||
| * | | add more OpenGL attributes | NHodgesVFX | 2021-11-08 | 1 | -0/+2 |
| |/ | |||||
* | | Update copyright statements to 2022 | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 |
| | | | | | | | | Happy new year to the wonderful Godot community! | ||||
* | | Replace String comparisons with "", String() to is_empty() | Nathan Franke | 2021-12-09 | 1 | -1/+1 |
| | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | ||||
* | | Fix multimesh still drawing when visible instances is zero | Brian Semrau | 2021-11-12 | 1 | -0/+4 |
| | | |||||
* | | Fix default_texture_param in shader pipeline to support uniform arrays | Yuri Roubinsky | 2021-11-12 | 1 | -3/+12 |
|/ | |||||
* | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | 2021-10-28 | 1 | -3/+1 |
| | | | | All reviewed manually and occasionally rewritten to avoid bad auto formatting. | ||||
* | Added support for uniform arrays in shaders | Yuri Roubinsky | 2021-10-04 | 1 | -2/+2 |
| | |||||
* | Use range iterators for `Map` | Lightning_A | 2021-09-30 | 1 | -14/+14 |
| | |||||
* | Rename RID's `getornull()` to `get_or_null()` | Hugo Locurcio | 2021-09-29 | 1 | -12/+12 |
| | |||||
* | Fix editor freeze when asigning Skeleton2D to Polygon2D | Hendrik Brucker | 2021-09-29 | 1 | -0/+1 |
| | |||||
* | Add Get Center Method for Rect2/Rect2i and AABB. | Anilforextra | 2021-09-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #51604 from TechnoPorg/fix-vulkan-parent-material | JFonS | 2021-09-12 | 1 | -4/+6 |
|\ | | | | | Vulkan: Fix CanvasItem::use_parent_material | ||||
| * | Vulkan: Fix CanvasItem::use_parent_material | TechnoPorg | 2021-08-17 | 1 | -4/+6 |
| | | | | | | | | | | The "Use Parent Material" option now does something when enabled on a CanvasItem. As before, it's not just limited to a node's direct parent but can move up the tree until it finds a material. Also corrected a typo in rendering_device_vulkan.h that didn't merit its own commit. | ||||
* | | Merge pull request #51873 from Chaosus/fix_uniform_error_spam | Clay John | 2021-08-31 | 1 | -1/+1 |
|\ \ | | | | | | | Fix incorrect checking of uniform set to prevent error spam (2) | ||||
| * | | Fix incorrect checking of uniform set to prevent error spam (2) | Yuri Roubinsky | 2021-08-19 | 1 | -1/+1 |
| |/ | |||||
* | | Makes FontData importable resource. | bruvzg | 2021-08-27 | 1 | -0/+8 |
| | | | | | | | | | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support. | ||||
* | | Add comments at the top of each built-in shader to ease debugging | Hugo Locurcio | 2021-08-18 | 1 | -0/+2 |
|/ | | | | | | When a shader error is printed about a built-in shader, the origin of the shader will now be recognizable immediately by looking at the top of the printed shader code. | ||||
* | Makes a clear error message if shader compilation failed | Yuri Roubinsky | 2021-08-16 | 1 | -2/+1 |
| | |||||
* | Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tile | Nathan Franke | 2021-08-07 | 1 | -0/+4 |
| | |||||
* | Fix incorrect checking of uniform set to prevent error spam | Yuri Roubinsky | 2021-08-06 | 1 | -1/+2 |
| | |||||
* | Fix various typos with codespell | luz paz | 2021-07-25 | 1 | -1/+1 |
| | | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint` | ||||
* | Use C++11 raw literals for shader code to improve readability | Hugo Locurcio | 2021-07-19 | 1 | -1/+12 |
| | | | | | In files that have lots of branching, `\t` was replaced with a tab character instead. | ||||
* | Fix material invalidation on reimport. | reduz | 2021-07-07 | 1 | -3/+1 |
| | | | | | | * IF a texture was reimported (calling replace as an example), it would invalidate all materials using it, causing plenty of errors. * Added the possibility to get a notification when a uniform set is erased. * With this notification, materials can be queued for update properly. | ||||
* | Unify material parameter update | reduz | 2021-07-06 | 1 | -80/+2 |
| | | | | | | * Unifies how material parameters are updated. * Single function, easier to maintain. * Updates materials properly when textures change. | ||||
* | Keep the drawing transform when drawing meshing in CanvasItem | Gilles Roudière | 2021-06-22 | 1 | -2/+3 |
| |