diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 09:08:25 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 09:08:25 +0100 |
| commit | cd5c2ee728fcfc5c0bf81ba51899fa7369d0d1e2 (patch) | |
| tree | 985785e7598dd767d635e21304797baf53573fae /doc/SIZE_MEASUREMENT.md | |
| parent | 001939ca8e2c582650d3cd77d0cd0eabffc50ed2 (diff) | |
feat: Rename GPU stub and headless files and update references
Diffstat (limited to 'doc/SIZE_MEASUREMENT.md')
| -rw-r--r-- | doc/SIZE_MEASUREMENT.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/SIZE_MEASUREMENT.md b/doc/SIZE_MEASUREMENT.md index 96c8e6c..f4d93b2 100644 --- a/doc/SIZE_MEASUREMENT.md +++ b/doc/SIZE_MEASUREMENT.md @@ -60,7 +60,7 @@ double platform_get_time() { return 0.0; } #endif ``` -**`src/gpu/stub_gpu.cc`:** +**`src/gpu/gpu_stub.cc`:** ```cpp #if defined(STRIP_EXTERNAL_LIBS) WGPUDevice gpu_create_device() { return nullptr; } @@ -90,7 +90,7 @@ if(DEMO_STRIP_EXTERNAL_LIBS) target_compile_definitions(demo64k PRIVATE STRIP_EXTERNAL_LIBS) target_sources(demo64k PRIVATE src/platform/stub_platform.cc - src/gpu/stub_gpu.cc + src/gpu/gpu_stub.cc ) # Don't link external libs @@ -144,7 +144,7 @@ Create `src/platform/stub_platform.cc`: ### Phase 3: GPU Stubs (1 hour) -Create `src/gpu/stub_gpu.cc`: +Create `src/gpu/gpu_stub.cc`: - Implement ~20 gpu wrapper functions as no-ops - All pointer returns = nullptr - All void functions = empty body @@ -199,7 +199,7 @@ size build_size/demo64k **New:** - `src/platform/stub_types.h` - WebGPU opaque types - `src/platform/stub_platform.cc` - Platform stubs (~10 functions) -- `src/gpu/stub_gpu.cc` - GPU stubs (~20 functions) +- `src/gpu/gpu_stub.cc` - GPU stubs (~20 functions) - `scripts/measure_size.sh` - Size measurement script **Modified:** |
