fix SAREA
authorAlan Hourihane <alanh@tungstengraphics.com>
Wed, 20 Feb 2008 22:22:49 +0000 (22:22 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 20 Feb 2008 22:23:31 +0000 (22:23 +0000)
shared-core/i915_drm.h

index b889a30..3dcb627 100644 (file)
@@ -125,6 +125,15 @@ typedef struct _drm_i915_sarea {
        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;
 } drm_i915_sarea_t;
 
 /* Driver specific fence types and classes.