[Mesa-dev] help:eglCopyBuffers

凶恶的狼 731116215 at qq.com
Fri Jul 31 07:55:13 PDT 2015


background:
1)ubuntu
2)libgles1-mesa-dev libgles2-mesa-dev installed


problem
 surface=eglCreatePbufferSurface
 Pixmap = XCreatePixmap(d,w,width,height,32); 
eglCopyBuffers(dpy,sur, EGLNativePixmap)pixmap) returns EGL_FALSE;
eglGetError()= 0x3000


Question:
1) was what I did right?
2)I got X Error 9 bad pixmap or window parameters
3) but rglGetError() returns ox3000 , it meant  NO_ERROR.


how could I Get the pixels from a pixel buffer surface?


thanks
hilbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150731/ec943045/attachment-0001.html>


More information about the mesa-dev mailing list