#include "pipe/p_defines.h"
#include "pipe/p_format.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
struct pipe_screen;
extern enum pipe_format
-st_mesa_format_to_pipe_format(struct st_context *st, mesa_format mesaFormat);
+st_mesa_format_to_pipe_format(const struct st_context *st, mesa_format mesaFormat);
extern mesa_format
st_pipe_format_to_mesa_format(enum pipe_format pipeFormat);
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 */