summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_resource.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2010-11-19 23:38:19 +0100
committerJakob Bornecrantz <[email protected]>2010-11-21 16:41:18 +0100
commitaba728eb255380ac3c73ba7c9a5ff40bd68705bf (patch)
tree0ba4ba23f4e8b0081dda3f95b086ae73397930eb /src/gallium/drivers/i915/i915_resource.h
parentf77a2690b463aa36297aec2a5035a9de68268dd9 (diff)
i915g: s/hw_tiled/tiling
More in line with other intel drivers. Change to use enum by Jakob Bornecrantz. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource.h')
-rw-r--r--src/gallium/drivers/i915/i915_resource.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_resource.h b/src/gallium/drivers/i915/i915_resource.h
index 1f87f56efaa..753bd266b12 100644
--- a/src/gallium/drivers/i915/i915_resource.h
+++ b/src/gallium/drivers/i915/i915_resource.h
@@ -32,6 +32,7 @@ struct i915_screen;
#include "util/u_transfer.h"
#include "util/u_debug.h"
+#include "i915_winsys.h"
struct i915_context;
@@ -52,12 +53,12 @@ struct i915_buffer {
struct i915_texture {
struct u_resource b;
+ /* tiling flags */
+ enum i915_winsys_buffer_tile tiling;
unsigned stride;
unsigned depth_stride; /* per-image on i945? */
unsigned total_nblocksy;
- unsigned hw_tiled; /**< tiled with hardware fences */
-
unsigned nr_images[I915_MAX_TEXTURE_2D_LEVELS];
/* Explicitly store the offset of each image for each cube face or