summaryrefslogtreecommitdiff
path: root/scene/resources/texture.cpp
AgeCommit message (Collapse)Author
2023-01-23Add "dedicated server" export mode which can strip unneeded visual resourcesDavid Snopek
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2023-01-03Merge pull request #70840 from MewPurPur/get-point-count-instead-of-pointsRémi Verschelde
Rename `get_points_count()` to `get_point_count()` in Gradient
2023-01-03Merge pull request #69972 from adamscott/add-server-checks-before-freeRémi Verschelde
Add safety-checks before some servers `free()`
2023-01-02Rename get_points_count() to get_point_count() internallyVolTer
2023-01-01Change binding type of PlaceholderTexture2D.set/get_size to Vector2James Mintram
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-17AtlasTexture Fix calculating rects when flippingkleonc
2022-11-30Simplify GDVIRTUAL_REQUIRED_CALL callskobewi
2022-11-15Merge pull request #67948 from DeeJayLSP/split_webpRémi Verschelde
Overhaul WebP packer and split compression options
2022-11-15Overhaul WebP packer and split compression optionsDeeJayLSP
2022-11-01Rename Image's `get_rect` to `get_region`Micky
Also renames its parameter to from "rect" to "region".
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-20Fix tp_canvas_item typo in _draw_rect_regionRichard Patching
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-14Make some Image methods statickobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-05Merge pull request #66911 from clayjohn/imagetexture3dRémi Verschelde
Properly assign texture RID when creating ImageTexture3D
2022-10-04Properly assign texture RID when creating ImageTexture3Dclayjohn
2022-10-04Support nesting AtlasTextures inside other AtlasTexturesMicky
Connects AtlasTexture to its `atlas`'s "changed" signal, allowing it to detect property changes to `atlas` and update accordingly, when the project is running and in the editor, as well.
2022-09-28Fix MSVC warnings C4324, C4389, C4456, and C4459Rémi Verschelde
Part of #66537.
2022-09-06Rework AnimatedTexture's `fps` into `speed_scale`Micky
`fps` has been turned into `speed_scale`. It now affects the scale of the entire animation. If `speed_scale` is a negative value, the animation is played in reverse. `frame_n/delay_sec` has been renamed to `frame_n/duration` _(prefixes exist, making the previous name redundant)_. Setters and getters, documentation updated, too.
2022-09-06Merge pull request #65194 from Mickeon/rename-one-shotRémi Verschelde
2022-09-02Merge pull request #65170 from KoBeWi/your_argument_is_TypedArrayRémi Verschelde
2022-09-01Refactor BitMap and add testsHendrik Brucker
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
2022-09-01Rename AnimatedTexture `oneshot` to `one_shot`Micky
AnimatedTexture.`oneshot` -> `one_shot` For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-01Change Array arguments to TypedArraykobewi
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-20Clean up mesh include code and commentsAaron Franke
2022-08-19Unexpose ProxyTextureMax Hilbrunner
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-20Merge pull request #63127 from KoBeWi/raise_from_pictureRémi Verschelde
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-18Clarify create_from_image() usagekobewi
2022-07-17Automatically create a Gradient resource when creating a GradientTexture1DHendrik Brucker
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-07Changed valid check to null check, added error messagesDylan Conway
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-09Fix for ImageTexture importedKamay Xutax
Someone apparently forgot to return true ... on ImageTexture::_set/_get
2022-06-08Re-add internal image field to ImageTexturekobewi
2022-06-07Remove image property of ImageTexturekobewi
2022-06-05Increase maximum size of gradient textureskobewi
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-03Merge pull request #60583 from reduz/placeholder-assetsRémi Verschelde
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke