Home | History | Annotate | Download | only in xdemos

Lines Matching refs:Height

31 static int Width, Height;
41 GLubyte *image = malloc(Width * Height * 4);
47 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, image);
51 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, image);
54 GLfloat *z = malloc(Width * Height * sizeof(GLfloat));
56 glReadPixels(0, 0, Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, z);
57 for (i = 0; i < Width * Height; i++) {
66 GLubyte *sten = malloc(Width * Height * sizeof(GLubyte));
71 glReadPixels(0, 0, Width, Height,
74 for (i = 0; i < Width * Height; i++) {
84 for (i = 0; i < Width * Height; i++) {
96 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, image);
114 make_gl_window(Display *dpy, XVisualInfo *visinfo, int width, int height)
134 win = XCreateWindow( dpy, root, x, y, width, height,
144 sizehints.height = height;
225 /*resize( event.xconfigure.width, event.xconfigure.height );*/
269 *h = attr.height;
360 get_window_size(dpy, WindowID, &Width, &Height);
370 win = make_gl_window(dpy, visinfo, Width, Height);