MCPcopy Create free account

hub / github.com/cbiffle/m4vga-rs / functions

Functions283 in github.com/cbiffle/m4vga-rs

↓ 1 callersFunctiongenerate_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 callersFunctiongenerate_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 callersMethodgoto
Repositions the cursor.
m4demos/src/bin/hires_text.rs:223
↓ 1 callersMethodindex_mut
(self, array: &mut [T; MAX_STATES])
m4demos/src/bin/poly3/render.rs:122
↓ 1 callersFunctionisPaused
()
wasmdemos/www/index.js:48
↓ 1 callersMethodis_rendered_state
Does rasterization need to run in this state?
m4vga/src/driver.rs:669
↓ 1 callersMethodis_trivial
If this edge connects a vertex to itself, there's no need to draw it.
stlmunge/src/lib.rs:75
↓ 1 callersFunctionlinker_script_plumbing
()
m4vga/build.rs:27
↓ 1 callersMethodlock
Locks `self` for reading, spinning forever if necessary.
m4vga/src/util/rw_lock.rs:88
↓ 1 callersMethodmap
( orig: Guard<'a, T>, f: impl FnOnce(&T) -> &U, )
m4vga/src/util/rw_lock.rs:149
↓ 1 callersFunctionmunge_rook_stl
()
m4demos/build.rs:27
↓ 1 callersFunctionmunge_solid_stl
()
m4demos/build.rs:39
↓ 1 callersMethodnew
()
wasmdemos/src/lib.rs:156
↓ 1 callersMethodnormalize
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 callersMethodobserve
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 callersFunctionpause
()
wasmdemos/www/index.js:41
↓ 1 callersMethodpop
(&mut self)
m4demos/src/bin/poly3/render.rs:362
↓ 1 callersFunctionprepare_for_scanout
( dma: &device::DMA2, vtimer: &device::tim1::RegisterBlock, ctx: &RasterCtx, )
m4vga/src/driver/isr/bg_rast.rs:219
↓ 1 callersFunctionrasterize_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 callersFunctionread_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 callersFunctionrender
(table: &table::Table, fb: &mut [u8], frame: usize)
fx/tunnel/src/render.rs:4
↓ 1 callersFunctionrenderLoop
()
wasmdemos/www/index.js:85
↓ 1 callersMethodreset
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 callersFunctionsecondary_unpack
( ctx: &m4vga::rast::RasterCtx, src: &[u32], dest: &mut [u32], )
wasmdemos/src/lib.rs:99
↓ 1 callersMethodset
(&mut self)
gfx/src/bit.rs:24
↓ 1 callersFunctionshade
(distance: f32, pixel: u32)
fx/tunnel/src/render.rs:141
↓ 1 callersFunctionsig_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 callersFunctionsig_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 callersFunctionsolid_munge
Process binary STL file from `input` and produce a `Solid` structure describing the results.
stlmunge/src/lib.rs:235
↓ 1 callersFunctionsram112_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 callersFunctionstart_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 callersFunctionstep
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 callersMethodstep
(&mut self, scanline: usize, mut body: F)
m4demos/src/bin/poly3/render.rs:203
↓ 1 callersMethodswap_remove_if
(&mut self, mut f: impl FnMut(StateIndex) -> bool)
m4demos/src/bin/poly3/render.rs:367
↓ 1 callersFunctionsync_off
Turns off sync outputs. This used to be public API, but I never use it, so.
m4vga/src/driver.rs:599
↓ 1 callersFunctionsync_on
Turns on sync outputs.
m4vga/src/driver.rs:609
↓ 1 callersMethodtake_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 callersFunctiontex_fetch
(u: f32, v: f32)
fx/rotozoom/src/lib.rs:145
↓ 1 callersMethodto_states
( self, color: u8, normal: Vec3f, )
m4demos/src/bin/poly3/render.rs:266
↓ 1 callersFunctiontransform_vertices
Transforms a vertex slice and projects to 2D.
m4demos/src/bin/rook/main.rs:209
↓ 1 callersMethodtry_lock
(&self)
m4vga/src/util/spin_lock.rs:39
↓ 1 callersFunctionu32_as_u8_mut
(slice: &mut [u32])
fx/tunnel/src/lib.rs:127
↓ 1 callersFunctionu32_as_u8_mut
(slice: &mut [u32])
fx/rotozoom/src/lib.rs:136
↓ 1 callersFunctionunpack_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 callersFunctionupdate_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 callersMethodvideo_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 callersFunctionwireframe_munge
Process binary STL file from `input` and produce a `Wireframe` structure describing the results.
stlmunge/src/lib.rs:82
↓ 1 callersFunctionworking_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 callersFunctionxor_pattern
A thin Rust wrapper for the assembly routine.
m4demos/src/bin/xor_pattern/main.rs:26
FunctionPendSV
()
m4demos/src/bin/rotozoom.rs:71
FunctionPendSV
()
m4demos/src/bin/conway.rs:75
FunctionPendSV
()
m4demos/src/bin/hires_text.rs:246
FunctionPendSV
()
m4demos/src/bin/horiz_tp.rs:60
FunctionPendSV
()
m4demos/src/bin/tunnel.rs:51
FunctionPendSV
()
m4demos/src/bin/rook/main.rs:316
FunctionPendSV
()
m4demos/src/bin/xor_pattern/main.rs:75
FunctionPendSV
()
m4demos/src/bin/poly3/main.rs:123
FunctionTIM3
()
m4demos/src/bin/rotozoom.rs:78
FunctionTIM3
()
m4demos/src/bin/conway.rs:82
FunctionTIM3
()
m4demos/src/bin/hires_text.rs:253
FunctionTIM3
()
m4demos/src/bin/horiz_tp.rs:67
FunctionTIM3
()
m4demos/src/bin/tunnel.rs:58
FunctionTIM3
()
m4demos/src/bin/rook/main.rs:323
FunctionTIM3
()
m4demos/src/bin/xor_pattern/main.rs:82
FunctionTIM3
()
m4demos/src/bin/poly3/main.rs:130
FunctionTIM4
()
m4demos/src/bin/rotozoom.rs:85
FunctionTIM4
()
m4demos/src/bin/conway.rs:89
FunctionTIM4
()
m4demos/src/bin/hires_text.rs:260
FunctionTIM4
()
m4demos/src/bin/horiz_tp.rs:74
FunctionTIM4
()
m4demos/src/bin/tunnel.rs:65
FunctionTIM4
()
m4demos/src/bin/rook/main.rs:330
FunctionTIM4
()
m4demos/src/bin/xor_pattern/main.rs:89
FunctionTIM4
()
m4demos/src/bin/poly3/main.rs:137
Methodbackground
Extracts the background color.
m4vga/src/rast/text_10x16.rs:37
Functionbasic_u32_projection
()
gfx/src/bit.rs:142
Functionbasic_u8_projection
()
gfx/src/bit.rs:159
Methodbetween
(p0: &Vec3i, p1: &Vec3i)
m4demos/src/bin/poly3/render.rs:90
Methodchar
Extracts the `char` value of this cell.
m4vga/src/rast/text_10x16.rs:27
Methodcheck_edges
( raw: &[(u16, u16)], )
m4demos/src/bin/rook/main.rs:279
Methodchecked
(idx: usize)
m4demos/src/bin/poly3/render.rs:109
Methodclear
Clears the contents of the buffer to zeroes.
gfx/src/lib.rs:51
Methodclear
(&mut self)
gfx/src/bit.rs:28
Methodcompute
(x: usize, y: usize)
fx/tunnel/src/table.rs:35
Methoddefault
()
stlmunge/src/lib.rs:392
Methodderef
(&self)
m4vga/src/rast/mod.rs:45
Methodderef
(&self)
m4vga/src/util/spin_lock.rs:100
Methodderef
(&self)
m4vga/src/util/race_buf.rs:209
Methodderef
(&self)
m4vga/src/util/rw_lock.rs:163
Methodderef
(&self)
m4demos/src/bin/poly3/render.rs:383
Methodderef_mut
(&mut self)
m4vga/src/rast/mod.rs:51
Methodderef_mut
(&mut self)
m4vga/src/util/spin_lock.rs:106
Methodderef_mut
(&mut self)
m4vga/src/util/race_buf.rs:215
Methodderef_mut
(&mut self)
m4vga/src/util/rw_lock.rs:204
Methodderef_mut
(&mut self)
m4demos/src/bin/poly3/render.rs:389
Functiondiagonal_full
()
gfx/src/lib.rs:285
Methoddmajor_dminor
(dx: usize, dy: usize)
gfx/src/lib.rs:79
Functiondraw_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
Methoddrop
(&mut self)
m4vga/src/util/spin_lock.rs:112
Methoddrop
(&mut self)
m4vga/src/util/race_buf.rs:202
Methoddrop
(&mut self)
m4vga/src/util/rw_lock.rs:171
← previousnext →101–200 of 283, ranked by callers