[Mesa-dev] [PATCH 0/4] i965: Use blorp_copy to implement glCopyImageSubData

Jason Ekstrand jason at jlekstrand.net
Fri Sep 9 17:05:28 UTC 2016


Now that we have the shiny new blorp_copy entrypoint that was added to
implement VkCopy* in the Vulkan driver, it's almost trivial to hook the GL
driver up to use it for glCopyImageSubData.  What's nice about this new
entrypoint is that it can handle everything that glCopyImageSubData can
throw at it instead of being restricted to just uncompressed destinations.
Also, the old blorp and meta-based approaches are broken for compressed
textures with multiple miplevels and fixing them isn't really practical.

Jason Ekstrand (4):
  intel/isl: Allow valign2 for texture-only Y-tiled surfaces on gen7
  intel/isl: Add support for RGB formats in X and Y-tiled memory
  i965/blorp: Add a copy_miptrees helper
  i965: Use blorp_copy for all copy_image operations on gen6+

 src/intel/isl/isl.c                          | 49 ++++++++++++++-----
 src/intel/isl/isl.h                          | 10 +++-
 src/intel/isl/isl_gen7.c                     |  3 +-
 src/mesa/drivers/dri/i965/brw_blorp.c        | 71 ++++++++++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_blorp.h        | 10 ++++
 src/mesa/drivers/dri/i965/intel_copy_image.c | 28 +++--------
 6 files changed, 134 insertions(+), 37 deletions(-)

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list