diff options
author | Eric Anholt <eric@anholt.net> | 2011-10-11 14:22:45 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2011-11-01 15:42:17 -0700 |
commit | 92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e (patch) | |
tree | 5d8e3e547842fc44bed8b5cf48e965c3a6fcd40a /src/mesa/drivers/dri/intel/intel_fbo.h | |
parent | 6b341662b3bbde7e86b3b9184266412da1b27977 (diff) | |
download | external_mesa3d-92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e.zip external_mesa3d-92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e.tar.gz external_mesa3d-92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e.tar.bz2 |
intel: Add an implementation of MapRenderbuffer.
v2: Add separate stencil S8 W-tile swizzling/deswizzling. Tested for
the swizzling case with env INTEL_SEPARATE_STENCIL=1 INTEL_HIZ=1
./bin/hiz-depth-stencil-test-fbo-d24-s8
v3: Apply Chad's fix for S8 window system buffers.
Reviewed-by: Chad Versace <chad@chad-versace.us>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index e12d0fd..4bcbecd 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -44,6 +44,9 @@ struct intel_renderbuffer { struct gl_renderbuffer Base; struct intel_region *region; + void *map_buffer; + GLuint map_x, map_y, map_w, map_h; + GLbitfield map_mode; /** Only used by depth renderbuffers for which HiZ is enabled. */ struct intel_region *hiz_region; |