#include "pipe/p_defines.h"
#include "pipe/p_format.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
struct pipe_screen;
GLint internalFormat,
GLenum format, GLenum type);
-size_t
-st_QuerySamplesForFormat(struct gl_context *ctx, GLenum target,
- GLenum internalFormat, int samples[16]);
-
-
+void
+st_QueryInternalFormat(struct gl_context *ctx, GLenum target,
+ GLenum internalFormat, GLenum pname, GLint *params);
extern void
st_translate_color(const union gl_color_union *colorIn,
union pipe_color_union *colorOut,
GLenum baseFormat, GLboolean is_integer);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ST_FORMAT_H */