summaryrefslogtreecommitdiff
path: root/core/image.h
AgeCommit message (Collapse)Author
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
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.
2020-05-10New lightmapperJuan Linietsky
-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)
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-25Style: Harmonize header guards to style guide [Core]Rémi Verschelde
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-11Added normalmap guided roughness mipmap generator, and a global roughness ↵Juan Linietsky
limiter.
2020-02-11Several fixes to GIProbesJuan Linietsky
2020-02-11Rewritten StreamTexture for better code reuse, added basis universal supportJuan Linietsky
2020-02-11Custom material support seems complete.Juan Linietsky
2020-01-01Update copyright statements to 2020Rémi Verschelde
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.
2019-09-25Added some obvious errors explanationsqarmin
2019-08-26Modify outdated comments and error messages regarding indexed imagesAndrii Doroshenko (Xrayez)
Godot doesn't support indexed images anymore (FORMAT_INDEXED), so those are removed to avoid any confusion.
2019-08-07Add Image.save_exr()Marc Gilleron
2019-06-26Some code changed with Clang-Tidyqarmin
2019-05-05Implement Lanczos image filterDaw11
2019-03-07Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733Juan Linietsky
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
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`
2019-01-28Prevent upscaled SVG from exceeding Image boundsRémi Verschelde
Also expose Image MAX_WIDTH and MAX_HEIGHT. Fixes #24455.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-16Fix Squish decompression, closes #18109Juan Linietsky
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
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.
2018-08-22Use cluster fit at higher quality levelselasota
2018-08-21BPTC supportelasota
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-06Added proper import support for 3D and Array texturesJuan Linietsky
2018-07-23Merge pull request #19313 from RandomShaper/improve-imageJuan Linietsky
Image trilinear scaling + Optimization
2018-07-23Add trilinear filtering to image scalingPedro J. Estébanez
2018-07-17Add webp buffer loader for Imagegeequlim
Cleanup the code memory load related code for Image Fix jpeg buff load function always returns OK event failed
2018-07-03Ensure, if a texture meant for a normal map is imported and size limit ↵Juan Linietsky
exists, that it's renormalized after resize.
2018-05-30added rgbe_to_srgb method to Imagekarroffel
2018-05-07Merge pull request #18505 from AlexHolly/image-point2-helperJuan Linietsky
add Point2 helper for Image.get_pixel and Image.set_pixel
2018-04-29Add option to renormalize mipmaps when generating them for normalmaps.Juan Linietsky
Reduces some aliasing.
2018-04-29add Point2 helper for Image.get_pixel and Image.set_pixelAlexander Holland
image-point2-helper
2018-02-24change to clang formatNeil Graham
2018-02-21add Image::bumpmap_to_normalmap conversion functionNeil Graham
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-03Revert "Add missing image format RGB10A2. Fixes #14964"Juan Linietsky
2018-01-03Merge pull request #15051 from binbitten/bug-fixesRémi Verschelde
Add missing image format RGB10A2. Fixes #14964
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-25Add missing image format RGB10A2. Fixes #14964binbitten
2017-12-20Add functions to image to load a PNG or JPG from a buffer, closes #4024Juan Linietsky
2017-11-17Improved packed scene previews.Daniel J. Ramirez
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Add handy get_size() method to Image classAndrii Doroshenko (Xrayez)
2017-07-07[#9292] Renamed Image.put_pixel() to set_pixel().ducdetronquito
2017-06-24Added 'blit_rect_mask' for 3.0 toodumitru-stama
2017-06-18Added two new methods to 3.0 'blend_rect_mask' and 'fill'd
2017-06-16Merge pull request #9231 from dumitru-stama/constimgGeorge Marques
Fixed a bug in get_pixel not being const
2017-06-16-Fix freezes caused by etccomp2, closes #9183Juan Linietsky
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16Fixed a bug in get_pixel not being constdumitru.stama