Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Thomas Hellstrom
On 04/01/2014 05:04 PM, 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

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Roland Scheidegger
Am 02.04.2014 09:47, schrieb Thomas Hellstrom: On 04/01/2014 05:04 PM, 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

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Rob Clark
On Wed, Apr 2, 2014 at 3:47 AM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/01/2014 05:04 PM, 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

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Thomas Hellstrom
On 04/02/2014 04:40 PM, Rob Clark wrote: On Wed, Apr 2, 2014 at 3:47 AM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/01/2014 05:04 PM, Rob Clark wrote: From: Rob Clark robcl...@freedesktop.org Otherwise it will trick the gallium driver into thinking that the render target has

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Rob Clark
On Wed, Apr 2, 2014 at 2:05 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/02/2014 04:40 PM, Rob Clark wrote: On Wed, Apr 2, 2014 at 3:47 AM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/01/2014 05:04 PM, Rob Clark wrote: From: Rob Clark robcl...@freedesktop.org Otherwise

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-02 Thread Rob Clark
On Wed, Apr 2, 2014 at 2:05 PM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/02/2014 04:40 PM, Rob Clark wrote: On Wed, Apr 2, 2014 at 3:47 AM, Thomas Hellstrom thellst...@vmware.com wrote: On 04/01/2014 05:04 PM, Rob Clark wrote: From: Rob Clark robcl...@freedesktop.org Otherwise

[Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-01 Thread Rob Clark
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. Signed-off-by: Rob Clark

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-01 Thread Emil Velikov
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

Re: [Mesa-dev] [PATCH 4/4] xa: reuse surfaces

2014-04-01 Thread Rob Clark
On Tue, Apr 1, 2014 at 12:39 PM, Emil Velikov emil.l.veli...@gmail.com wrote: 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