pixmap = XCreatePixmap(display, DefaultRootWindow(display),
width, height, depth);
- printf ("Replayed XCreatePixmap to create pixmap %ld\n", pixmap);
-
return new GlxDrawable(pixmap, width, height);
}
gl_pixmap = glXCreatePixmap(display, fbconfig, pixmap->window, attrib_list);
- printf ("And replayed glXCreatePixmap to create pixmap %ld\n", gl_pixmap);
-
return new GlxDrawable(gl_pixmap, width, height);
}
GC gc;
XImage image;
- printf ("Calling XPutImage to pixmap %ld\n", glxDrawable->window);
-
image.width = width;
image.height = height;
image.format = ZPixmap;