GPU: Basic/hacky CPU->VRAM transfers

This commit is contained in:
Connor McLaughlin
2019-09-13 01:10:08 +10:00
parent 52b619facc
commit cfe361c1a6
5 changed files with 84 additions and 5 deletions

View File

@ -97,8 +97,10 @@ protected:
// Rendering commands, returns false if not enough data is provided
bool HandleRenderCommand();
bool HandleCopyRectangleCPUToVRAMCommand();
// Rendering in the backend
virtual void UpdateVRAM(u32 x, u32 y, u32 width, u32 height, const void* data);
virtual void DispatchRenderCommand(RenderCommand rc, u32 num_vertices);
virtual void FlushRender();