aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_pixel_read.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-05-01 08:04:12 -0700
committerPaul Berry <[email protected]>2013-06-12 11:10:06 -0700
commit5e5d4e021f7dde12fb0f4dfaf40fbbd4d119f4ab (patch)
treee57a14e96f071bdefc593d1402b0c18ad4c25807 /src/mesa/drivers/dri/i965/intel_pixel_read.c
parentdd3f950115218c69c9118436a5110a1ee6a2dda5 (diff)
i965/gen7+: Implement fast color clear operation in BLORP.
Since we defer allocation of the MCS miptree until the time of the fast clear operation, this patch also implements creation of the MCS miptree. In addition, this patch adds the field intel_mipmap_tree::fast_clear_color_value, which holds the most recent fast color clear value, if any. We use it to set the SURFACE_STATE's clear color for render targets. v2: Flag BRW_NEW_SURFACES when allocating the MCS miptree. Generate a perf_debug message if clearing to a color that isn't compatible with fast color clear. Fix "control reaches end of non-void function" build warning. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_read.c')
0 files changed, 0 insertions, 0 deletions