mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 07:35:41 +12:00
This value is needed for vulkan to properly allocate a surface, and would benefit OpenGL to move more of its initialization code into here rather than in `emulator.cpp`.
17 lines
No EOL
635 B
C++
17 lines
No EOL
635 B
C++
#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(SDL_Window* window) 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;
|
|
}; |