[Mesa-dev] [PATCH 00/15] i965: Enable window system multisampling

Chad Versace chad.versace at linux.intel.com
Sat Jul 21 17:36:39 PDT 2012


No Piglit regressions on Ivybridge.

Tested with `glxgears -samples 1`.

Passes 53/70 of oglconform's winsys multisample tests. The failing tests
mostly consist of those that call glDrawPixels on the depth and stencil
buffer (which fail due to a swrast fallback) or do fancy things with the
msaa alpha enums (which also fail with non-winsys msaa).

We probably need to write some Piglit tests for some winsys msaa corner cases,
but I think the series is good enough to push now based on the evidence of
oglconform's pass rate.

Chad Versace (15):
  intel: Remove dead code in intelAllocateBuffer
  intel: Decrease nesting level in intelCreateBuffer
  intel: Use consistent pattern in intelCreateBuffer
  intel: Refactor quantize_num_samples
  intel: Set num samples for winsys renderbuffers
  intel: Add intel_mipmap_tree::singlesample_mt
  intel: Refactor creation of hiz and mcs miptrees
  intel: Allocate miptree for multisample DRI2 buffers
  i965: Add function intel_miptree_downsample
  i965: Mark winsys MSAA color buffer as needing resolve postdraw
  intel: Downsample during glReadPixels
  intel: Downsample on DRI2 flush
  intel: Refactor creation of DRI2 configs
  intel: Refactor intel_screen_make_configs
  intel: Advertise multisample DRI2 configs on gen >= 6

 src/mesa/drivers/dri/i965/Makefile.sources      |   1 +
 src/mesa/drivers/dri/i965/brw_blorp_orphans.cpp |  66 +++
 src/mesa/drivers/dri/i965/brw_draw.c            |  17 +-
 src/mesa/drivers/dri/intel/intel_context.c      |  26 +-
 src/mesa/drivers/dri/intel/intel_fbo.c          |  58 +--
 src/mesa/drivers/dri/intel/intel_fbo.h          |   8 +-
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c  |  82 ++++
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h  |  39 ++
 src/mesa/drivers/dri/intel/intel_screen.c       | 540 +++++++++++++-----------
 src/mesa/drivers/dri/intel/intel_screen.h       |   3 +
 10 files changed, 536 insertions(+), 304 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_blorp_orphans.cpp

-- 
1.7.11.2



More information about the mesa-dev mailing list