summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/dri1.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-03-08 22:19:48 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-18 09:43:22 +0800
commitbd1ce874728c06d08a1f9881f51edbdd2f1c9db0 (patch)
tree2a45880ccbae7208ad8cd9d2db8a7d01aa37de4c /src/gallium/state_trackers/dri/dri1.h
parent5ff21634f3074122ed8b8e4019c8092e31be0335 (diff)
st/dri: Switch from st_public.h to st_api.h.
This is tested with demos found in progs/demos. However, only the DRI2 path is tested.
Diffstat (limited to 'src/gallium/state_trackers/dri/dri1.h')
-rw-r--r--src/gallium/state_trackers/dri/dri1.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/dri/dri1.h b/src/gallium/state_trackers/dri/dri1.h
index e525ce64c3..e83571e57b 100644
--- a/src/gallium/state_trackers/dri/dri1.h
+++ b/src/gallium/state_trackers/dri/dri1.h
@@ -34,6 +34,8 @@
#include "dri_context.h"
#include "dri_drawable.h"
+
+#include "state_tracker/st_api.h"
#include "dri_util.h"
extern struct dri1_api *__dri1_api_hooks;
@@ -42,12 +44,13 @@ const __DRIconfig **
dri1_init_screen(__DRIscreen * sPriv);
void
-dri1_update_drawables(struct dri_context *ctx,
- struct dri_drawable *draw, struct dri_drawable *read);
+dri1_flush_frontbuffer(struct dri_drawable *drawable,
+ struct pipe_texture *ptex);
void
-dri1_flush_frontbuffer(struct pipe_screen *screen,
- struct pipe_surface *surf, void *context_private);
+dri1_allocate_textures(struct dri_drawable *drawable,
+ unsigned width, unsigned height,
+ unsigned mask);
void dri1_swap_buffers(__DRIdrawable * dPriv);