Skip to content

Commit

Permalink
Merged pull request "Port to stb_image_resize2": #397
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Apr 2, 2024
2 parents 325685d + 8dc5585 commit 11f454b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extern/stb
Submodule stb updated 84 files
+4 −0 .github/CONTRIBUTING.md
+24 −0 .github/ISSUE_TEMPLATE/bug_report.md
+4 −0 .github/ISSUE_TEMPLATE/config.yml
+20 −0 .github/ISSUE_TEMPLATE/feature_request.md
+23 −0 .github/workflows/ci-fuzz.yml
+3 −0 .gitignore
+3 −0 .travis.yml
+37 −0 LICENSE
+54 −38 README.md
+129 −1,471 deprecated/stb.h
+58 −54 deprecated/stb_image_resize.h
+7 −6 deprecated/stretch_test.c
+27 −26 deprecated/stretchy_buffer.h
+6 −5 docs/why_public_domain.md
+78 −102 stb_c_lexer.h
+32 −32 stb_connected_components.h
+52 −40 stb_divide.h
+381 −155 stb_ds.h
+234 −243 stb_dxt.h
+33 −31 stb_easy_font.h
+6 −6 stb_herringbone_wang_tile.h
+680 −0 stb_hexwave.h
+813 −375 stb_image.h
+10,365 −0 stb_image_resize2.h
+224 −0 stb_image_resize_test/dotimings.c
+2,738 −0 stb_image_resize_test/old_image_resize.h
+56 −0 stb_image_resize_test/oldir.c
+992 −0 stb_image_resize_test/stbirtest.c
+999 −0 stb_image_resize_test/vf_train.c
+212 −110 stb_image_write.h
+12 −5 stb_include.h
+34 −30 stb_leakcheck.h
+126 −64 stb_perlin.h
+41 −46 stb_rect_pack.h
+114 −68 stb_sprintf.h
+91 −66 stb_textedit.h
+76 −50 stb_tilemap_editor.h
+549 −354 stb_truetype.h
+342 −244 stb_vorbis.c
+51 −50 stb_voxel_render.h
+4 −2 tests/Makefile
+54 −0 tests/fuzz_main.c
+1 −0 tests/image_test.c
+3 −2 tests/image_test.dsp
+29 −0 tests/ossfuzz.sh
+ tests/pbm/basi0g16.pgm
+ tests/pbm/basi2c16.ppm
+ tests/pbm/cdfn2c08.ppm
+ tests/pbm/cdun2c08.ppm
+ tests/pbm/comment.pgm
+ tests/pbm/ctfn0g04.pgm
+ tests/pngsuite/iphone/iphone_basi0g01.png
+ tests/pngsuite/iphone/iphone_basi0g02.png
+ tests/pngsuite/iphone/iphone_basi3p02.png
+ tests/pngsuite/iphone/iphone_bgwn6a08.png
+ tests/pngsuite/iphone/iphone_bgyn6a16.png
+ tests/pngsuite/iphone/iphone_tbyn3p08.png
+ tests/pngsuite/iphone/iphone_z06n2c08.png
+259 −0 tests/pngsuite/ref_results.csv
+9 −4 tests/resample_test.cpp
+1 −1 tests/resize.dsp
+8 −20 tests/stb.dsp
+0 −15 tests/stb.dsw
+74 −0 tests/stb_c_lexer_fuzzer.cpp
+2 −0 tests/stb_cpp.cpp
+8 −0 tests/stb_png.dict
+28 −0 tests/stbi_read_fuzzer.c
+0 −7 tests/stretchy_buffer_test.c
+31 −8 tests/test.sbm
+14 −6 tests/test_c_compilation.c
+50 −1 tests/test_c_lexer.c
+20 −4 tests/test_cpp_compilation.cpp
+5 −1 tests/test_ds.c
+47 −0 tests/test_png_paeth.c
+75 −0 tests/test_png_regress.c
+202 −1 tests/test_sprintf.c
+54 −5 tests/test_truetype.c
+184 −0 tests/truetype_test_win32.c
+22 −8 tools/README.footer.md
+14 −3 tools/README.header.md
+4 −4 tools/README.list
+137 −0 tools/build_matrix.c
+6 −5 tools/make_readme.c
+32 −0 tools/trailing_whitespace.c
2 changes: 1 addition & 1 deletion src/refresh/stb/stb.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include "stb_image_resize.h"
#include "stb_image_resize2.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
2 changes: 1 addition & 1 deletion src/refresh/vkpt/textures.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "color.h"
#include "material.h"
#include "../stb/stb_image.h"
#include "../stb/stb_image_resize.h"
#include "../stb/stb_image_resize2.h"
#include "../stb/stb_image_write.h"

#define MAX_RBUFFERS 16
Expand Down

0 comments on commit 11f454b

Please sign in to comment.