mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 13:25:51 +12:00
Add Null rendering backend
Doesn't implement any functions, currently not selectable or configurable
This commit is contained in:
parent
b10e69de0e
commit
1becbef811
3 changed files with 32 additions and 2 deletions
17
include/renderer_null/renderer_null.hpp
Normal file
17
include/renderer_null/renderer_null.hpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include "renderer.hpp"
|
||||
|
||||
class GPU;
|
||||
|
||||
class RendererNull final : public Renderer {
|
||||
public:
|
||||
RendererNull(GPU& gpu, const std::array<u32, regNum>& internalRegs);
|
||||
~RendererNull() override;
|
||||
|
||||
void reset() override;
|
||||
void display() override;
|
||||
void initGraphicsContext() override;
|
||||
void clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) override;
|
||||
void displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u32 outputSize, u32 flags) override;
|
||||
void drawVertices(PICA::PrimType primType, std::span<const PICA::Vertex> vertices) override;
|
||||
void screenshot(const std::string& name) override;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue