Native surface creation

Adam Jackson ajax at nwnk.net
Fri Mar 11 14:00:47 PST 2005


On Friday 11 March 2005 16:56, Brian Paul wrote:
> Actually, no.
>
> We may want to create one screen surface, but display it in several
> different modes.  Suppose we wanted to support X's Ctrl/Alt/+ and
> Ctrl/Alt/- mechanism to change display resolutions on the fly.  One
> screen surface, but different display modes.  Therefore, passing the
> mode info to eglCreateScreenSurfaceXXX() wouldn't be appropriate.
>
> When someone tries to actually show a screen surface with
> eglShowSurfaceXXX() we'd do some error checking to be sure that the
> surface is compatible with the current display mode and return an
> error code if there's a problem.  For example, if the dislay were set
> to do 16bpp and the surface were 32-bit RGBA we'd generate an error.

Ah, right.  Sorry for generating two threads on this...

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dri-egl/attachments/20050311/0ead8cc6/attachment.pgp


More information about the dri-egl mailing list