Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-09 Thread Thomas Hellstrom
On 03/08/2011 11:22 PM, Marek Olšák wrote: On Tue, Mar 8, 2011 at 10:17 PM, Thomas Hellstrom mailto:thellst...@vmware.com>> wrote: On 03/08/2011 05:11 PM, José Fonseca wrote: On Mon, 2011-03-07 at 02:38 -0800, Keith Whitwell wrote: On Sun, 2011-03-06 at 18:42 +0100, Ma

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-08 Thread Marek Olšák
On Tue, Mar 8, 2011 at 10:17 PM, Thomas Hellstrom wrote: > On 03/08/2011 05:11 PM, José Fonseca wrote: > >> On Mon, 2011-03-07 at 02:38 -0800, Keith Whitwell wrote: >> >> >>> On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: >>> >>> 2) is_resource_referenced Now that the transfe

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-08 Thread Thomas Hellstrom
On 03/08/2011 05:11 PM, José Fonseca wrote: On Mon, 2011-03-07 at 02:38 -0800, Keith Whitwell wrote: On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: 2) is_resource_referenced Now that the transfer functions are in pipe_context, is this hook really necessary? Good quest

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-08 Thread Marek Olšák
On Tue, Mar 8, 2011 at 5:11 PM, José Fonseca wrote: > On Mon, 2011-03-07 at 02:38 -0800, Keith Whitwell wrote: > > On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: > > > 2) is_resource_referenced > > > > > > Now that the transfer functions are in pipe_context, is this hook > > > really > > >

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-08 Thread José Fonseca
On Mon, 2011-03-07 at 02:38 -0800, Keith Whitwell wrote: > On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: > > 2) is_resource_referenced > > > > Now that the transfer functions are in pipe_context, is this hook > > really > > necessary? > > Good question. I'd like to see those functions go

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Keith Whitwell
On Mon, 2011-03-07 at 18:52 +0100, Marek Olšák wrote: > > 6) Pixel buffer objects > > > > > > It woud be nice to have hardware-accelerated PBO copy in Gallium. > > > Would > > > resource_copy_region be a good candidate for this, where one of > the > > > arguments would be PIPE_BUFFER and the other

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Marek Olšák
On Mon, Mar 7, 2011 at 11:38 AM, Keith Whitwell wrote: > On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: > > > > Hi, > > > > I have several questions about Gallium. Some of them are about > > undocumented > > stuff, others are just little things from the top of my head. Please > > consider

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Brian Paul
On 03/07/2011 03:38 AM, Keith Whitwell wrote: On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: 7) Stippling and smoothing Would anyone be against removing these two from the Gallium interface and fully implementing them in st/mesa? It's not like any of the radeon people wants to implemen

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Keith Whitwell
On Mon, 2011-03-07 at 20:47 +1000, Dave Airlie wrote: > On Mon, Mar 7, 2011 at 3:42 AM, Marek Olšák wrote: > > Hi, > > > > I have several questions about Gallium. Some of them are about undocumented > > stuff, others are just little things from the top of my head. Please > > consider these as thin

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Dave Airlie
On Mon, Mar 7, 2011 at 3:42 AM, Marek Olšák wrote: > Hi, > > I have several questions about Gallium. Some of them are about undocumented > stuff, others are just little things from the top of my head. Please > consider these as things I may do when time allows. > > > 1) Flush flags > > Which PIPE_

Re: [Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-07 Thread Keith Whitwell
On Sun, 2011-03-06 at 18:42 +0100, Marek Olšák wrote: > > Hi, > > I have several questions about Gallium. Some of them are about > undocumented > stuff, others are just little things from the top of my head. Please > consider these as things I may do when time allows. > > > 1) Flush flags > >

[Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-06 Thread Marek Olšák
Hi, I have several questions about Gallium. Some of them are about undocumented stuff, others are just little things from the top of my head. Please consider these as things I may do when time allows. 1) Flush flags Which PIPE_FLUSH_* flag is used to flush the command stream? There doesn't seem