Re: [Mesa-dev] [PATCH] gallium: new transfer flag: DISCARD_WHOLE_RESOURCE

2011-02-18 Thread José Fonseca
On Fri, 2011-02-18 at 08:38 -0800, Brian Paul wrote: > On 02/18/2011 09:15 AM, jfons...@vmware.com wrote: > > From: Keith Whitwell > > > > --- > > src/gallium/include/pipe/p_defines.h | 19 +-- > > 1 files changed, 17 insertions(+), 2 deletions(-) > > > > diff --git a/src/galli

Re: [Mesa-dev] [PATCH] gallium: new transfer flag: DISCARD_WHOLE_RESOURCE

2011-02-18 Thread Brian Paul
On 02/18/2011 09:15 AM, jfons...@vmware.com wrote: From: Keith Whitwell --- src/gallium/include/pipe/p_defines.h | 19 +-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index f66bb

Re: [Mesa-dev] [PATCH] gallium: new transfer flag: DISCARD_WHOLE_RESOURCE

2011-02-18 Thread José Fonseca
A bit more background about this: this flag allows to get discard from the app down to the kernel, where most memory managers are able to do discard while mapping level without the whole map-non-block + create/destroy resource roundtrip. This is Keith's idea. Jose On Fri, 2011-02-18 at 08:15 -0

[Mesa-dev] [PATCH] gallium: new transfer flag: DISCARD_WHOLE_RESOURCE

2011-02-18 Thread jfonseca
From: Keith Whitwell --- src/gallium/include/pipe/p_defines.h | 19 +-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index f66bbaf..2de707f 100644 --- a/src/gallium/include/pipe/p_de