summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-15 16:51:57 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-15 16:51:57 -0700
commit47b5138d2d6533ac1cd818713fd0678ec3c7aa1b (patch)
tree8759fbfa2b991b512210a06732ecf701da160ed1 /src/mesa/pipe/i915simple
parent263e8f057290961c9dd603ffa69f25a7a253301a (diff)
downloadexternal_mesa3d-47b5138d2d6533ac1cd818713fd0678ec3c7aa1b.zip
external_mesa3d-47b5138d2d6533ac1cd818713fd0678ec3c7aa1b.tar.gz
external_mesa3d-47b5138d2d6533ac1cd818713fd0678ec3c7aa1b.tar.bz2
rename some 'mesa' functions
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r--src/mesa/pipe/i915simple/i915_surface.c34
1 files changed, 15 insertions, 19 deletions
diff --git a/src/mesa/pipe/i915simple/i915_surface.c b/src/mesa/pipe/i915simple/i915_surface.c
index 3406461..79e74e1 100644
--- a/src/mesa/pipe/i915simple/i915_surface.c
+++ b/src/mesa/pipe/i915simple/i915_surface.c
@@ -76,21 +76,18 @@ i915_get_tex_surface(struct pipe_context *pipe,
}
-/*
- * XXX Move this into core Mesa?
- */
static void
-_mesa_copy_rect(ubyte * dst,
- unsigned cpp,
- unsigned dst_pitch,
- unsigned dst_x,
- unsigned dst_y,
- unsigned width,
- unsigned height,
- const ubyte * src,
- unsigned src_pitch,
- unsigned src_x,
- unsigned src_y)
+copy_rect(ubyte * dst,
+ unsigned cpp,
+ unsigned dst_pitch,
+ unsigned dst_x,
+ unsigned dst_y,
+ unsigned width,
+ unsigned height,
+ const ubyte *src,
+ unsigned src_pitch,
+ unsigned src_x,
+ unsigned src_y)
{
unsigned i;
@@ -128,10 +125,9 @@ i915_surface_data(struct pipe_context *pipe,
const void *src, unsigned src_pitch,
unsigned srcx, unsigned srcy, unsigned width, unsigned height)
{
- _mesa_copy_rect(pipe_surface_map(dst),
- dst->cpp,
- dst->pitch,
- dstx, dsty, width, height, src, src_pitch, srcx, srcy);
+ copy_rect(pipe_surface_map(dst),
+ dst->cpp, dst->pitch,
+ dstx, dsty, width, height, src, src_pitch, srcx, srcy);
pipe_surface_unmap(dst);
}
@@ -151,7 +147,7 @@ i915_surface_copy(struct pipe_context *pipe,
assert( dst->cpp == src->cpp );
if (0) {
- _mesa_copy_rect(pipe_surface_map(dst),
+ copy_rect(pipe_surface_map(dst),
dst->cpp,
dst->pitch,
dstx, dsty,