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

Chad Versace chad.versace at linux.intel.com
Thu Aug 2 18:39:43 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-6 accomplish allocating the miptrees for DRI2 buffers.

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

Patches 13-16 enable winsys MSAA by advertising MSAA configs.

Chad Versace (16):
  intel: Refactor quantize_num_samples (v1)
  intel: Set num samples for winsys renderbuffers (v3)
  intel: Add singlesample fields to intel_mipmap_tree
  intel: Refactor creation of hiz and mcs miptrees
  i965: Add functions up/downsampling on miptrees (v2)
  intel: Allocate miptree for multisample DRI2 buffers (v2)
  intel: Add function for marking needed downsample
  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
  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/Makefile.sources         |   1 +
 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp       |   2 +-
 src/mesa/drivers/dri/i965/brw_blorp_orphans.cpp    | 144 ++++++++++
 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     | 310 ++++++++++++++++++---
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h     |  83 ++++++
 src/mesa/drivers/dri/intel/intel_screen.c          | 274 +++++++++++-------
 src/mesa/drivers/dri/nouveau/nouveau_screen.c      |   3 +-
 src/mesa/drivers/dri/radeon/radeon_screen.c        |   5 +-
 14 files changed, 760 insertions(+), 180 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_blorp_orphans.cpp

-- 
1.7.11.4



More information about the mesa-dev mailing list