summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-17 08:50:24 +0100
committerskal <pascal.massimino@gmail.com>2026-02-17 08:50:24 +0100
commit59b7ca9adff07f8d457fba53ba4d67c293229b68 (patch)
treef84cd7fcb42cffa15fad7bc339abfb2b8e13cb3c /tools
parent7041babc9e5333d01191f3eb80fd711bd26cd4f7 (diff)
refactor: centralize platform-specific code in gpu.h
Move platform-specific type definitions to gpu.h and establish coding rule that platform ifdefs must be confined to gpu/platform layers. - gpu.h: add GpuTextureCopyInfo, GpuTextureDataLayout type aliases - effect.cc: use GpuTextureCopyInfo instead of platform ifdefs - texture_manager.cc: use type aliases and label_view() helper - CODING_STYLE.md: add platform-specific code section with rule Tests: 34/34 passing Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions