GLTexture: Add direct state access support

This commit is contained in:
2020-09-05 17:36:00 +02:00
parent 558e1158e7
commit 64490bdedb
2 changed files with 65 additions and 20 deletions

View File

@@ -89,6 +89,8 @@ class GLTexture : public Texture {
private:
bool proxy_check(int mip);
void ensure_mipmaps(int mip);
void update_sub_direct_state_access(
int mip, int offset[3], int extent[3], GLenum gl_format, GLenum gl_type, const void *data);
GPUFrameBuffer *framebuffer_get(void);
MEM_CXX_CLASS_ALLOC_FUNCS("GLTexture")