EGL_MESA_screen_surface version 4
Michel Danzer
mdanzer at ati.com
Thu Mar 24 07:53:03 PST 2005
On Wed, 2005-03-23 at 16:38 -0700, Brian Paul wrote:
> Michel Danzer wrote:
> > On Wed, 2005-03-23 at 08:19 -0700, Brian Paul wrote:
> >
> >> EGLSurface eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config,
> >> const EGLint *attrib_list)
> >>
> >> Create a surface that can be displayed on a screen. <attrib_list> is
> >> an array of token/value pairs terminated with EGL_NONE. Valid tokens
> >> include:
> >>
> >> Name Description
> >> ---------------- --------------------------------
> >> EGL_WIDTH desired surface width in pixels
> >> EGL_HEIGHT desired surface height in pixels
> >>
> >> Any other token will generate the error EGL_BAD_ATTRIBUTE.
> >
> >
> > What will happen if either of these attributes is omitted?
>
> Good question. For eglCreatePbufferSurface(), the default width and
> height are zero. Since there's no way to resize a Pbuffer surface,
> that seems sort of useless. Oh well. Is there any objection to
> simply doing the same thing for screen surfaces?
I guess that's one way to require both to be specified in practice. :)
--
Michel Danzer, Linux Software Engineering \ Tel: +1 905-882-2600
ATI Technologies Inc., Markham, Ontario, Canada \ Extension: 3550
More information about the dri-egl
mailing list