diff options
author | Eric Anholt <eric@anholt.net> | 2007-12-14 16:00:48 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-12-15 12:45:52 -0800 |
commit | f5b3cd46202517c21fcfcec0102732411df1af18 (patch) | |
tree | 96309dda2df142311a9086853dd7f7c37c94e33b /src/mesa/drivers/dri/i965/intel_buffer_objects.h | |
parent | 5e3ef623ee8a6f7ea25242908b76bd47e48f4781 (diff) | |
download | external_mesa3d-f5b3cd46202517c21fcfcec0102732411df1af18.zip external_mesa3d-f5b3cd46202517c21fcfcec0102732411df1af18.tar.gz external_mesa3d-f5b3cd46202517c21fcfcec0102732411df1af18.tar.bz2 |
[965] Use shared intel_regions.c.
This adds (so far) unused PBO functions, and holding the lock while writing
to regions (which may be shared static screen regions).
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_buffer_objects.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_buffer_objects.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.h b/src/mesa/drivers/dri/i965/intel_buffer_objects.h index a80f448..f207756 100644 --- a/src/mesa/drivers/dri/i965/intel_buffer_objects.h +++ b/src/mesa/drivers/dri/i965/intel_buffer_objects.h @@ -40,6 +40,10 @@ struct gl_buffer_object; struct intel_buffer_object { struct gl_buffer_object Base; dri_bo *buffer; /* the low-level buffer manager's buffer handle */ + + struct intel_region *region; /* Is there a zero-copy texture + associated with this (pixel) + buffer object? */ }; |