[Mesa-dev] [PATCH] i965: Throttle rendering to an fbo

Daniel Vetter daniel at ffwll.ch
Fri Mar 6 06:30:31 PST 2015


On Thu, Mar 05, 2015 at 02:38:44PM -0800, Ian Romanick wrote:
> On 03/04/2015 10:28 AM, Chad Versace wrote:
> > That text does not appear in the GL spec. When I read the manpage alongside
> > the GL spec, to get a more complete context, I think the manpage contains
> > that phrase simply to contrast with glFinish. In my reading, it does not imply that
> > glFlush may wait for *some* previously issued GL commands to complete.
> 
> glFlush was invented to support indirect rendering (especially to the
> front buffer):  it flushes the buffer in libGL to the xserver.  If
> you're making any other assumptions about what it does or does not do...
> continue at your own peril.

Well plan B is the kernel throttles for you. But that's going to cause a
fuzz since at least for benchmarking the kernel kinda lacks the necessary
information to make informed calls about when to throttle and how.

So is there no gl entry point in mesa we can abuse and make this happen?
Citing the spec doesn't make the real world issue go away.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the mesa-dev mailing list