s/intelDisplayBuffer/intelDisplaySurface
authorBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 18:33:33 +0000 (12:33 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:04:47 +0000 (08:04 -0700)
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c

index ceebc1049664a4b6d2992af74b9eea577da819c4..a642d53216f4c60f3cbf18043cc66195987252df 100644 (file)
@@ -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 {
index 9b3152f5d292573b0cf200ade73aca0dbbf96fb1..ed4a7047871827a13a1b168f7a8525cad9e28d8c 100644 (file)
@@ -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);
 
index 9c3fd56d8d2ca55ab6ca515573a4ae608c2b216c..af05a3398c8e4911d0f043a64a1c9da9de4cbce0 100644 (file)
@@ -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);
 }