Home | History | Annotate | Download | only in tests

Lines Matching refs:Height

17 static int Width = 400, Height = 400;
76 glCopyPixels(0, 0, Width, Height, GL_COLOR);
86 glBlitFramebufferEXT(0, 0, Width, Height,
87 0, 0, Width, Height,
91 GLubyte *buffer = malloc(Width * Height * 4);
93 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
99 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
110 Reshape( int width, int height )
112 float ar = (float) width / (float) height;
114 glViewport( 0, 0, width, height );
124 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, width, height);
127 width, height);
130 Height = height;
196 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
204 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, Width, Height);
219 glutInitWindowSize(Width, Height);