Native surface creation

Brian Paul brian.paul at tungstengraphics.com
Tue Mar 15 07:32:23 PST 2005


Jon Smirl wrote:
> On Tue, 15 Mar 2005 07:50:00 -0700, Brian Paul
> <brian.paul at tungstengraphics.com> wrote:
> 
>>Jon Smirl wrote:
>>
>>>On Tue, 15 Mar 2005 07:11:25 -0700, Brian Paul
>>><brian.paul at tungstengraphics.com> wrote:
>>>
>>>
>>>>>I'll also change the root priv attribute that builds the mode list to
>>>>>take in attribute/value pairs but egl can't change the list.
>>>>
>>>>Can't there be a query in which you pass in a mode name (ex: "HDTV
>>>>1080i") and an attribute to query (ex: "height") and are returned the
>>>>value (ex: "1080")?
>>>
>>>
>>>I'm implementing these calls in a device driver. Couldn't the EGL
>>>implementation just retrieve the entire list of modes and do the
>>>matching in user space?
>>
>>Only if the mode names themselves are totally self-descriptive.  If I
>>query the entire list of modes and I get:
>>
>>"1024x768 at 75Hz"
>>"HDTV 1080i"
>>"orange"
>>
>>How am to know what "orange" really is?
>>
> 
> 
> I am going to modify fbdev to return:
> orange, width=1024, height=768, etc
> 
> Both from the mode and modes variables

Ah, OK, that clears things up.  Thanks.

-Brian



More information about the dri-egl mailing list