Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-25 Thread Brian Paul
Mathias Fröhlich wrote: Hi, On Monday 24 May 2010 23:08:41 Brian Paul wrote: I hacked on the code a bit: 1. remove dead/unused code 2. Test the 64-bit query functions 3. fix the GL_QUERY_COUNTER_BITS check 4. fix indentation Updated version attached. I'll commit in a day or so if there's no

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-24 Thread Mathias Fröhlich
Hi, On Sunday 23 May 2010 18:15:09 you wrote: > You might try latest xf86-video-ati from git, there's ColorTiling enabled > by default, which should give you nice performance increase in all 3D > apps. As for timer queries, I think there's quite a bit of work to do in > the kernel too. However, w

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-24 Thread Mathias Fröhlich
Hi, On Monday 24 May 2010 23:08:41 Brian Paul wrote: > I hacked on the code a bit: > > 1. remove dead/unused code > 2. Test the 64-bit query functions > 3. fix the GL_QUERY_COUNTER_BITS check > 4. fix indentation > > Updated version attached. I'll commit in a day or so if there's no > feedback

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-24 Thread Brian Paul
Mathias Fröhlich wrote: Hi, On Monday 17 May 2010 21:02:00 Brian Paul wrote: It would be nice to have a piglit test to exercise EXT_timer_query too. We should really have tests for all extensions. I am not completely sure if this is completely correct in the context of piglit. But so far a s

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-23 Thread Marek Olšák
2010/5/23 Mathias Fröhlich > My initial aim was to have something to profile the r300g driver. > Hi Mathias, You might try latest xf86-video-ati from git, there's ColorTiling enabled by default, which should give you nice performance increase in all 3D apps. As for timer queries, I think there'

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-23 Thread Jerome Glisse
On Sun, May 23, 2010 at 12:44:54PM +0200, Mathias Fröhlich wrote: > > Hi, > > On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: > > I'm going to be proactive here, and pull in both this patch and a docs > > update. > Ok. > Now that the infrastructure is there. > > My initial aim was to have s

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-23 Thread Mathias Fröhlich
Hi, On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: > I'm going to be proactive here, and pull in both this patch and a docs > update. Ok. Now that the infrastructure is there. My initial aim was to have something to profile the r300g driver. It already runs nicer then the classic one for

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-22 Thread Mathias Fröhlich
Hi, On Monday 17 May 2010 21:02:00 Brian Paul wrote: > It would be nice to have a piglit test to exercise EXT_timer_query > too. We should really have tests for all extensions. I am not completely sure if this is completely correct in the context of piglit. But so far a simple test that just us

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-19 Thread Brian Paul
Mathias Fröhlich wrote: Arg, sorry, for may be posting twice. I used the wrong email address for the original one: Hi, On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: I'm going to be proactive here, and pull in both this patch and a docs update. Great! Thanks! anyway a small followup o

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-18 Thread Mathias Fröhlich
Hi, On Monday 17 May 2010 21:02:00 Brian Paul wrote: > It would be nice to have a piglit test to exercise EXT_timer_query > too. We should really have tests for all extensions. Not yet there. I was using osgviewer to test. I will build something that shows that it runs ... and how long. May be

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-18 Thread Mathias Fröhlich
Arg, sorry, for may be posting twice. I used the wrong email address for the original one: Hi, On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: > I'm going to be proactive here, and pull in both this patch and a docs > update. Great! Thanks! anyway a small followup on the time units is att

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-17 Thread Mathias Fröhlich
Hi, On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: > I'm going to be proactive here, and pull in both this patch and a docs > update. Great! Thanks! anyway a small followup on the time units is attached. Please apply. Mathias diff --git a/src/gallium/docs/source/context.rst b/src/gallium

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-17 Thread Brian Paul
Corbin Simpson wrote: 2010/5/17 Keith Whitwell : On Sun, 2010-05-16 at 12:34 -0700, Mathias Fröhlich wrote: Hi, The attached patch adds EXT_timer_query support to the mesa state tracker. It does so by adding a new pipe capability for the timer queries and a new type for the query objects. Also

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-17 Thread Corbin Simpson
2010/5/17 Keith Whitwell : > On Sun, 2010-05-16 at 12:34 -0700, Mathias Fröhlich wrote: >> Hi, >> >> The attached patch adds EXT_timer_query support to the mesa state tracker. >> It does so by adding a new pipe capability for the timer queries and a new >> type for the query objects. >> Also a soft

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-17 Thread Keith Whitwell
On Sun, 2010-05-16 at 12:34 -0700, Mathias Fröhlich wrote: > Hi, > > The attached patch adds EXT_timer_query support to the mesa state tracker. > It does so by adding a new pipe capability for the timer queries and a new > type for the query objects. > Also a softpipe driver implementation for th

[Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-16 Thread Mathias Fröhlich
Hi, The attached patch adds EXT_timer_query support to the mesa state tracker. It does so by adding a new pipe capability for the timer queries and a new type for the query objects. Also a softpipe driver implementation for this capability is included in this patch. Please review and may be ap