projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: drop unneeded assert
[mesa.git]
/
src
/
mesa
/
main
/
glformats.h
diff --git
a/src/mesa/main/glformats.h
b/src/mesa/main/glformats.h
index 00d2767085da8d8ba87ad109cf4c621bc1ebf24c..763307f259316201c7b0a0ae1f585f27a492e447 100644
(file)
--- a/
src/mesa/main/glformats.h
+++ b/
src/mesa/main/glformats.h
@@
-28,6
+28,7
@@
#define GLFORMATS_H
#define GLFORMATS_H
+#include <stdbool.h>
#include <GL/gl.h>
#include <GL/gl.h>
@@
-59,6
+60,9
@@
_mesa_bytes_per_vertex_attrib(GLint comps, GLenum type);
extern GLboolean
_mesa_is_astc_format(GLenum internalFormat);
extern GLboolean
_mesa_is_astc_format(GLenum internalFormat);
+extern GLboolean
+_mesa_is_etc2_format(GLenum internalFormat);
+
extern GLboolean
_mesa_is_type_unsigned(GLenum type);
extern GLboolean
_mesa_is_type_unsigned(GLenum type);
@@
-144,6
+148,13
@@
_mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat );
extern uint32_t
_mesa_format_from_format_and_type(GLenum format, GLenum type);
extern uint32_t
_mesa_format_from_format_and_type(GLenum format, GLenum type);
+extern bool
+_mesa_is_es3_color_renderable(GLenum internal_format);
+
+extern bool
+_mesa_is_es3_texture_filterable(const struct gl_context *ctx,
+ GLenum internal_format);
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif