* \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
_mesa_notifySwapBuffers(ctx); /* flush pending rendering comands */
- intelDisplayBuffer(dPriv, back_surf, NULL);
+ intelDisplaySurface(dPriv, back_surf, NULL);
}
}
else {
rect.x2 = w;
rect.y2 = h;
_mesa_notifySwapBuffers(ctx); /* flush pending rendering comands */
- intelDisplayBuffer(dPriv, back_surf, &rect);
+ intelDisplaySurface(dPriv, back_surf, &rect);
}
}
else {
};
-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);
struct intel_context *intel = intel_pipe_winsys(sws)->intel;
__DRIdrawablePrivate *dPriv = intel->driDrawable;
- intelDisplayBuffer(dPriv, surf, NULL);
+ intelDisplaySurface(dPriv, surf, NULL);
}