Lines Matching refs:pbuf
153 unsigned *wbuf, *pbuf;
158 pbuf = (unsigned *) malloc(WinWidth * WinHeight * 4);
179 glReadPixels(0, 0, WinWidth, WinHeight, GL_RGBA, GL_UNSIGNED_BYTE, pbuf);
180 printf("Pbuffer[%d,%d] = 0x%08x\n", x, y, pbuf[y*WinWidth+x]);
185 if (wbuf[i] != pbuf[i]) {
192 printf("Difference at %d: 0x%08x vs. 0x%08x\n", i, wbuf[i], pbuf[i]);
197 free(pbuf);
407 EGLSurface pbuf;
422 pbuf = eglCreatePbufferSurface(egl_dpy, config, pbuf_attribs);
424 return pbuf;