summary refs log tree commit diff
path: root/src/graphics
AgeCommit message (Collapse)Author
2026-08-14move all the per-frame stuff into its own struct and fileIrene Knapp
Force-Push: yes Change-Id: I54b5c8fcc692616f83a37039a445796dddd4b7e4
2026-08-12split the texture's sampler and its image view into separaet bindingsIrene Knapp
this will make it easier to change the image view dynamically as a push update, in a future CL Force-Push: yes Change-Id: If7cfab07913a5a462e16dd7fb478ed491d33d4d9
2026-08-09abstract over bundled assetsIrene Knapp
yay build script stuff :) Force-Push: yes Change-Id: I694651febb02f42dac904f0dfbf4089c33ef937e
2026-08-09move PNG-specific code to a new module files::pngIrene Knapp
this mirrors files::obj Force-Push: yes Change-Id: I17ccae0b54b49453100873ba707ee36406b96057
2026-08-09rename and reexport a bunch of graphics state typesIrene Knapp
the word "graphics" is part of the module name, so it does not need to be part of the struct name the fact that an object holds state is... not strictly implied by the fact it's a struct, but it happens that ALL our objects exist primarily to hold state, so we remove that word as well Force-Push: yes Change-Id: I1b3e2ac0f1c29304e75a190172463aabfba4b3a4
2026-08-09refactor Texture into its own thingIrene Knapp
as part of this, the command pools are moved from window dressing to permanent note also how mip count is a value computed by loading the texture, and used when creating the sampler, which is part of the window dressing. the assumption about how it's computed will have to change when we support multiple textures, but for now we settle for just pushing the assumption to the top level. Force-Push: yes Change-Id: I545c53feedc99628fbe943120798fe66fe9e065b
2026-08-08move the obj loader to a more logical placeIrene Knapp
Force-Push: yes Change-Id: I0d506fa517daeacf63b52fdd5900f1bbee9c22b7
2026-08-08remove physical_device from ForReinitIrene Knapp
Vulkanalia tracks it for us in Device. it's used in Model, so it wasn't strictly in-scope for ForReinit; this solves the problem and simplifies some stuff. Force-Push: yes Change-Id: I8e38c236b3dc4c112671382a062c9ada2f34fbb1
2026-08-08move models into their own struct and fileIrene Knapp
Force-Push: yes Change-Id: Ic6aa38b7d069825beadeb144eace5a9d23f0d21b
2026-08-06further splitting of graphics submodulesIrene Knapp
now this is starting to feel like halfway decent organization Force-Push: yes Change-Id: I45cc4afb45e1528705680eb4192c1e9ba72f53fb
2026-08-06move some modules into a new graphics submoduleIrene Knapp
Force-Push: yes Change-Id: I5cbdf59870258f099fc6dd47ff2f1566376c1585