[Mesa-dev] [PATCH v3 09/10] i965/tex_image: Use meta for instead of the blitter PBO TexImage and GetTexImage

Neil Roberts neil at linux.intel.com
Thu Jan 22 06:59:49 PST 2015


Jason Ekstrand <jason at jlekstrand.net> writes:

> -   }
> +   if (_mesa_meta_pbo_GetTexSubImage(ctx, 3, texImage, 0, 0, 0,
> +                                     texImage->Width, texImage->Height,
> +                                     texImage->Depth, format, type,
> +                                     pixels, &ctx->Pack))
> +      return;
> +   else
> +      perf_debug("%s: fallback to CPU mapping in PBO case\n", __FUNCTION__);

I think this perf_debug message should be guarded with
if (_mesa_is_bufferobj) too.


More information about the mesa-dev mailing list