HomeSort by: relevance | last modified time | path
    Searched defs:Height (Results 1 - 25 of 99) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/xman/dist/
tkfuncs.c 58 /* Function Name: Height
59 * Description: finds the height of a widget.
61 * Returns: the height of that widget.
65 Height(Widget w)
67 return ((int) w->core.height);
  /xsrc/external/mit/mesa-demos/dist/src/trivial/
readpixels.c 12 static int Width = 250, Height = 250;
24 static void Reshape(int width, int height)
27 Height = height;
29 glViewport(0, 0, Width, height);
49 GLfloat *image = (GLfloat *) malloc(Width * Height * 4 * sizeof(GLfloat));
70 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_FLOAT, image);
76 glDrawPixels(Width, Height, GL_RGBA, GL_FLOAT, image);
86 glutInitWindowSize(Width*2, Height);
clear-fbo.c 13 static int Width = 512, Height = 512;
42 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
49 Reshape(int width, int height)
51 glViewport(0, 0, width, height);
58 Height = height;
59 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
80 glViewport(0, 0, Width, Height);
100 GLubyte *buffer = malloc(Width * Height * 4);
103 glReadPixels(0, 0, Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer)
    [all...]
clear-scissor.c 12 GLint Width = 200, Height = 150;
22 static void Reshape(int width, int height)
25 Height = height;
27 glViewport(0, 0, (GLint)width, (GLint)height);
51 glScissor(0, 0, Width / 2, Height / 2);
55 glScissor(Width / 2, 0, Width - Width / 2, Height / 2);
59 glScissor(0, Height / 2, Width / 2, Height - Height / 2)
    [all...]
clear-undefined.c 12 GLint Width = 200, Height = 150;
23 static void Reshape(int width, int height)
26 Height = height;
28 glViewport(0, 0, (GLint)width, (GLint)height);
67 glScissor(Width / 2, 0, Width - Width / 2, Height / 2);
71 glScissor(0, Height / 2, Width / 2, Height - Height / 2);
119 glutInitWindowPosition(0, 0); glutInitWindowSize( Width, Height );
    [all...]
tri-clear.c 34 GLint Width = 250, Height = 250;
47 static void Reshape(int width, int height)
50 glViewport(0, 0, (GLint)width, (GLint)height);
87 glScissor(Width / 2, Height / 2, Width - Width / 2, Height - Height / 2);
127 glutInitWindowPosition(100, 0); glutInitWindowSize( Width, Height);
tri-fbo.c 13 static int Width = 400, Height = 400;
46 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
57 Reshape( int width, int height )
59 glViewport( 0, 0, width, height );
66 Height = height;
67 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
109 GLubyte *buffer = malloc(Width * Height * 4);
112 glReadPixels(0, 0, Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
123 glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer)
    [all...]
tri-fog.c 34 GLint Width = 250, Height = 250;
57 static void Reshape(int width, int height)
60 glViewport(0, 0, (GLint)width, (GLint)height);
145 glutInitWindowPosition(100, 0); glutInitWindowSize(Width, Height);
tri-mask-tri.c 31 GLint Width = 250, Height = 250;
46 static void Reshape(int width, int height)
48 glViewport(0, 0, (GLint)width, (GLint)height);
145 glutInitWindowPosition(100, 0); glutInitWindowSize(Width, Height);
tri-unfilled-fog.c 34 GLint Width = 250, Height = 250;
48 static void Reshape(int width, int height)
50 glViewport(0, 0, (GLint)width, (GLint)height);
136 glutInitWindowPosition(100, 0); glutInitWindowSize(Width, Height);
clear-fbo-scissor.c 16 static int Width = 512, Height = 512;
55 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, Width, Height, 0,
70 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
83 Reshape(int width, int height)
85 glViewport(0, 0, width, height);
92 Height = height;
94 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
119 glViewport(0, 0, Width, Height);
127 glScissor(0, 0, Width / 2, Height / 2)
    [all...]
clear-fbo-tex.c 17 static int Width = 512, Height = 512;
72 Reshape( int width, int height )
74 glViewport( 0, 0, width, height );
81 Height = height;
128 GLubyte *buffer = malloc(Width * Height * 4);
131 glReadPixels(0, 0, Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
136 glViewport(0, 0, Width, Height);
144 glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
151 glViewport(0, 0, Width, Height);
    [all...]
tri-scissor-tri.c 34 GLint Width = 300, Height = 300;
52 static void Reshape(int width, int height)
54 glViewport(0, 0, (GLint)width, (GLint)height);
62 Height = height;
66 Bottom = Height / 4;
67 Top = Height * 3 / 4;
171 glutInitWindowPosition(100, 0); glutInitWindowSize(Width, Height);
  /xsrc/external/mit/mesa-demos/dist/src/tests/
bug_3050.c 46 static int Height = 200;
55 static void Reshape( int width, int height )
155 glutInitWindowSize( Width, Height );
bug_3101.c 41 static int Height = 200;
73 static void Reshape( int width, int height )
75 GLfloat ar = (float) width / (float) height;
77 Height = height;
78 glViewport( 0, 0, width, height );
120 glutInitWindowSize( Width, Height );
fogcoord.c 13 static int Height = 200;
43 static void Reshape( int width, int height )
45 GLfloat ar = (float) width / (float) height;
47 Height = height;
48 glViewport( 0, 0, width, height );
93 glutInitWindowSize( Width, Height );
seccolor.c 13 static int Height = 200;
64 static void Reshape( int width, int height )
66 GLfloat ar = (float) width / (float) height;
68 Height = height;
69 glViewport( 0, 0, width, height );
136 glutInitWindowSize( Width, Height );
fillrate.c 20 static int Width = 1010, Height = 1010;
45 glVertex2f(Width - 5, Height - 5);
50 glVertex2f(5, Height - 5);
107 pixels = (double) iters * (Width - 10) * (Height - 10);
135 Reshape(int width, int height)
137 glViewport(0, 0, width, height);
140 glOrtho(0, width, 0, height, -1, 1);
144 Height = height;
194 glutInitWindowSize(Width, Height);
    [all...]
invert.c 46 static int Height = 150;
98 static void Reshape( int width, int height )
100 GLfloat ar = (float) width / (float) height;
102 Height = height;
103 glViewport( 0, 0, width, height );
169 glutInitWindowSize( Width, Height );
minmag.c 23 static GLint Width = 1000, Height = 500;
140 glViewport(0, 0, Width, Height);
146 Reshape(int width, int height)
148 float ar = (float) width /height;
150 Height = height;
151 glViewport(0, 0, width, height);
189 glutInitWindowSize(Width, Height);
exactrast.c 32 static int Width = 400, Height = 400;
64 for (j = 0; j < Height; j += 2) {
73 for (i = 0; i < Height; i += 2) {
83 glVertex2f(i, Height);
89 for (j = 0; j < Height; j += 4) {
107 Reshape(int width, int height)
110 Height = height;
111 glViewport(0, 0, width, height);
114 glOrtho(0, width, 0, height, -1, 1)
    [all...]
fbotest1.c 17 static int Width = 400, Height = 400;
34 GLubyte *buffer = malloc(Width * Height * 4);
60 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
65 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
74 Reshape( int width, int height )
77 float ar = (float) width / (float) height;
79 glViewport( 0, 0, width, height );
91 Height = height;
92 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
    [all...]
fbotest2.c 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 );
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/demos/
clearspd.c 18 static int Height = 400.0;
76 pixelRate = clearRate * Width * Height;
88 static void Reshape( int width, int height )
91 Height = height;
92 glViewport( 0, 0, width, height );
95 glOrtho(0.0, width, 0.0, height, -1.0, 1.0);
136 else if (strcmp(argv[i],"-height")==0) {
137 Height = atoi(argv[i+1]);
157 printf("Size: %d x %d\n", Width, Height);
    [all...]
vao_demo.c 34 static int Height = 200;
231 static void Reshape( int width, int height )
233 GLfloat ar = (float) width / (float) height;
235 Height = height;
236 glViewport( 0, 0, width, height );
296 glutInitWindowSize( Width, Height );

Completed in 12 milliseconds

1 2 3 4