[Mesa-dev] [PATCH 06/30] i965: Move the DRIimage -> miptree code to intel_mipmap_tree.c
Chad Versace
chadversary at chromium.org
Thu Jun 22 18:32:31 UTC 2017
On Fri 16 Jun 2017, Jason Ekstrand wrote:
> This is mostly a direct port. The only bit of refactoring that was done
> was to make creating a planar miptree be an early return from the
> non-planar case. Alternatively, we could have three functions: two
> helpers and a main function to just call the right helper. Making the
> planar case an early return seemed cleaner.
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 91 +++++++++++++++++++++++++
> src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 ++
> src/mesa/drivers/dri/i965/intel_tex_image.c | 97 +--------------------------
> 3 files changed, 97 insertions(+), 96 deletions(-)
Reviewed-by: Chad Versace <chadversary at chromium.org>
More information about the mesa-dev
mailing list