summaryrefslogtreecommitdiffstats
path: root/drivers/png
Commit message (Collapse)AuthorAgeFilesLines
...
* SCons: Always use env.Prepend for CPPPATHRémi Verschelde2019-04-301-2/+2
| | | | | | Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
* Merge pull request #26574 from Chaosus/update_libpngRémi Verschelde2019-03-041-0/+1
|\ | | | | Update libpng (1.6.35 --> 1.6.36)
| * Update libpng (1.6.35 --> 1.6.36)Chaosus2019-03-041-0/+1
| |
* | Silences annoying "iCCP: known incorrect sRGB profile" spamChaosus2019-03-041-1/+5
|/
* Update copyright statements to 2019Rémi Verschelde2019-01-014-8/+8
| | | | Happy new year to the wonderful Godot community!
* Added basic support for custom resource savers and loadersMarc Gilleron2018-12-151-0/+1
|
* Fix warnings on release builds (not DEBUG_ENABLED)Rémi Verschelde2018-10-031-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes the following Clang 5 warnings: ``` modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable] core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable] core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable] core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function] modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable] modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function] scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function] ```
* SCons: Remove avoidable defines from main env's CPPPATHRémi Verschelde2018-10-011-0/+2
| | | | | | Also finally move freetype to its own env and disable warnings for it. Still needs some work to fix the awkward situation of the freetype and svg modules used in scene/ and editor/ respectively.
* SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-5/+11
| | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-124-7/+7
| | | | | | 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.
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-1/+0
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-054-0/+4
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-014-8/+8
| | | | Happy new year to the wonderful Godot community!
* Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-2/+2
| | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-274-4/+4
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-1/+1
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Added support for SVGDaniel J. Ramirez2017-08-202-2/+2
|
* Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson2017-07-221-1/+1
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-1/+1
| | | | -Added system for feature overrides, it's pretty cool :)
* -Restored multithread capability to VisualServerJuan Linietsky2017-06-091-35/+0
| | | | -Restored resource previews!
* many fixes to image loader, voxel cone tracing, etc.Juan Linietsky2017-06-021-0/+1
|
* Several fixes related to PBR and EnvironmentJuan Linietsky2017-05-302-2/+2
|
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-174-35/+40
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-084-0/+4
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-054-192/+150
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-1/+1
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-072-17/+17
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-3/+3
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-022-71/+36
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-032-71/+36
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-014-4/+4
| | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | scons: Reorder options for clarityRémi Verschelde2016-11-031-1/+1
| | | | | | | | Also prefix all thirdparty-related toggles with `builtin`.
* | style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
* | style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* | style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | png: Try to fix neon issue on iphone armv7Rémi Verschelde2016-10-151-22/+24
| |
* | drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde2016-10-151-13/+10
| | | | | | | | | | | | | | | | | | The reordering of the SConscript includes allows to ensure that stuff like the builtin zlib headers will be available for libpng. Also moved glew back into global env, otherwise windows seems not to find it... Kind of shooting in the dark with this multi-env setup.
* | modules: Clone env in each moduleRémi Verschelde2016-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.
* | png: Split library to thirdparty dir and allow unbundlingRémi Verschelde2016-10-1529-37947/+52
|/ | | | | | | | | | | | Uses the new structure agreed upon in #6157, but the thirdparty/ folder does not behave following a logic similar to that of modules/ yet. The png driver can't be moved to a module as discussed in #6157, as it's required by core together with a few other ImageLoader implementations (see drivers/register_driver_types.cpp:register_core_driver_types()) Dropped the possibility to disable PNG support, it's a core component of Godot.
* Fix some comparisons between signed and unsigned integersJohan Manuel2016-08-131-1/+1
|
* Removed unused variables (first pass)Rémi Verschelde2016-07-071-1/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* png: Do not output warnings as errorsRémi Verschelde2016-06-231-1/+1
|
* libpng: New version 1.6.27J08nY2016-06-2226-8503/+15372
| | | | | | Warning: libpng 1.6 is strict about iCCp chunks being incorrect, solution is to fix the profile. On *nix ImageMagicks "convert" works on windows optiPNG.
* Drop useless 3rd party files from nedmalloc and pngRémi Verschelde2016-06-182-880/+0
| | | | Part of #5272
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-0/+28
| | | Also removes a couple wrong Godot headers from third-party source files.
* Update to libpng 1.5.27Rémi Verschelde2016-06-025-49/+66
| | | | | No security relevant fix as far as I can see, but the version bump does not hurt either.