Re: [Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-17 Thread Divick Kishore
> vblank_mode was broken for a long time in EGL, but current 9.0 and 9.1 > have it fixed. Not sure what version you're on. I am using version 8.0.5. I have been unable to build the 9.1 for softpipe renderer using the same options that I was using for building 8.0.5. I have posted separately on th

Re: [Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-17 Thread Eric Anholt
Divick Kishore writes: >>> By default we sync to vblank, which for you is 60. The software >>> rasterizer lacks this feature. > > I meant that even with h/w rasterizer I get fps = 60 with vblank=0 set. > > >> The weird thing is that he said he ran it with vblank_mode=0. Makes me >> wonder if we

Re: [Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-16 Thread Divick Kishore
>> By default we sync to vblank, which for you is 60. The software >> rasterizer lacks this feature. I meant that even with h/w rasterizer I get fps = 60 with vblank=0 set. > The weird thing is that he said he ran it with vblank_mode=0. Makes me > wonder if we have a bug in our handling of tha

Re: [Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-16 Thread Kenneth Graunke
On 05/16/2013 09:27 PM, Eric Anholt wrote: Divick Kishore writes: Hi, I have a simple GLES2 based application which does not do much in the either of the vertex and fragment shaders. It simply draws a rotating spiral made from a simple triangle strip. When I try to run this application us

Re: [Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-16 Thread Eric Anholt
Divick Kishore writes: > Hi, > I have a simple GLES2 based application which does not do much in > the either of the vertex and fragment shaders. It simply draws a > rotating spiral made from a simple triangle strip. When I try to run > this application using the mesa with h/w renderer, it gi

[Mesa-dev] A simple GLES2 shader application performance slower with h/w renderer

2013-05-16 Thread Divick Kishore
Hi, I have a simple GLES2 based application which does not do much in the either of the vertex and fragment shaders. It simply draws a rotating spiral made from a simple triangle strip. When I try to run this application using the mesa with h/w renderer, it gives me a performance which is almos