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

Method peek_framebuffer

crates/virtual-machine/src/bus.rs:248–250  ·  view source on GitHub ↗

Borrow the framebuffer's pixel buffer for display.

(&self)

Source from the content-addressed store, hash-verified

246 &self,
247 addr: u64,
248 ) -> Option<(
249 crate::memory::cache::CacheStats,
250 crate::memory::cache::CacheStats,
251 crate::memory::cache::CacheStats,
252 )> {
253 (self.memory_latency.enabled && addr >= RAM_BASE).then(|| self.get_cache_stats())

Callers 7

maybe_tickMethod · 0.45
do_stopMethod · 0.45
render_framebufferMethod · 0.45

Calls 1

pixelsMethod · 0.80