r300: finish blit support for r300
[mesa.git] / src / mesa / drivers / dri / r300 / r300_tex.h
index baad3fe6c06f85b739f021514a5b448c5d0d689d..beb10072e9c69470d48c2efbc6f9a700e4832e37 100644 (file)
@@ -40,6 +40,9 @@ extern void r300SetDepthTexMode(struct gl_texture_object *tObj);
 extern void r300SetTexBuffer(__DRIcontext *pDRICtx, GLint target,
                             __DRIdrawable *dPriv);
 
+extern void r300SetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
+                             GLint format, __DRIdrawable *dPriv);
+
 extern void r300SetTexOffset(__DRIcontext *pDRICtx, GLint texname,
                             unsigned long long offset, GLint depth,
                             GLuint pitch);
@@ -48,4 +51,6 @@ extern GLboolean r300ValidateBuffers(GLcontext * ctx);
 
 extern void r300InitTextureFuncs(struct dd_function_table *functions);
 
+uint32_t r300TranslateTexFormat(gl_format mesaFormat);
+
 #endif                         /* __r300_TEX_H__ */