Different surface types

Jon Smirl jonsmirl at gmail.com
Fri Apr 29 19:45:16 PDT 2005


eglCreatePbufferSurface()
eglCreatePixmapSurface()
eglCreateWindowSurface()
eglCreateScreenSurfaceMESA()

In the standalone OpenGL case where should these surfaces get created?
eglCreatePixmapSurface and eglCreateWindowSurface don't apply since
there are no native Pixmap and Window types in the standalone case. So
that leaves eglCreateScreenSurfaceMESA, it always has to do into VRAM.
I guess eglCreatePbufferSurface means it can go in VRAM or AGP? Can
Pbuffer migrate between area? Can ScreenSurface migrate if it is not
attached to an active screen?

Would the standalone world be simpler if there was just one kind of
surface that migrated to VRAM if it is going to be used?

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list