Searched refs:Height (Results 1 - 25 of 417) sorted by relevance

1234567891011>>

/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dclear-fbo-scissor.c16 static int Width = 512, Height = 512; variable in typeref:typename:int
55 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, Width, Height, 0,
70 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, 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);
132 glScissor(Width / 2, 0, Width - Width / 2, Height / 2);
137 glScissor(0, Height / 2, Width / 2, Height
[all...]
H A Dclear-scissor.c12 GLint Width = 200, Height = 150; variable in typeref:typename:GLint
25 Height = 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);
63 glScissor(Width / 2, Height / 2, Width - Width / 2, Height - Height /
[all...]
H A Dclear-fbo.c13 static int Width = 512, Height = 512; variable in typeref:typename:int
42 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, 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);
112 glViewport(0, 0, Width, Height);
120 glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
127 glViewport(0, 0, Width, Height);
[all...]
H A Dreadpixels.c12 static int Width = 250, Height = 250; variable in typeref:typename:int
27 Height = 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);
H A Dclear-undefined.c12 GLint Width = 200, Height = 150; variable in typeref:typename:GLint
26 Height = 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 );
131 Reshape(Width, Height);
H A Dtri-fbo.c13 static int Width = 400, Height = 400; variable in typeref:typename:int
46 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, 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);
184 glutInitWindowPosition(100, 0); glutInitWindowSize( Width, Height );
H A Dtri-clear.c34 GLint Width = 250, Height = 250; variable in typeref:typename:GLint
87 glScissor(Width / 2, Height / 2, Width - Width / 2, Height - Height / 2);
127 glutInitWindowPosition(100, 0); glutInitWindowSize( Width, Height);
H A Dclear-fbo-tex.c17 static int Width = 512, Height = 512; variable in typeref:typename:int
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);
206 glutInitWindowPosition(100, 0); glutInitWindowSize( Width, Height );
H A Dtri-scissor-tri.c34 GLint Width = 300, Height = 300; variable in typeref:typename:GLint
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/
H A Dblendxor.c20 static int Width = 600, Height = 600; variable in typeref:typename:int
53 glWindowPos2i((Width - ImgWidth) / 2, (Height - ImgHeight) / 2);
61 glWindowPos2i(100, Height - 20);
65 glRecti(100, 30, 250, Height - 30);
68 glWindowPos2i(Width/2 + 10, Height - 20);
73 glRecti(Width / 2, 30, Width / 2 + 150, Height - 30);
84 Height = height;
88 glOrtho(0, Width, 0, Height, -1, 1);
183 glutInitWindowSize(Width, Height);
H A Dfbotest2.c17 static int Width = 400, Height = 400; variable in typeref:typename:int
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);
130 Height = height;
196 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
204 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, Width, Height);
[all...]
H A Dexactrast.c32 static int Width = 400, Height = 400; variable in typeref:typename:int
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) {
110 Height = height;
190 glutInitWindowSize(Width, Height);
H A Ddrawbuffers.c19 static int Width = 400, Height = 400; variable in typeref:typename:int
38 GLubyte *buffer = malloc(Width * Height * 4);
77 glReadPixels(0, 0, Width / 2, Height, GL_RGBA, GL_UNSIGNED_BYTE,
83 glReadPixels(Width / 2, 0, Width - Width / 2, Height,
92 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
114 Height = height;
117 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
119 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
122 Width, Height);
194 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
[all...]
H A Ddrawbuffers2.c26 static int Width = 400, Height = 400; variable in typeref:typename:int
46 GLubyte *buffer = malloc(Width * Height * 4);
101 glReadPixels(0, 0, Width / 2, Height, GL_RGBA, GL_UNSIGNED_BYTE,
107 glReadPixels(Width / 2, 0, Width - Width / 2, Height,
116 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
146 Height = height;
149 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
151 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
154 Width, Height);
241 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
[all...]
H A Dfbotest1.c17 static int Width = 400, Height = 400; variable in typeref:typename:int
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);
91 Height = height;
92 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
167 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
202 glutInitWindowSize(Width, Height);
H A Dfbotest3.c26 static int Width = 400, Height = 400; variable in typeref:typename:int
46 GLubyte *buffer = malloc(Width * Height * 4);
77 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
83 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
109 Height = height;
194 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
201 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, Width, Height, 0,
219 glutInitWindowSize(Width, Height);
H A Dbug_3101.c41 static int Height = 200; variable in typeref:typename:int
77 Height = height;
120 glutInitWindowSize( Width, Height );
H A Dzdrawpix.c25 static int Width = 200, Height = 200; variable in typeref:typename:int
49 glDrawPixels(Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, z);
71 glDrawPixels(Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, z);
75 ShowDepthBuffer(Width, Height, 0.0, 1.0);
94 Height = height;
H A Dshader-interp.c23 static int Width = 600, Height = 300; variable in typeref:typename:int
60 glViewport(0, 0, Width, Height);
75 glReadPixels(Width * 1 / 4, 0, 1, Height, GL_RGBA, GL_FLOAT, buf1);
76 glReadPixels(Width * 3 / 4, 0, 1, Height, GL_RGBA, GL_FLOAT, buf2);
77 for (i = 1; i < Height; i++) {
101 Height = height;
203 glutInitWindowSize(Width, Height);
H A Dzcomp.c16 static int Width = 400, Height = 200; variable in typeref:typename:int
51 glReadPixels(0, 0, Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, Zimg);
52 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, Cimg);
91 glDrawPixels(Width, Height, GL_DEPTH_COMPONENT, GL_FLOAT, Zimg);
98 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, Cimg);
128 Height = height;
210 glutInitWindowSize(Width, Height);
H A Dstreaming_rect.c32 static GLuint Height = 512; variable in typeref:typename:GLuint
55 GLint size = Width * Height * 4;
79 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, Width, Height, 0,
94 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, Width, Height, 0,
104 h = Height;
109 h = min(10, Height);
260 Width * Height * 4, NULL, GL_STREAM_DRAW);
294 Height = atoi(argv[i+1]);
295 if (Height <= 0) {
303 glutInitWindowSize( Width, Height );
[all...]
/xsrc/external/mit/xman/dist/
H A Dtkfuncs.c58 /* Function Name: Height
65 Height(Widget w) function in typeref:typename:int
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglxsnoop.c31 static int Width, Height; variable in typeref:typename:int
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;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dtexture9.c43 UINT Width, UINT Height, UINT Levels,
58 DBG("(%p) Width=%u Height=%u Levels=%u Usage=%s Format=%s Pool=%s "
59 "pSharedHandle=%p\n", This, Width, Height, Levels,
63 user_assert(Width && Height, D3DERR_INVALIDCALL);
119 user_assert(!(Width % w) && !(Height % h), D3DERR_INVALIDCALL);
126 info->height0 = Height;
131 info->last_level = util_logbase2(MAX2(Width, Height));
156 Width, Height,
167 Width, Height,
181 This->base.pstype = (Height
41 NineTexture9_ctor(struct NineTexture9 * This,struct NineUnknownParams * pParams,UINT Width,UINT Height,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,HANDLE * pSharedHandle) argument
382 NineTexture9_new(struct NineDevice9 * pDevice,UINT Width,UINT Height,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,struct NineTexture9 ** ppOut,HANDLE * pSharedHandle) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dclearspd.c18 static int Height = 400.0; variable in typeref:typename:int
76 pixelRate = clearRate * Width * Height;
91 Height = height;
137 Height = atoi(argv[i+1]);
157 printf("Size: %d x %d\n", Width, Height);
190 glutInitWindowSize( (int) Width, (int) Height );

Completed in 19 milliseconds

1234567891011>>