JFLib

ui/gpu_out_off.rs#

Source: lib/ui/gpu_out_off.rs

gpu_out_off -- the UI's GPU output on targets without it (gpu_out.rs: Windows, Linux programs
against glibc, Android, the browser): every frame takes the platform's path, no GPU code is linked

impl Ui

  • fn gpu_output(&self, _win: u32) -> GpuOutput what window win (a UI window index, 0 = main) shows through: here the platform's path
  • fn gpu_test_lose(&mut self) (test aid) where the GPU shows windows: the device behaves as lost from now on
  • fn gpu_settle(&mut self) where the GPU shows windows: the pixels of the GPU's images into the framebuffer
  • fn gpu_test_hold(&mut self, _win: u32, _on: bool) (test aid, G5e3) where the GPU shows windows: window win's frames are not shown while on
  • fn gpu_test_veil(&mut self, _on: bool) (test aid, G7b) where the GPU shows windows: cells with something over a view are veils, or read its frame back
  • fn gpu_test_image_budget(&mut self, _bytes: u64) (test aid) where the GPU shows windows: the bytes image textures may take
  • fn gpu_test_canvas_budget(&mut self, _bytes: u64) (test aid) where the GPU shows windows: the bytes canvas tiles may take
  • fn gpu_test_canvas_unused(&mut self, _ms: u64) (test aid) where the GPU shows windows: the tiles go this long (ms) after the last move
  • fn gpu_canvas_settle(&mut self) where the GPU shows windows: every canvas whose view comes from tiles goes back to the CPU's picture now

Source: docs/API.md in the JFLib repository.