MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / draw_buffer

Method draw_buffer

crates/virtual-machine/src/devices/framebuffer.rs:60–66  ·  view source on GitHub ↗

The buffer the guest currently draws into and reads from.

(&mut self)

Source from the content-addressed store, hash-verified

58
59 /// Total FILL-register clears since boot.
60 pub fn fill_count(&self) -> u64 {
61 self.fill_count
62 }
63
64 /// Monotonic counter of visible-pixel changes; the GUI re-uploads its texture
65 /// whenever this moves, so demos that draw directly (no FILL) still refresh.
66 pub fn content_version(&self) -> u64 {
67 self.version
68 }
69

Callers 4

fillMethod · 0.80
read_byteMethod · 0.80
write_byteMethod · 0.80
write_wordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected