GPU: Copy-less processing from DMA

This commit is contained in:
Connor McLaughlin
2019-10-13 17:33:20 +10:00
parent ec8c5d4bb6
commit 7448cbaf9d
4 changed files with 143 additions and 112 deletions

View File

@ -83,7 +83,7 @@ protected:
bool IsFlushed() const { return m_batch.vertices.empty(); }
void DispatchRenderCommand(RenderCommand rc, u32 num_vertices) override;
void DispatchRenderCommand(RenderCommand rc, u32 num_vertices, const u32* command_ptr) override;
void CalcScissorRect(int* left, int* top, int* right, int* bottom);
@ -107,5 +107,5 @@ private:
void GenerateShaderHeader(std::stringstream& ss);
void LoadVertices(RenderCommand rc, u32 num_vertices);
void LoadVertices(RenderCommand rc, u32 num_vertices, const u32* command_ptr);
};