[Feat] (Diligent, MG_Impl): wire CopyImageSubData whole-texture copy

- CopyImageSubData syncs both texture objects and issues a Diligent CopyTexture
- Update handoff; 16 Diligent tests pass
This commit is contained in:
BZLZHH
2026-08-23 10:05:50 +08:00
parent a223499143
commit b9d1504cc5
4 changed files with 51 additions and 1 deletions
@@ -66,6 +66,7 @@ namespace MobileGL::MG_Backend::DiligentBackend {
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
GLbitfield mask, GLenum filter);
void CopyReadFramebufferToTexture(MG_State::GLState::ITextureObject& dst);
void CopyTextureSubData(MG_State::GLState::ITextureObject& src, MG_State::GLState::ITextureObject& dst);
Bool ReadTextureImage(MG_State::GLState::ITextureObject& texture, Uint32 level, void* pixels);
void Present();