[Mesa-dev] [PATCH v3 0/9] Enable sRGB-encoded fast-clears on CNL

Nanley Chery nanleychery at gmail.com
Wed Apr 11 20:42:17 UTC 2018


The most noteworthy differences between v2 and v3 are:
* A fixed memory leak.
* The extra helpers for intel_miptree::fast_clear_color are dropped.
* The indirect color buffer on gen10 is accounted for.

Jason Ekstrand (1):
  util/srgb: Add a float sRGB -> linear helper

Nanley Chery (8):
  i965/miptree: Don't leak the clear_color_bo
  i965/miptree: Delete an unused function
  i965: Add and use a getter for the miptree aux buffer
  i965: Add and use a single miptree aux_buf field
  i965/wm_surface_state: Use the clear address if it's non-zero
  i965: Add and use a getter for the clear color
  i965/miptree: Extend the sRGB-blending WA to future platforms
  i965/meta_util: Re-enable sRGB-encoded fast-clears on CNL

 src/mesa/drivers/dri/i965/brw_blorp.c            |  27 ++--
 src/mesa/drivers/dri/i965/brw_clear.c            |   4 +-
 src/mesa/drivers/dri/i965/brw_meta_util.c        |  11 --
 src/mesa/drivers/dri/i965/brw_wm.c               |   2 +-
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |  36 ++---
 src/mesa/drivers/dri/i965/gen6_depth_state.c     |   6 +-
 src/mesa/drivers/dri/i965/gen7_misc_state.c      |   4 +-
 src/mesa/drivers/dri/i965/gen8_depth_state.c     |   6 +-
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c    | 169 +++++++++++------------
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h    |  45 +++---
 src/mesa/drivers/dri/i965/intel_tex_image.c      |   2 +-
 src/util/format_srgb.h                           |  14 ++
 12 files changed, 154 insertions(+), 172 deletions(-)

-- 
2.16.2



More information about the mesa-dev mailing list