diff options
author | Keith Packard <[email protected]> | 2008-05-06 10:51:08 -0700 |
---|---|---|
committer | Keith Packard <[email protected]> | 2008-05-06 10:51:08 -0700 |
commit | 537bbe6dec780f6f85838fe7e6036579c509f8a6 (patch) | |
tree | 7dc9de58092c619a32d7b14d8ab5b575812c8a70 /src/mesa/drivers/dri/intel/intel_span.h | |
parent | df4b49c2cedde60c02f869977ee426f280b2985b (diff) |
[intel-GEM] Add tiling support to swrast.
Accessing tiled surfaces without using the fence registers requires that
software deal with the address swizzling itself.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_span.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_span.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.h b/src/mesa/drivers/dri/intel/intel_span.h index 5201f6d6c6e..c56e5e1611d 100644 --- a/src/mesa/drivers/dri/intel/intel_span.h +++ b/src/mesa/drivers/dri/intel/intel_span.h @@ -33,6 +33,10 @@ extern void intelInitSpanFuncs(GLcontext * ctx); extern void intelSpanRenderFinish(GLcontext * ctx); extern void intelSpanRenderStart(GLcontext * ctx); -extern void intel_set_span_functions(struct gl_renderbuffer *rb); +extern void intel_set_span_functions(struct gl_renderbuffer *rb, int tiling); + +#define INTEL_TILE_NONE 0 +#define INTEL_TILE_X 1 +#define INTEL_TILE_Y 2 #endif |