Commit Graph

702 Commits

Author SHA1 Message Date
85d0adda25 Added public domain license text 2015-08-01 14:59:03 -04:00
f844b2dbd2 Added public domain license text 2015-08-01 14:57:53 -04:00
4727cdd8c0 Added public domain license text 2015-08-01 14:56:45 -04:00
76edb4ec4e Added public domain license text 2015-08-01 14:56:04 -04:00
7effe64e45 Added public domain license text 2015-08-01 14:55:35 -04:00
35e2f7e739 Added public domain license text 2015-08-01 14:54:57 -04:00
5a7d524fd8 Added public domain license text 2015-08-01 14:54:27 -04:00
45b27d8a9c Added public domain license text 2015-08-01 14:54:05 -04:00
1d48782e1d Added public domain license text 2015-08-01 14:53:00 -04:00
f0e456b809 Added public domain license text 2015-08-01 14:52:12 -04:00
6695bc4e18 Added public domain license text 2015-08-01 14:50:51 -04:00
fa464b33ac Added public domain license text 2015-08-01 14:49:15 -04:00
55ff60818e Added public domain license text 2015-08-01 14:48:37 -04:00
242b1fe37a Added public domain license text 2015-08-01 14:48:08 -04:00
4ab69f3b2c Added public domain license text 2015-08-01 14:46:52 -04:00
9e9ce0ab91 Added public domain license text 2015-08-01 14:46:04 -04:00
59c353962a update readme version numbers 2015-08-01 04:18:27 -07:00
c1cb414bc6 stb_voxel_render.h version 0.82 2015-08-01 04:17:38 -07:00
ad57cd038b fix assert() to be STBTT_assert() 2015-08-01 04:16:19 -07:00
4ea7744980 fix incorrect tex_overlay2 handling 2015-08-01 04:15:55 -07:00
2afb815509 Merge branch 'add_up_down_checks_to_geometry' of https://github.com/friesencr/stb 2015-08-01 04:08:21 -07:00
cb528122e5 Merge branch 'master' of https://github.com/cjxgm/stb into working 2015-08-01 04:05:43 -07:00
c6ee732c79 allow finer-grained PackFontRanges with Gather & Render;
allow discontinuous codepoints in PackFontRanges;
fix bug in GetFontOffsetForIndex (non-0 index never worked?);
tweak public domain license
2015-08-01 04:04:54 -07:00
e637834865 Merge branch 'master' of https://github.com/ocornut/stb into working 2015-08-01 04:03:19 -07:00
a200fab163 add some minor comments 2015-08-01 04:02:21 -07:00
d821fd83f3 Merge branch 'master' into working
Conflicts:
	stb_voxel_render.h
2015-08-01 04:02:00 -07:00
3159971d85 stb_truetype: fix wrong result returned by stbtt_GetFontOffsetForIndex
fixed the typo in stbtt_GetFontOffsetForIndex, where the field size should be 4 instead of 14.
2015-07-20 23:18:47 +08:00
52845885c4 Merge remote-tracking branch 'upstream/master' 2015-07-15 12:08:29 -06:00
34ed8ff096 Merge branch 'nothings/master' 2015-07-15 12:01:27 -06:00
93fb372028 update stb_truetype version 2015-07-14 18:23:46 -07:00
20b04f4aa9 stb_truetype version 1.06
- switch from qsort() to built-in quicksort (about 2x as fast a sort, ~10% faster overall)
- use pool allocator for active-edge allocations (~10% faster overall)
- use new rasterizer (about 30% faster, ~10% faster overall)
2015-07-14 18:23:12 -07:00
9f23eb30be Adds up and down checks to voxel render input.geometry 2015-07-06 21:37:05 -05:00
b53c08a148 Merge pull request #127 from mikesart/master
Fix relative path check for non-Windows platforms in stb_fullpath.
2015-06-10 12:05:29 -07:00
3787e1c143 Fix relative path check for non-Windows platforms in stb_fullpath. 2015-06-09 16:52:39 -07:00
aa89970d6b stb_image.h: fix *comp value when loading PSDs
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
2015-05-28 22:11:45 -07:00
1b157be513 Merge remote-tracking branch 'nothings/master'
Conflicts:
	stb_truetype.h
2015-05-28 08:55:13 +01:00
947bdcd027 update version numbers & docs 2015-04-19 04:19:55 -07:00
8f9c8b682d Merge branch 'master' of https://github.com/nguillemot/stb 2015-04-19 04:17:21 -07:00
b4b196af1c update version numbers 2015-04-19 04:16:11 -07:00
ac5e25ae01 bump stb_image to version 2.05, tweak docs 2015-04-19 04:15:33 -07:00
f224bc2cdb stb_image: Progressive AC decoding - fix ZRL code.
The original AC decoding logic handled ZRL (runs of 16 zeros)
incorrectly.

The problem is that the original flow set r=16 and skipped the
final coeff write when s=0. This is not actually correct. The
problem is the intervening "refinement" bits.

With the original logic, even once we decrement r to 0, we keep
reading more refinement bits for subsequent coefficients until
we find the next currently-unsent AC in the current scan. That is,
it works as if it was trying to place 17 new AC values, and only
bails at the last minute from actually setting that 17th value.

This is wrong. Once we've found the 16th previously-unsent AC, we
need to stop reading refinement bits, otherwise we get out of sync
with the bit stream (which expects us to read a huffman code next).

The easiest fix is to just do what the JPEG standard implicitly
assumes anyway: treat ZRL as a run of 15 zeros followed by an
explicit magnitude-zero AC coeff. (That is, leave s=0 and actually
write s). So this is what this fix does.
2015-04-19 01:49:16 -07:00
1894bede3f fix signed/unsignted compare warning 2015-04-18 21:23:34 -07:00
fda335609f don't redefine __forceinline with mingw
mingw redefines __forceinline (though I don't think this applies to all
versions of mingw.) Therefore, don't redefine it if mingw has already
defined it.
2015-04-18 20:43:30 -07:00
e4be8fae2c fix misplaced STBTT_DEF definition 2015-04-15 16:06:46 -07:00
294340b25d update version numbers 2015-04-15 02:59:17 -07:00
e927c3a07a rename to STBRP_SORT for STBRP_ASSERT consistency;
version number, credits
2015-04-15 02:58:00 -07:00
e536701585 Merge branch 'rectpack-allow-to-replace-qsort' of https://github.com/mmozeiko/stb into work2 2015-04-15 02:54:01 -07:00
9487a59c14 STB_TEXTEDIT_memmove 2015-04-15 02:52:25 -07:00
d5251d527b Merge branch 'textedit-allow-to-replace-memmove' of https://github.com/mmozeiko/stb into work2 2015-04-15 02:49:58 -07:00
1acf56b8fb tweak credits 2015-04-15 02:40:15 -07:00