Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ samples/*/bin/
*.fuzz
coverage/

# ASan/UBSan log output (the ASan test entries' log_path —
# tests/laige-render/CMakeLists.txt)
asan-reports/

# Python artifacts (tools/ scripts)
__pycache__/
*.pyc
Expand Down
11 changes: 11 additions & 0 deletions deps.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@
"sha256": "f4785f292cafd2b6e060705cc81e22ebf5d5083e27f1f155493e0f252ab9b395",
"license": "MIT",
"justification": "PRD §11 (math foundation for the rendering side: cameras, projection matrices, incl. isometric camera matrices; sim keeps its own fixed-point math per §10.3 — the include-graph lint owner rule keeps GLM out of sim): header-only, vendored (the full glm/ library tree of the pinned tag; doc/test/cmake excluded; M2-GL-03, ADR 0008)"
},
{
"name": "stb",
"version": "2026-08-01",
"path": "deps/stb",
"owner": "src/laige-render",
"source_url": "https://github.com/nothings/stb",
"source_commit": "2c980bb59875b0d32144a71867fbdebb2f77cd20",
"sha256": "8f06584600718842d16098b13df213d0ec9ffecbf782a6fbadec3f4abf570685",
"license": "MIT-like (stb's no-warranty license; the text lives in deps/stb/LICENSE)",
"justification": "PRD §11 (font rasterization, FR-2.8 bitmap fonts P0 — the stb_truetype row): single-header C font rasterizer that M2-TEXT-01 uses to build the fixed bitmap glyph atlas (the M2-TEXT-03 SDF step reuses the same header); the implementation compiles in the laige-stb target with the plain compiler policy, pinned by this lock (M2-TEXT-01, ADR 0009)"
}
]
}
12 changes: 9 additions & 3 deletions deps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Vendored third-party dependencies, each tracked in `deps.lock` (repo root;
PRD §11, NFR-8.6, DEP-005). This directory landed with **M0-DEP-01**: the
lock file, the configure-time hash check, and **GoogleTest** (dev-only);
**M2-GL-01** adds **GLFW** (windowing) and the **GLAD-generated GL 3.3
loader** (GL function access) for `src/laige-render`.
loader** (GL function access), **M2-GL-03** adds **GLM** (rendering-side
math), and **M2-TEXT-01** adds **stb_truetype** (font rasterization) —
all for `src/laige-render`.

## deps.lock

Expand Down Expand Up @@ -45,9 +47,13 @@ recomputes the tree hash and rejects the configure.
| GoogleTest | 1.18.0 | `googletest/` | `tests` (`tests/` only) | BSD-3-Clause | PRD §11 dev-only row (unit/integration tests; never shipped) |
| GLFW | 3.5.1 | `glfw/` | `src/laige-render` | zlib | PRD §11 windowing row (M2-GL-01: windowed + hidden-window context creation on all P0 OSes) |
| GLAD (generated) | 2.0.8 | `glad/` | `src/laige-render` | WTFPL OR CC0-1.0 AND Apache-2.0 | PRD §11 GL-loader row (M2-GL-01: GL 3.3 core function access; the vendored artifact is the reproducible `gladv2 --api gl:core=3.3` output, not a source checkout) |
| GLM | 1.0.3 | `glm/` | `src/laige-render` | MIT | PRD §11 math-foundation row (M2-GL-03: rendering-side value types for cameras/projection matrices; the full `glm/` tree of the pinned tag) |
| stb (stb_truetype) | 2026-08-01 | `stb/` | `src/laige-render` | MIT-like (stb license) | PRD §11 font-rasterization row (M2-TEXT-01: bitmap glyph atlas rasterization for FR-2.8 P0; the single header `stb_truetype.h` + `LICENSE`, pinned commit — stb publishes no release tags) |

See [ADR 0004](../docs/decisions/0004-google-test-vendoring.md) (GoogleTest)
and [ADR 0007](../docs/decisions/0007-glfw-glad-vendoring.md) (GLFW + GLAD)
See [ADR 0004](../docs/decisions/0004-google-test-vendoring.md) (GoogleTest),
[ADR 0007](../docs/decisions/0007-glfw-glad-vendoring.md) (GLFW + GLAD),
[ADR 0008](../docs/decisions/0008-glm-vendoring.md) (GLM), and
[ADR 0009](../docs/decisions/0009-stb-truetype-vendoring.md) (stb_truetype)
for the full DEP-003 justifications and the upgrade/removal strategy.

## Adding or updating a dependency
Expand Down
37 changes: 37 additions & 0 deletions deps/stb/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
This software is available under 2 licenses -- choose whichever you prefer.
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading
Loading