summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 12:33:33 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:47 -0700
commit0452eb9086ff24508099deae9f98885f918c76db (patch)
tree186cc71b2d1b879d4d8c73adbd2fbea48c9ca696 /src/mesa/drivers
parentd04938331a15a94682ee7909de0f073314171cde (diff)
s/intelDisplayBuffer/intelDisplaySurface
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c10
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h6
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
index ceebc10496..a642d53216 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
@@ -66,9 +66,9 @@ get_color_surface(struct intel_framebuffer *intel_fb,
* \param rect optional subrect of surface to display (may be NULL).
*/
void
-intelDisplayBuffer(__DRIdrawablePrivate * dPriv,
- struct pipe_surface *surf,
- const drm_clip_rect_t * rect)
+intelDisplaySurface(__DRIdrawablePrivate * dPriv,
+ struct pipe_surface *surf,
+ const drm_clip_rect_t * rect)
{
struct intel_context *intel;
const intelScreenPrivate *intelScreen
@@ -250,7 +250,7 @@ intelSwapBuffers(__DRIdrawablePrivate * dPriv)
_mesa_notifySwapBuffers(ctx); /* flush pending rendering comands */
- intelDisplayBuffer(dPriv, back_surf, NULL);
+ intelDisplaySurface(dPriv, back_surf, NULL);
}
}
else {
@@ -284,7 +284,7 @@ intelCopySubBuffer(__DRIdrawablePrivate * dPriv, int x, int y, int w, int h)
rect.x2 = w;
rect.y2 = h;
_mesa_notifySwapBuffers(ctx); /* flush pending rendering comands */
- intelDisplayBuffer(dPriv, back_surf, &rect);
+ intelDisplaySurface(dPriv, back_surf, &rect);
}
}
else {
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h
index 9b3152f5d2..ed4a704787 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h
+++ b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h
@@ -42,9 +42,9 @@ struct intel_framebuffer
};
-extern void intelDisplayBuffer(__DRIdrawablePrivate * dPriv,
- struct pipe_surface *surf,
- const drm_clip_rect_t * rect);
+extern void intelDisplaySurface(__DRIdrawablePrivate * dPriv,
+ struct pipe_surface *surf,
+ const drm_clip_rect_t * rect);
extern void intelSwapBuffers(__DRIdrawablePrivate * dPriv);
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
index 9c3fd56d8d..af05a3398c 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
@@ -192,7 +192,7 @@ intel_flush_frontbuffer( struct pipe_winsys *sws,
struct intel_context *intel = intel_pipe_winsys(sws)->intel;
__DRIdrawablePrivate *dPriv = intel->driDrawable;
- intelDisplayBuffer(dPriv, surf, NULL);
+ intelDisplaySurface(dPriv, surf, NULL);
}