Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbiffle/m4vga-rs
/ functions
Functions
283 in github.com/cbiffle/m4vga-rs
⨍
Functions
283
◇
Types & classes
99
↓ 1 callers
Function
generate_solid
Reads a binary STL file on `input` and produces Rust code representing its vertices and connectivity on `output`.
stlmunge/src/lib.rs:308
↓ 1 callers
Function
generate_wireframe
Reads a binary STL file on `input` and produces Rust code representing its vertices and connectivity on `output`.
stlmunge/src/lib.rs:158
↓ 1 callers
Method
goto
Repositions the cursor.
m4demos/src/bin/hires_text.rs:223
↓ 1 callers
Method
index_mut
(self, array: &mut [T; MAX_STATES])
m4demos/src/bin/poly3/render.rs:122
↓ 1 callers
Function
isPaused
()
wasmdemos/www/index.js:48
↓ 1 callers
Method
is_rendered_state
Does rasterization need to run in this state?
m4vga/src/driver.rs:669
↓ 1 callers
Method
is_trivial
If this edge connects a vertex to itself, there's no need to draw it.
stlmunge/src/lib.rs:75
↓ 1 callers
Function
linker_script_plumbing
()
m4vga/build.rs:27
↓ 1 callers
Method
lock
Locks `self` for reading, spinning forever if necessary.
m4vga/src/util/rw_lock.rs:88
↓ 1 callers
Method
map
( orig: Guard<'a, T>, f: impl FnOnce(&T) -> &U, )
m4vga/src/util/rw_lock.rs:149
↓ 1 callers
Function
munge_rook_stl
()
m4demos/build.rs:27
↓ 1 callers
Function
munge_solid_stl
()
m4demos/build.rs:39
↓ 1 callers
Method
new
()
wasmdemos/src/lib.rs:156
↓ 1 callers
Method
normalize
Make sure the edge connects a lower-numbered point to a higher-numbered point. This makes detecting duplicate edges much easier.
stlmunge/src/lib.rs:66
↓ 1 callers
Method
observe
Locks the `IRef` and observes its contents, if it is not empty or already locked. If this is called concurrently with `supply`, it will execute `body
m4vga/src/rast/mod.rs:219
↓ 1 callers
Function
pause
()
wasmdemos/www/index.js:41
↓ 1 callers
Method
pop
(&mut self)
m4demos/src/bin/poly3/render.rs:362
↓ 1 callers
Function
prepare_for_scanout
( dma: &device::DMA2, vtimer: &device::tim1::RegisterBlock, ctx: &RasterCtx, )
m4vga/src/driver/isr/bg_rast.rs:219
↓ 1 callers
Function
rasterize_next_line
( cycles_per_pixel: usize, video_start_line: usize, ctx: &mut RasterCtx, working: &mut Working
m4vga/src/driver/isr/bg_rast.rs:377
↓ 1 callers
Function
read_unavail
Checks if we *can't* take out a read lock given a status word. We can't take out a read lock if: 1. The status is negative (i.e. write locks exist).
m4vga/src/util/rw_lock.rs:234
↓ 1 callers
Function
render
(table: &table::Table, fb: &mut [u8], frame: usize)
fx/tunnel/src/render.rs:4
↓ 1 callers
Function
renderLoop
()
wasmdemos/www/index.js:85
↓ 1 callers
Method
reset
Resets the raster context and prepares to render triangle state machines for the triangles described by the index buffer `tris` and vertex buffer `ver
m4demos/src/bin/poly3/render.rs:161
↓ 1 callers
Function
secondary_unpack
( ctx: &m4vga::rast::RasterCtx, src: &[u32], dest: &mut [u32], )
wasmdemos/src/lib.rs:99
↓ 1 callers
Method
set
(&mut self)
gfx/src/bit.rs:24
↓ 1 callers
Function
shade
(distance: f32, pixel: u32)
fx/tunnel/src/render.rs:141
↓ 1 callers
Function
sig_a_clear
Clear measurement signal A. If the `measurement` feature is not set, this is a no-op.
m4vga/src/util/measurement.rs:97
↓ 1 callers
Function
sig_a_set
Set measurement signal A. If the `measurement` feature is not set, this is a no-op.
m4vga/src/util/measurement.rs:89
↓ 1 callers
Function
solid_munge
Process binary STL file from `input` and produce a `Solid` structure describing the results.
stlmunge/src/lib.rs:235
↓ 1 callers
Function
sram112_alias
Maps an address from the zero-based alias of SRAM112 into its native space starting at `0x2000_0000`. This is required to use bitbanding. Since the i
m4demos/src/bin/rook/main.rs:243
↓ 1 callers
Function
start_of_active_video
Routine for handling SAV (start-of-active video). This needs to do as little work as possible to avoid messing up scanout timing.
m4vga/src/driver/isr/hstate.rs:87
↓ 1 callers
Function
step
Advance the automaton. - current_map is the framebuffer (or equivalent bitmap) holding the current state. - next_map is a framebuffer (bitmap) that wi
fx/conway/src/conway.rs:77
↓ 1 callers
Method
step
(&mut self, scanline: usize, mut body: F)
m4demos/src/bin/poly3/render.rs:203
↓ 1 callers
Method
swap_remove_if
(&mut self, mut f: impl FnMut(StateIndex) -> bool)
m4demos/src/bin/poly3/render.rs:367
↓ 1 callers
Function
sync_off
Turns off sync outputs. This used to be public API, but I never use it, so.
m4vga/src/driver.rs:599
↓ 1 callers
Function
sync_on
Turns on sync outputs.
m4vga/src/driver.rs:609
↓ 1 callers
Method
take_line
Gets a reference to a scanline, identified by `line_number`. If the renderer has not finished with this scanline, we have found a dynamic data race;
m4vga/src/util/race_buf.rs:101
↓ 1 callers
Function
tex_fetch
(u: f32, v: f32)
fx/rotozoom/src/lib.rs:145
↓ 1 callers
Method
to_states
( self, color: u8, normal: Vec3f, )
m4demos/src/bin/poly3/render.rs:266
↓ 1 callers
Function
transform_vertices
Transforms a vertex slice and projects to 2D.
m4demos/src/bin/rook/main.rs:209
↓ 1 callers
Method
try_lock
(&self)
m4vga/src/util/spin_lock.rs:39
↓ 1 callers
Function
u32_as_u8_mut
(slice: &mut [u32])
fx/tunnel/src/lib.rs:127
↓ 1 callers
Function
u32_as_u8_mut
(slice: &mut [u32])
fx/rotozoom/src/lib.rs:136
↓ 1 callers
Function
unpack_raw
Raw text unpacking function. See `unpack` for something more pleasant. Unpacks a row of attributed characters from `src` into the pixel buffer `targe
m4vga/src/rast/text_10x16.rs:65
↓ 1 callers
Function
update_scan_buffer
Copy the first `len_bytes` of `working` into the global scanout buffer for DMA.
m4vga/src/driver/isr/bg_rast.rs:188
↓ 1 callers
Method
video_off
Disables video output. This is not synchronized and can happen in the middle of the frame; if that bothers you, synchronize with vblank.
m4vga/src/driver.rs:99
↓ 1 callers
Function
wireframe_munge
Process binary STL file from `input` and produce a `Wireframe` structure describing the results.
stlmunge/src/lib.rs:82
↓ 1 callers
Function
working_buffer_as_u8
Casting from a word-aligned working buffer to a byte-aligned pixel buffer.
m4vga/src/driver/isr/bg_rast.rs:412
↓ 1 callers
Function
xor_pattern
A thin Rust wrapper for the assembly routine.
m4demos/src/bin/xor_pattern/main.rs:26
Function
PendSV
()
m4demos/src/bin/rotozoom.rs:71
Function
PendSV
()
m4demos/src/bin/conway.rs:75
Function
PendSV
()
m4demos/src/bin/hires_text.rs:246
Function
PendSV
()
m4demos/src/bin/horiz_tp.rs:60
Function
PendSV
()
m4demos/src/bin/tunnel.rs:51
Function
PendSV
()
m4demos/src/bin/rook/main.rs:316
Function
PendSV
()
m4demos/src/bin/xor_pattern/main.rs:75
Function
PendSV
()
m4demos/src/bin/poly3/main.rs:123
Function
TIM3
()
m4demos/src/bin/rotozoom.rs:78
Function
TIM3
()
m4demos/src/bin/conway.rs:82
Function
TIM3
()
m4demos/src/bin/hires_text.rs:253
Function
TIM3
()
m4demos/src/bin/horiz_tp.rs:67
Function
TIM3
()
m4demos/src/bin/tunnel.rs:58
Function
TIM3
()
m4demos/src/bin/rook/main.rs:323
Function
TIM3
()
m4demos/src/bin/xor_pattern/main.rs:82
Function
TIM3
()
m4demos/src/bin/poly3/main.rs:130
Function
TIM4
()
m4demos/src/bin/rotozoom.rs:85
Function
TIM4
()
m4demos/src/bin/conway.rs:89
Function
TIM4
()
m4demos/src/bin/hires_text.rs:260
Function
TIM4
()
m4demos/src/bin/horiz_tp.rs:74
Function
TIM4
()
m4demos/src/bin/tunnel.rs:65
Function
TIM4
()
m4demos/src/bin/rook/main.rs:330
Function
TIM4
()
m4demos/src/bin/xor_pattern/main.rs:89
Function
TIM4
()
m4demos/src/bin/poly3/main.rs:137
Method
background
Extracts the background color.
m4vga/src/rast/text_10x16.rs:37
Function
basic_u32_projection
()
gfx/src/bit.rs:142
Function
basic_u8_projection
()
gfx/src/bit.rs:159
Method
between
(p0: &Vec3i, p1: &Vec3i)
m4demos/src/bin/poly3/render.rs:90
Method
char
Extracts the `char` value of this cell.
m4vga/src/rast/text_10x16.rs:27
Method
check_edges
( raw: &[(u16, u16)], )
m4demos/src/bin/rook/main.rs:279
Method
checked
(idx: usize)
m4demos/src/bin/poly3/render.rs:109
Method
clear
Clears the contents of the buffer to zeroes.
gfx/src/lib.rs:51
Method
clear
(&mut self)
gfx/src/bit.rs:28
Method
compute
(x: usize, y: usize)
fx/tunnel/src/table.rs:35
Method
default
()
stlmunge/src/lib.rs:392
Method
deref
(&self)
m4vga/src/rast/mod.rs:45
Method
deref
(&self)
m4vga/src/util/spin_lock.rs:100
Method
deref
(&self)
m4vga/src/util/race_buf.rs:209
Method
deref
(&self)
m4vga/src/util/rw_lock.rs:163
Method
deref
(&self)
m4demos/src/bin/poly3/render.rs:383
Method
deref_mut
(&mut self)
m4vga/src/rast/mod.rs:51
Method
deref_mut
(&mut self)
m4vga/src/util/spin_lock.rs:106
Method
deref_mut
(&mut self)
m4vga/src/util/race_buf.rs:215
Method
deref_mut
(&mut self)
m4vga/src/util/rw_lock.rs:204
Method
deref_mut
(&mut self)
m4demos/src/bin/poly3/render.rs:389
Function
diagonal_full
()
gfx/src/lib.rs:285
Method
dmajor_dminor
(dx: usize, dy: usize)
gfx/src/lib.rs:79
Function
draw_line_unclipped_unchecked
Draws a line starting at bitband word `out` and progressing for `dx` and `dy` pixels along either axis. Drawing along Y is always top to bottom; the d
gfx/src/lib.rs:122
Method
drop
(&mut self)
m4vga/src/util/spin_lock.rs:112
Method
drop
(&mut self)
m4vga/src/util/race_buf.rs:202
Method
drop
(&mut self)
m4vga/src/util/rw_lock.rs:171
← previous
next →
101–200 of 283, ranked by callers