[Mesa-dev] [PATCH 00/16 v3] i965: Enable winsys MSAA on gen >= 6

Chad Versace chad.versace at linux.intel.com
Mon Aug 6 17:19:07 PDT 2012


For test results, see the commit message in patch 16. The summary is that
piglit, oglconform, and xonotic are all happy. It was nice to play xonotic
without seeing ugly, jagged edges.

Many of these patches have already been reviewed. I'm not seeking additional
review for those, although additional review is welcome.

Patches 1-4 accomplish allocating the miptrees for DRI2 buffers.

Patches 5-11 accomplish the automatic downsample and upsample operations
needed for glFlush, glReadPixels, and software fallbacks.

Patches 12-15 enable winsys MSAA by advertising MSAA configs.

v3: Incorporate review by Anholt. Kill file brw_blorp_orphans.cpp. Move
definitions of intel_miptree_up/downsample into intel_mipmap_tree.c. Check
against mt->num_samples > 1 rather than > 0. Probably a few more things
I can't recall, but I've made notes for all the changes in individual commit
messages.

Chad Versace (15):
  intel: Refactor quantize_num_samples (v1)
  intel: Set num samples for winsys renderbuffers (v3)
  intel: Refactor creation of hiz and mcs miptrees
  intel: Allocate miptree for multisample DRI2 buffers (v3)
  i965: Add function brw_blorp_blit_miptrees
  intel: Define functions for up/downsampling on miptrees (v3)
  i965: Mark needed downsamples for msaa winsys buffers
  intel: Refactor intel_miptree_map/unmap
  intel: Refactor use of intel_miptree_map
  intel: Support mapping multisample miptrees (v2)
  intel: Downsample on DRI2 flush
  intel: Refactor creation of DRI2 configs
  dri: Simplify use of driConcatConfigs
  intel: Clarify intel_screen_make_configs
  intel: Advertise multisample DRI2 configs on gen >= 6

 src/gallium/state_trackers/dri/common/dri_screen.c |  12 +-
 src/mesa/drivers/dri/common/utils.c                |   5 +
 src/mesa/drivers/dri/i965/brw_blorp.h              |  17 +
 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp       |  26 +-
 src/mesa/drivers/dri/i965/brw_draw.c               |  20 +-
 src/mesa/drivers/dri/intel/intel_context.c         |  27 +-
 src/mesa/drivers/dri/intel/intel_fbo.c             |  44 +--
 src/mesa/drivers/dri/intel/intel_fbo.h             |  10 +-
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c     | 406 +++++++++++++++++++--
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h     |  77 ++++
 src/mesa/drivers/dri/intel/intel_screen.c          | 277 +++++++++-----
 src/mesa/drivers/dri/nouveau/nouveau_screen.c      |   3 +-
 src/mesa/drivers/dri/radeon/radeon_screen.c        |   5 +-
 13 files changed, 745 insertions(+), 184 deletions(-)

-- 
1.7.11.4



More information about the mesa-dev mailing list