summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2009-02-05 13:17:12 +1000
committerBen Skeggs <[email protected]>2009-02-05 13:18:44 +1000
commitae8a7544d1ab96240f646ea91fb149227067a2db (patch)
treec52829570d9eb65987dca0466fcdf250934ed076 /src/gallium/drivers
parentee97bcc66c270a8a5152988213190d910302a0dd (diff)
nouveau: support getting "native" bo from winsys
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_winsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index e935ffffc1d..99f8e08201c 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -57,6 +57,8 @@ struct nouveau_winsys {
unsigned, unsigned, unsigned, unsigned);
int (*surface_fill)(struct nouveau_winsys *, struct pipe_surface *,
unsigned, unsigned, unsigned, unsigned, unsigned);
+
+ struct nouveau_bo *(*get_bo)(struct pipe_buffer *);
};
extern struct pipe_screen *