MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / start_frame

Method start_frame

canvas/src/context.rs:26–26  ·  view source on GitHub ↗

Suspends rendering to the display until the next 'ShowFrame' The renderer may perform tessellation or rendering in the background after 'StartFrame' but won't commit anything to the visible frame buffer until 'ShowFrame' is hit. If 'StartFrame' is nested, then the frame won't be displayed until 'ShowFrame' has been requested at least that many times. The frame state persists across a 'ClearCanva

(&mut self)

Source from the content-addressed store, hash-verified

24 ///
25 /// The frame state persists across a 'ClearCanvas'
26 fn start_frame(&mut self) { self.draw(Draw::StartFrame); }
27
28 /// Displays any requested queued after 'StartFrame'
29 fn show_frame(&mut self) { self.draw(Draw::ShowFrame); }

Callers 2

drawMethod · 0.80

Implementers 3

font_line_layout.rscanvas/src/font_line_layout.rs
context.rscanvas/src/context.rs
canvas.rscanvas/src/canvas.rs

Calls 1

drawMethod · 0.45

Tested by 1