summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_tex.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-05-23 12:17:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-05-23 12:17:27 +0000
commit17bcf9f816db3098db42acd7f0672f64554dd6a0 (patch)
treeafda81fcab4e5f6812a4a8aef7ba602f16e563c7 /src/mesa/drivers/dri/unichrome/via_tex.h
parenteb9d6f44a963d985d67991deff57a6f8d7d3f0f6 (diff)
Import Thomas Helstrom's SSE memcpy code from the via X.org driver.
Add a TextureMemCpy callback, called from texstore.c when copying texture data via the memcpy_texture() path. Enable this code in the via driver - 100% speedup in texdown.c results.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tex.h')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.h b/src/mesa/drivers/dri/unichrome/via_tex.h
index f6c024e438..8277aada40 100644
--- a/src/mesa/drivers/dri/unichrome/via_tex.h
+++ b/src/mesa/drivers/dri/unichrome/via_tex.h
@@ -34,4 +34,6 @@ GLboolean viaUpdateTextureState(GLcontext *ctx);
void viaInitTextureFuncs(struct dd_function_table * functions);
GLboolean viaSwapOutWork( struct via_context *vmesa );
+void via_sse_memcpy( void *to, const void *from, size_t sz );
+
#endif