Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Marek Olšák
I think this should be fixed in drivers. Marek On Tue, Mar 26, 2013 at 7:38 PM, Ondrej Holecek wrote: > On Tuesday 26 of March 2013 15:18:06 Vadim Girlin wrote: >> On 03/26/2013 02:00 AM, Marek Olšák wrote: >> > On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: >> >> On Saturday 23 of Mar

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Ondrej Holecek
On Tuesday 26 of March 2013 15:18:06 Vadim Girlin wrote: > On 03/26/2013 02:00 AM, Marek Olšák wrote: > > On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: > >> On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: > > > > >> The third issue is that on both 32bit and 64bit build fon

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Christoph Bumiller
On 26.03.2013 12:18, Vadim Girlin wrote: > On 03/26/2013 02:00 AM, Marek Olšák wrote: >> On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek >> wrote: >>> On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: Hi everyone, one image is better than a thousand words: ... >>> >>> Hi, >>> >>>

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Vadim Girlin
On 03/26/2013 02:00 AM, Marek Olšák wrote: On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: Hi everyone, one image is better than a thousand words: ... Hi, I tried your patches and hit a few problems. As first, they do not appl

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Marek Olšák
Pushed, except for creating a page in mesa/docs. I'll do that some time later. Marek On Mon, Mar 25, 2013 at 3:45 PM, Brian Paul wrote: > On 03/22/2013 05:50 PM, Marek Olšák wrote: >> >> Hi everyone, one image is better than a thousand words: >> >> http://people.freedesktop.org/~mareko/gallium-h

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Marek Olšák
On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: > On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: >> Hi everyone, one image is better than a thousand words: >> ... > > Hi, > > I tried your patches and hit a few problems. As first, they do not apply > cleanly on master as they are

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Brian Paul
On 03/25/2013 03:38 PM, Ondrej Holecek wrote: On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: Hi everyone, one image is better than a thousand words: ... Hi, I tried your patches and hit a few problems. As first, they do not apply cleanly on master as they are expecting another your

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Ondrej Holecek
On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: > Hi everyone, one image is better than a thousand words: > ... Hi, I tried your patches and hit a few problems. As first, they do not apply cleanly on master as they are expecting another your patch "cso: add constant buffer save/restore

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Marek Olšák
On Mon, Mar 25, 2013 at 6:14 PM, Jose Fonseca wrote: > > > - Original Message - >> Hi everyone, one image is better than a thousand words: >> >> http://people.freedesktop.org/~mareko/gallium-hud.png >> >> So there you have it. This gallium module can draw transparent graphs and >> text on

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Marek Olšák
That's a very good question. There are a couple of reasons for this. 1) Writing any kind of meta operation and custom rendering code on top of GL is a horrible idea and very prone to errors. If you don't restore all states after you're done, you may break the application. If the application sets a

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Jose Fonseca
- Original Message - > Hi everyone, one image is better than a thousand words: > > http://people.freedesktop.org/~mareko/gallium-hud.png > > So there you have it. This gallium module can draw transparent graphs and > text on top of what apps are rendering. By default, it can show framer

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Alexander Monakov
I feel rather awkward asking, but: why implement this inside of Gallium, instead of as a standalone {egl,glX}SwapBuffers interceptor obtaining counter values via GL extensions, such as ARB_occlusion_query or AMD_performance_monitor? That way Intel (and Nouveau?) people could also benefit from it.

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Brian Paul
On 03/25/2013 08:45 AM, Brian Paul wrote: On 03/22/2013 05:50 PM, Marek Olšák wrote: Hi everyone, one image is better than a thousand words: http://people.freedesktop.org/~mareko/gallium-hud.png So there you have it. This gallium module can draw transparent graphs and text on top of what apps

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-25 Thread Brian Paul
On 03/22/2013 05:50 PM, Marek Olšák wrote: Hi everyone, one image is better than a thousand words: http://people.freedesktop.org/~mareko/gallium-hud.png So there you have it. This gallium module can draw transparent graphs and text on top of what apps are rendering. By default, it can show fra

[Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-22 Thread Marek Olšák
Hi everyone, one image is better than a thousand words: http://people.freedesktop.org/~mareko/gallium-hud.png So there you have it. This gallium module can draw transparent graphs and text on top of what apps are rendering. By default, it can show framerate, cpu load (each CPU or the average of