mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Fix]: fix iterationT
- implement glCopyImageSubData frontend export and backend dispatch - add DirectGLES depth-only CopyImageSubData via framebuffer depth blit - add DirectGLES R32F CopyImageSubData fallback for GLES drivers rejecting native copy - allocate DirectGLES generated mipmap storage for depth-only and R11FG11FB10F manual generation - generate DirectGLES depth-only mipmaps with explicit depth blits - generate DirectGLES R11FG11FB10F mipmaps with explicit color blits - add DirectVulkan CopyImageSubData with explicit image copy and layout transitions - use native Vulkan blit for depth-only mipmap generation - remove unused Vulkan depth mipmap shader fallback path
This commit is contained in:
@@ -64,6 +64,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
GLsizei height, GLint border);
|
||||
void CopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width,
|
||||
GLsizei height);
|
||||
void CopyImageSubData(const SharedPtr<MG_State::GLState::ITextureObject>& srcTexture,
|
||||
GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ,
|
||||
const SharedPtr<MG_State::GLState::ITextureObject>& dstTexture,
|
||||
GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ,
|
||||
GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
|
||||
void GenerateMipmap(GLenum target);
|
||||
const GLubyte* GetString(GLenum name);
|
||||
void ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
|
||||
|
||||
Reference in New Issue
Block a user