Skip to content

Commit

Permalink
Rework 3d
Browse files Browse the repository at this point in the history
* Add frameskip to geometry engine
* Accelerate matrix mul with neon
  • Loading branch information
Grarak committed Jan 25, 2025
1 parent c0935f0 commit ad31d78
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 880 deletions.
4 changes: 2 additions & 2 deletions src/core/graphics/gpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ impl Gpu {
let pow_cnt1 = PowCnt1::from(gpu.pow_cnt1);
gpu.get_renderer_mut().on_scanline_finish(get_mem_mut!(emu), pow_cnt1, gpu_3d_regs);

if gpu_3d_regs.flushed {
gpu_3d_regs.swap_buffers();
if gpu.gpu_3d_regs.flushed {
gpu.gpu_3d_regs.swap_buffers();
gpu.get_renderer_mut().renderer_3d.invalidate();
}

Expand Down
Loading

0 comments on commit ad31d78

Please sign in to comment.