On 01/04/14 16:04, Rob Clark wrote:
> From: Rob Clark <robcl...@freedesktop.org>
> 
> Otherwise it will trick the gallium driver into thinking that the render
> target has actually changed (due to different pipe_surface pointing to
> same underlying pipe_resource).  This is really badness for tiling GPUs
> like adreno.
> 
Hi Rob,

> Signed-off-by: Rob Clark <robcl...@freedesktop.org>
> ---
>  src/gallium/state_trackers/xa/xa_context.c | 35 
> +++++++++++++++++++++++-------
>  src/gallium/state_trackers/xa/xa_priv.h    |  3 ++-
>  src/gallium/state_trackers/xa/xa_tracker.c |  1 +
>  3 files changed, 30 insertions(+), 9 deletions(-)
> 
[snip]
> diff --git a/src/gallium/state_trackers/xa/xa_priv.h 
> b/src/gallium/state_trackers/xa/xa_priv.h
> index 7a43386..5ade6c1 100644
> --- a/src/gallium/state_trackers/xa/xa_priv.h
> +++ b/src/gallium/state_trackers/xa/xa_priv.h
> @@ -46,7 +46,7 @@
>  #define XA_EXPORT
>  #endif
>  
> -#define XA_VB_SIZE (100 * 4 * 3 * 4)
> +#define XA_VB_SIZE (170 * 4 * 3 * 4)
A wild short in the dark here - I'm guessing that this change was meant to be
part of another patch ?

Cheers
-Emil

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to