summaryrefslogtreecommitdiff
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-05-25 18:47:21 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-05-25 19:04:11 +0100
commit395b605e19d5357c97f2d7d45673a80cd2c729ef (patch)
tree2f9d4328077488473eb02b4dd383bc7bf9c183a8 /src/gallium/include/state_tracker
parentf501230db3a94c9328b8e769d9c17b2c3792e19c (diff)
gallium: Remove dri1_api.h and winsys support for DRI1
Since DRI1 support was dropped from st/dri it makes no sense to keep this code around.
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r--src/gallium/include/state_tracker/dri1_api.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/gallium/include/state_tracker/dri1_api.h b/src/gallium/include/state_tracker/dri1_api.h
deleted file mode 100644
index 0d702d9092..0000000000
--- a/src/gallium/include/state_tracker/dri1_api.h
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef _DRI1_API_H_
-#define _DRI1_API_H_
-
-#include "pipe/p_compiler.h"
-#include "pipe/p_screen.h"
-#include "pipe/p_format.h"
-
-#include "state_tracker/drm_api.h"
-
-struct pipe_screen;
-struct pipe_winsys;
-struct pipe_context;
-struct pipe_resource;
-
-struct drm_clip_rect;
-
-struct dri1_api_version
-{
- int major;
- int minor;
- int patch_level;
-};
-
-/**
- * This callback struct is intended for drivers that need to take
- * the hardware lock on command submission.
- */
-
-struct dri1_api_lock_funcs
-{
- void (*lock) (struct pipe_context * pipe);
- void (*unlock) (struct pipe_context * locked_pipe);
- boolean(*is_locked) (struct pipe_context * locked_pipe);
- boolean(*is_lock_lost) (struct pipe_context * locked_pipe);
- void (*clear_lost_lock) (struct pipe_context * locked_pipe);
-};
-
-struct dri1_api
-{
- /**
- * For flushing to the front buffer. A driver should implement one and only
- * one of the functions below. The present_locked functions allows a dri1
- * driver to pageflip.
- */
-
- /*@{ */
-
- struct pipe_surface *(*front_srf_locked) (struct pipe_context *
- locked_pipe);
-
- void (*present_locked) (struct pipe_context * locked_pipe,
- struct pipe_surface * surf,
- const struct drm_clip_rect * rect,
- unsigned int num_clip,
- int x_draw, int y_draw,
- const struct drm_clip_rect * src_bbox,
- struct pipe_fence_handle ** fence);
- /*@} */
-};
-
-struct dri1_create_screen_arg
-{
- struct drm_create_screen_arg base;
-
- struct dri1_api_lock_funcs *lf;
- void *ddx_info;
- int ddx_info_size;
- void *sarea;
-
- struct dri1_api_version ddx_version;
- struct dri1_api_version dri_version;
- struct dri1_api_version drm_version;
-
- /*
- * out parameters;
- */
-
- struct dri1_api *api;
-};
-
-#endif