[Feat] (Diligent): add instanced/clear-buffer/blit GL entry points

- Wire DrawElementsBaseVertex, instanced draw family, MultiDrawElementsBaseVertex
- Wire ClearBufferfv/iv/uiv to the Diligent clear path
- Add same-size color BlitFramebuffer between current read/draw framebuffers
- Update handoff with newly implemented GL 3.2 entry points
This commit is contained in:
BZLZHH
2026-08-23 09:15:21 +08:00
parent 45b309db37
commit 87750c3b21
4 changed files with 207 additions and 10 deletions
@@ -60,6 +60,9 @@ namespace MobileGL::MG_Backend::DiligentBackend {
// bound buffers. This is the front-end emulation entry point.
void DrawFromState(GLenum mode, GLint first, GLsizei count, GLenum type, const void* indices);
void ReadPixels(Uint32 x, Uint32 y, Uint32 width, Uint32 height, void* pixels);
void BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
GLbitfield mask, GLenum filter);
void Present();
::Diligent::IRenderDevice* GetDevice() const { return m_pDevice; }