219 Commits (c517a6f0ee57f29f0159a542e64302af06b58d93)

Author SHA1 Message Date
Vladimír Vondruš e2523097d2 TextureTools: add a NoCreate constructor to DistanceField. 2 years ago
Vladimír Vondruš d8de337d3e TextureTools: helper for creating a texture coordinate matrix for atlases. 3 years ago
Vladimír Vondruš 211d6ac750 distancefieldconverter: add a runtime check for size ratio. 3 years ago
Vladimír Vondruš 4feb98715e TextureTools: expand DistanceField size assert tests. 3 years ago
Vladimír Vondruš dcf6652764 TextureTools: document DistanceField image size expectations. 3 years ago
Vladimír Vondruš a2554cb656 TextureTools: don't clear the output in DistanceField. 3 years ago
Vladimír Vondruš abf8a759f2 TextureTools: verify DistanceField doesn't overwrite the whole output. 3 years ago
Vladimír Vondruš 965f78122f TextureTools: properly set framebuffer viewport in DistanceField. 3 years ago
Vladimír Vondruš c92e1b55e5 TextureTools: properly test the DistanceField framebuffer overload. 3 years ago
Vladimír Vondruš ada0645f34 TextureTools: make DistanceField working with subrectangles. 3 years ago
Vladimír Vondruš 89af6ff82e TextureTools: fix DistanceField to not be slightly shifted. 3 years ago
Vladimír Vondruš 93137eb025 TextureTools: test axis-flipped DistanceField processing. 3 years ago
Vladimír Vondruš 6357ed52c0 TextureTools: assert that DistanceField output is framebuffer-drawable. 3 years ago
Vladimír Vondruš 94c31b13e2 TextureTools: it's not SwiftShader, it's Luminance not being renderable. 3 years ago
Vladimír Vondruš f39beda8f1 TextureTools: remove test code that assumed GL debug output is always on. 3 years ago
Vladimír Vondruš f2dd0c5d75 TextureTools: make the DistanceField benchmark more stable. 3 years ago
Vladimír Vondruš c60a1a98b9 TextureTools: no, it's no longer creating a shader every time. 3 years ago
Vladimír Vondruš 5d571cde5d TextureTools: underscore private variables. 3 years ago
Vladimír Vondruš 5e670831f1 TextureTools: properly use float literals for vertex data. 3 years ago
Vladimír Vondruš f091b80fae TextureTools: make the DistanceField class movable. 3 years ago
Vladimír Vondruš 15d0727096 TextureTools: remove redundant namespace prefix from test code. 3 years ago
Vladimír Vondruš e626aabfe2 TextureTools: actually allow zero-size items in AtlasLandfill. 3 years ago
Vladimír Vondruš bcebdd7887 TextureTools: document that AtlasLandfill has destructive move. 3 years ago
Vladimír Vondruš 88c0aedf96 TextureTools: add a forward declaration header. 3 years ago
Vladimír Vondruš 1ef47f48ab TextureTools: no need to include Vector2.h in Atlas.h. 3 years ago
Vladimír Vondruš 81780e5838 TextureTools: it's height that's bounded to 16 bits, not width. 3 years ago
Vladimír Vondruš adb2437984 TextureTools: merge AtlasLandfill and AtlasLandfillArray. 3 years ago
Vladimír Vondruš ed288d360f TextureTools: reverse landfill direction only if it makes sense. 3 years ago
Vladimír Vondruš 330dbc747e TextureTools: deprecate the atlas() bad joke. 3 years ago
Vladimír Vondruš 10bc66884a TextureTools: support padding in the landfill atlas packer. 3 years ago
Vladimír Vondruš 57863b5db7 TextureTools: reduce AtlasBenchmark iterations. 3 years ago
Vladimír Vondruš df1904c256 TextureTools: forgot to clean up this comment. 3 years ago
Vladimír Vondruš 66bf0b264d TextureTools: new landfill atlas packer. 3 years ago
Vladimír Vondruš c63ae80619 TextureTools: doc snippet and sample output for atlasArrayPowerOfTwo(). 3 years ago
Vladimír Vondruš f9402f2242 TextureTools: don't allocate the output in atlasArrayPowerOfTwo(). 3 years ago
Vladimír Vondruš 752acbdc3e TextureTools: use a Pair instead of Vector3i in the internals. 3 years ago
Vladimír Vondruš 958e5edbc2 TextureTools: check that atlasArrayPowerOfTwo() sizes are in bounds. 3 years ago
Vladimír Vondruš 484596f936 TextureTools: remove redundant include from a test. 3 years ago
Vladimír Vondruš 78a93734dd TextureTools: pass the whole test dir path to the test. 3 years ago
Vladimír Vondruš 200e9a209f TextureTools: pass StridedArrayView via const&. 3 years ago
Vladimír Vondruš bb9eb1f80c Doc++ 3 years ago
Vladimír Vondruš 5d1369f570 Use Utility::move() and swap() instead of STL almost everywhere. 3 years ago
Vladimír Vondruš 0fd8828dd2 TextureTools: curse you, Xcode "new build system". 3 years ago
Vladimír Vondruš 7286faf329 *converter: make these buildable on platforms w/o dynamic plugins. 3 years ago
Vladimír Vondruš 3b32483d0b TextureTools: (expected failing) test for DistanceField with an offset. 3 years ago
Vladimír Vondruš 1f2b19c698 Shaders: drop the createCompatibilityShader() helper. 3 years ago
Vladimír Vondruš bbb54a9df8 It's 2023 already! 3 years ago
Vladimír Vondruš 6c2ea21d31 distancefieldconverter: make it work on GLES 3+. 3 years ago
Vladimír Vondruš 5f55f9e756 TextureTools: add a DistanceField overload taking a framebuffer. 3 years ago
Vladimír Vondruš 8153adbc1c Shaders: don't format & pass _LOCATION defines on ES < 3.1 and WebGL. 3 years ago