summaryrefslogtreecommitdiffstats
path: root/core/image.h
Commit message (Collapse)AuthorAgeFilesLines
* Add override keywords.Marcel Admiraal2020-07-101-1/+1
|
* Expose loading TGA images in Image.Paul Herman2020-05-211-0/+2
|
* Remove HQ2X and the `Image.expand_2x_hq2x()` methodHugo Locurcio2020-05-161-1/+0
| | | | | | | | | | | | | | As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
* Port member initialization from constructor to declaration (C++11)Rémi Verschelde2020-05-141-7/+7
| | | | | | | | | | Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
* New lightmapperJuan Linietsky2020-05-101-0/+2
| | | | | | | -Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Style: Harmonize header guards to style guide [Core]Rémi Verschelde2020-03-251-1/+1
|
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-24/+19
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Added normalmap guided roughness mipmap generator, and a global roughness ↵Juan Linietsky2020-02-111-0/+15
| | | | limiter.
* Several fixes to GIProbesJuan Linietsky2020-02-111-2/+6
|
* Rewritten StreamTexture for better code reuse, added basis universal supportJuan Linietsky2020-02-111-24/+32
|
* Custom material support seems complete.Juan Linietsky2020-02-111-1/+2
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Added some obvious errors explanationsqarmin2019-09-251-1/+1
|
* Modify outdated comments and error messages regarding indexed imagesAndrii Doroshenko (Xrayez)2019-08-261-2/+0
| | | | | Godot doesn't support indexed images anymore (FORMAT_INDEXED), so those are removed to avoid any confusion.
* Add Image.save_exr()Marc Gilleron2019-08-071-0/+4
|
* Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
|
* Implement Lanczos image filterDaw112019-05-051-0/+1
|
* Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733Juan Linietsky2019-03-071-0/+1
|
* Core: Ensure classes match their header filenameRémi Verschelde2019-02-121-1/+1
| | | | | | | | | | | | | | | Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
* Prevent upscaled SVG from exceeding Image boundsRémi Verschelde2019-01-281-3/+3
| | | | | | Also expose Image MAX_WIDTH and MAX_HEIGHT. Fixes #24455.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix Squish decompression, closes #18109Juan Linietsky2018-11-161-0/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-4/+4
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Use cluster fit at higher quality levelselasota2018-08-221-2/+2
|
* BPTC supportelasota2018-08-211-0/+13
|
* [Core] Completely kill math_2d.h, change includesAaron Franke2018-08-111-1/+1
|
* Added proper import support for 3D and Array texturesJuan Linietsky2018-08-061-2/+4
|
* Merge pull request #19313 from RandomShaper/improve-imageJuan Linietsky2018-07-231-0/+2
|\ | | | | Image trilinear scaling + Optimization
| * Add trilinear filtering to image scalingPedro J. Estébanez2018-07-231-0/+2
| |
* | Add webp buffer loader for Imagegeequlim2018-07-171-2/+7
| | | | | | | | | | Cleanup the code memory load related code for Image Fix jpeg buff load function always returns OK event failed
* | Ensure, if a texture meant for a normal map is imported and size limit ↵Juan Linietsky2018-07-031-0/+1
|/ | | | exists, that it's renormalized after resize.
* added rgbe_to_srgb method to Imagekarroffel2018-05-301-0/+1
|
* Merge pull request #18505 from AlexHolly/image-point2-helperJuan Linietsky2018-05-071-0/+2
|\ | | | | add Point2 helper for Image.get_pixel and Image.set_pixel
| * add Point2 helper for Image.get_pixel and Image.set_pixelAlexander Holland2018-04-291-0/+2
| | | | | | image-point2-helper
* | Add option to renormalize mipmaps when generating them for normalmaps.Juan Linietsky2018-04-291-1/+1
|/ | | | Reduces some aliasing.
* change to clang formatNeil Graham2018-02-241-1/+1
|
* add Image::bumpmap_to_normalmap conversion functionNeil Graham2018-02-211-0/+1
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Revert "Add missing image format RGB10A2. Fixes #14964"Juan Linietsky2018-01-031-1/+0
|
* Merge pull request #15051 from binbitten/bug-fixesRémi Verschelde2018-01-031-0/+1
|\ | | | | Add missing image format RGB10A2. Fixes #14964
| * Add missing image format RGB10A2. Fixes #14964binbitten2017-12-251-0/+1
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Add functions to image to load a PNG or JPG from a buffer, closes #4024Juan Linietsky2017-12-201-0/+3
|
* Improved packed scene previews.Daniel J. Ramirez2017-11-171-0/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add handy get_size() method to Image classAndrii Doroshenko (Xrayez)2017-08-261-0/+1
|
* [#9292] Renamed Image.put_pixel() to set_pixel().ducdetronquito2017-07-071-1/+1
|
* Added 'blit_rect_mask' for 3.0 toodumitru-stama2017-06-241-0/+1
|
* Added two new methods to 3.0 'blend_rect_mask' and 'fill'd2017-06-181-0/+3
|