summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.h
blob: 4ca9cc228313af78be2a5913ab42b82350b5c1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __NOUVEAU_SWAPBUFFERS_H__
#define __NOUVEAU_SWAPBUFFERS_H__

void nouveau_copy_buffer(__DRIdrawablePrivate *, struct pipe_surface *,
			 const drm_clip_rect_t *);
void nouveau_copy_sub_buffer(__DRIdrawablePrivate *, int x, int y, int w, int h);
void nouveau_swap_buffers(__DRIdrawablePrivate *);
void nouveau_flush_frontbuffer(struct pipe_screen *, struct pipe_surface *,
			       void *context_private);

#endif