X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fgenmipmap.h;h=40b7f3636aa29508d047b91720b5f6c3a43b0a0d;hb=78a391ed8311fc5215347f8775bf0aa29568b78d;hp=d546a8d7b8cf2c98ffe0bf7b75832cb4fad7d7ff;hpb=3abd4f4d90c5827f74509c1f507ed71aa7be9a15;p=mesa.git diff --git a/src/mesa/main/genmipmap.h b/src/mesa/main/genmipmap.h index d546a8d7b8c..40b7f3636aa 100644 --- a/src/mesa/main/genmipmap.h +++ b/src/mesa/main/genmipmap.h @@ -28,9 +28,21 @@ #include "glheader.h" +extern void +_mesa_generate_texture_mipmap(struct gl_context *ctx, + struct gl_texture_object *texObj, GLenum target, + bool dsa); +bool +_mesa_is_valid_generate_texture_mipmap_target(struct gl_context *ctx, + GLenum target); +bool +_mesa_is_valid_generate_texture_mipmap_internalformat(struct gl_context *ctx, + GLenum internalformat); extern void GLAPIENTRY _mesa_GenerateMipmap(GLenum target); +extern void GLAPIENTRY +_mesa_GenerateTextureMipmap(GLuint texture); #endif /* GENMIPMAP_H */