[Mesa-dev] [PATCH 08/15] intel: Refactor intel_miptree_map/unmap
Eric Anholt
eric at anholt.net
Mon Aug 6 19:26:59 PDT 2012
Chad Versace <chad.versace at linux.intel.com> writes:
> Move the body of intel_miptree_map into a new function,
> intel_miptree_map_singlesample. Now intel_miptree_map dispatches to the
> new function. A future commit adds a multisample variant.
>
> Ditto for intel_miptree_unmap.
>
> CC: Paul Berry <stereotype441 at gmail.com>
> CC: Eric Anholt <eric at anholt.net>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> ---
> src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 67 +++++++++++++++++++-------
> 1 file changed, 50 insertions(+), 17 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> index b424e4d..2a00c78 100644
> --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> + assert(mt->num_samples == 0);
<= 1
> + assert(mt->num_samples == 0);
<= 1
Other than that, patches up to this one are:
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120806/a8e47da1/attachment.pgp>
More information about the mesa-dev
mailing list