r300: refactor color buffer setup
[mesa.git] / src / mesa / drivers / dri / r300 / r300_cmdbuf.h
index 1b703e518a0c403196553c27de42e7bf7d5c8201..4cde1e2dcf72c997693338bbb893fd5fcdc10630 100644 (file)
@@ -54,4 +54,11 @@ void emit_r500fp(GLcontext *ctx, struct radeon_state_atom * atom);
 int check_r500fp(GLcontext *ctx, struct radeon_state_atom *atom);
 int check_r500fp_const(GLcontext *ctx, struct radeon_state_atom *atom);
 
-#endif                         /* __R300_CMDBUF_H__ */
+void r300_emit_cb_setup(struct r300_context *r300,
+                        struct radeon_bo *bo,
+                        uint32_t offset,
+                        GLuint format,
+                        unsigned cpp,
+                        unsigned pitch);
+
+#endif /* __R300_CMDBUF_H__ */