summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/server/i830_common.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-08-16 14:32:53 -0700
committerEric Anholt <eric@anholt.net>2007-08-16 14:38:33 -0700
commit3e168a0ec840af65863e197f4a884aae905b213e (patch)
tree5d838ff3e80734ff90de6583809a0f0f66d9d8aa /src/mesa/drivers/dri/i915tex/server/i830_common.h
parentb6ad5e7de8dc84ee42eeeb62d2112f096413b335 (diff)
Convert TTM code to require the server provide buffers for front/back/depth.
This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/server/i830_common.h')
-rw-r--r--src/mesa/drivers/dri/i915tex/server/i830_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915tex/server/i830_common.h b/src/mesa/drivers/dri/i915tex/server/i830_common.h
index 7a76957c6a..bd2bec3eae 100644
--- a/src/mesa/drivers/dri/i915tex/server/i830_common.h
+++ b/src/mesa/drivers/dri/i915tex/server/i830_common.h
@@ -136,6 +136,15 @@ typedef struct {
int third_offset;
int third_size;
unsigned int third_tiled;
+
+ /* buffer object handles for the static buffers. May change
+ * over the lifetime of the client, though it doesn't in our current
+ * implementation.
+ */
+ unsigned int front_bo_handle;
+ unsigned int back_bo_handle;
+ unsigned int third_bo_handle;
+ unsigned int depth_bo_handle;
} drmI830Sarea;
/* Flags for perf_boxes