summary refs log tree commit diff
path: root/src/graphics_window_dressing.rs
AgeCommit message (Collapse)Author
6 dayspull the shader data stuff into its own fileIrene Knapp
separate from the linear algebra stuff Force-Push: yes Change-Id: I26fc7ac596f304fa35ca7a4d0e1349d4fa0685ee
6 daysdraw the imageIrene Knapp
wow yay :) Force-Push: yes Change-Id: I7053ec3a7ed7b46e9c9d1260fd0f73b398b798af
6 daysload a texture imageIrene Knapp
also refactor buffer management a little this doesn't yet draw the texture Change-Id: Id2efa761223a588bf599041ac525c3b988f0113b Force-Push: yes
8 daysit spins!!!!Irene Knapp
ahem. more formally: provide animated uniforms to the shader, and use them the tutorial just wants us to do three matrices, and to defer all the actual math to a library it recommends. that would certainly be simpler. anyway, we use quaterion+offset for everything but the projection frustum, and do all the math ourselves Change-Id: I399f432bebb1e7ca4d4342efa1d5aaf37b32f427 Force-Push: yes
12 daysuse an index buffer now, and draw two trianglesIrene Knapp
Force-Push: yes Change-Id: I2c58bad402908fa36caf271da3cae78e43ef3110
12 daysdon't rely on having shared memoryIrene Knapp
this uses a staging buffer and a final buffer, per the tutorial. it also uses a new command pool for purely transient command buffers, which the tutorial mentions as a possibility but doesn't detail. Force-Push: yes Change-Id: Ic74c89045869bcc7bd0313aa162c87536fb561fc
12 daysabstract buffer managementIrene Knapp
Force-Push: yes Change-Id: I3276e65f2ef29199b57a748a321998747b607b22
14 daysallocate and use a vertex bufferIrene Knapp
kinda cool how the driver interfaces with the kernel to map memory on our behalf Force-Push: yes Change-Id: I906f68b59dcedc1fd6d9bfc52c9b299abc9cd828
14 daysokay, reinitializing for window changes works nowIrene Knapp
yay Force-Push: yes Change-Id: Id8dce4cd4bc696be322fe5b612837e3651437f7e
2026-07-09make most of the associated functions into file-level functionsIrene Knapp
now that the two halves of the graphics state are in their own files, this is easier to read the public functions remain as part of the impl Force-Push: yes Change-Id: Ic7d73be04f31b484348bbc5d62cc93f0c877717c
2026-07-09move all the window dressing stuff into its own fileIrene Knapp
Force-Push: yes Change-Id: Ib2db6c2af91698678c99969f575636abb4215b54