EGL_MESA_screen_surface version 2

Jon Smirl jonsmirl at gmail.com
Thu Mar 17 21:19:27 PST 2005


On Fri, 18 Mar 2005 15:54:45 +1100, Benjamin Herrenschmidt
<benh at kernel.crashing.org> wrote:
> On Thu, 2005-03-17 at 23:46 -0500, Jon Smirl wrote:
> > My new opinion on modes is:
> >
> > 1) modes only have two egl attributes, width & height
> 
> That is not new, and I still think you are wrong :) I think frequency is
> important (you seem to be the only one not to think so). I also really

The reason I am removing the refresh rate is that there is no way for
an EGL program to tell what's the best rate. The knowledge of what's
the best rate is in one of two places:

1) the lower layers, they might know on a CRT higher is better, but on
an LCD detailed rules. The also know if the display is an LCD or a
CRT. They can indicate the correct preferences by controlling the
ordering of the mode list.

2) The human layer. He sees two mode names that represent two
different refresh rates and picks the one he wants.

I just can't see why the refresh rate is relevant to an ELG based app.
The EGL app can't know whether it is a CRT or LCD and how to order the
refresh rate list for best display.

Note that you can still control the refresh rate in this model even
though it is not an attribute on an EGL mode.

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list