mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel: expose dimensions and offsets of a miptree level in DRIImage
v8: - Append has_depthstencil field in DRIImage structure. Reviewed-by: Eric Anholt <eric@anholt.net> (v6) Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (v8) Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
This commit is contained in:
parent
7b7af48e01
commit
f9e4e5f9f9
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue