i915g: handle more formats in copy

Graphics / Mesa 3D Graphics Library / Mesa - Stéphane Marchesin [chromium.org] - 27 May 2014 01:08 UTC

We can handle depth, luminance,... copies by simply replacing the format with a known format of the same bpp.

b419ca9 i915g: handle more formats in copy
src/gallium/drivers/i915/i915_state.c | 21 +++++++++
src/gallium/drivers/i915/i915_state.h | 6 +++
src/gallium/drivers/i915/i915_surface.c | 75 ++++++++++++++++++++++++++-----
3 files changed, 91 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share