diff options
author | Abdiel Janulgue <[email protected]> | 2013-01-17 17:04:27 +0200 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-02-01 11:58:12 -0800 |
commit | f9e4e5f9f968fa9b40b40fd4f24622556019b80a (patch) | |
tree | 516a224a8a56e4c07b6af5cc0c65d6986d63a708 /src | |
parent | 7b7af48e010565cdd11f486c000fd929b6ca99f1 (diff) |
intel: expose dimensions and offsets of a miptree level in DRIImage
v8: - Append has_depthstencil field in DRIImage structure.
Reviewed-by: Eric Anholt <[email protected]> (v6)
Reviewed-by: Chad Versace <[email protected]> (v8)
Signed-off-by: Abdiel Janulgue <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_regions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_regions.h b/src/mesa/drivers/dri/intel/intel_regions.h index 1aff5d9f3b0..28d581c800c 100644 --- a/src/mesa/drivers/dri/intel/intel_regions.h +++ b/src/mesa/drivers/dri/intel/intel_regions.h @@ -174,6 +174,13 @@ struct __DRIimageRec { uint32_t offsets[3]; struct intel_image_format *planar_format; + /* particular miptree level */ + GLuint width; + GLuint height; + GLuint tile_x; + GLuint tile_y; + bool has_depthstencil; + void *data; }; |