HomeSort by: relevance | last modified time | path
    Searched defs:TexHeight (Results 1 - 17 of 17) sorted by relevancy

  /xsrc/external/mit/mesa-demos/dist/src/tests/
minmag.c 26 static GLint TexWidth = 256, TexHeight = 256;
91 texImage = (GLubyte*) malloc(4 * TexWidth * TexHeight * sizeof(GLubyte));
96 GLint w = TexWidth, h = TexHeight;
viewmemory.c 26 static GLuint TexWidth = 1024, TexHeight = 512;
61 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TexWidth, TexHeight, 0,
subtexrate.c 16 static GLint TexWidth = 512, TexHeight = 512;
27 * draw teapot image, size TexWidth by TexHeight
34 glViewport(0, 0, TexWidth, TexHeight);
35 glScissor(0, 0, TexWidth, TexHeight);
41 ar = (float) TexWidth / TexHeight;
77 int w = TexWidth / 2, h = TexHeight / 2;
94 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, TexWidth, TexHeight);
108 int w = TexWidth / 2, h = TexHeight / 2;
136 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, TexWidth, TexHeight,
165 image = (GLubyte *) malloc(TexWidth * TexHeight * bpp)
    [all...]
manytex.c 24 static GLint TexWidth = 128, TexHeight = 128;
152 TexWidth, TexHeight);
211 TexHeight = 1 << k;
214 TexHeight = 1 << RandomInt(2, 7);
215 printf("Random size of %3d: %d x %d\n", i, TexWidth, TexHeight);
220 TextureHeight[i] = TexHeight;
222 texImage = (GLubyte*) malloc(4 * TexWidth * TexHeight * sizeof(GLubyte));
232 for (j = 0; j < TexWidth * TexHeight; j++) {
241 GLint w = TexWidth, h = TexHeight;
271 k = (TexWidth * TexHeight - TexWidth) * 4
    [all...]
mipmap_view.c 22 static int TexWidth = SIZE, TexHeight = SIZE;
67 /* resize to TexWidth x TexHeight */
68 if (width != TexWidth || height != TexHeight) {
69 GLubyte *newImage = malloc(TexWidth * TexHeight * 4);
72 TexWidth, TexHeight);
76 TexWidth, TexHeight, GL_UNSIGNED_BYTE, newImage);
82 glTexImage2D(GL_TEXTURE_2D, 0, format, TexWidth, TexHeight, 0,
88 height = TexHeight;
113 GLint Height = TexHeight / (1 << i);
199 TexHeight / (1 << RenderTextureLevel))
    [all...]
texdown.c 44 static GLsizei TexWidth = 1024, TexHeight = 1024, TexBorder = 0;
163 const int h = TexHeight + 2 * TexBorder;
315 const int h = TexHeight + 2 * TexBorder;
436 if (TexHeight < MaxSize)
437 TexHeight *= 2;
440 if (TexHeight > 1)
441 TexHeight /= 2;
  /xsrc/external/mit/mesa-demos/dist/src/trivial/
clear-fbo-tex.c 14 static int TexWidth = 512, TexHeight = 512;
49 glTexImage2D(TexTarget, 0, TexIntFormat, TexWidth, TexHeight, 0,
109 glViewport(0, 0, TexWidth, TexHeight);
tri-fbo-tex-mip.c 17 static int TexWidth = 512, TexHeight = 512;
68 TexHeight / (1 << TextureLevel));
207 glTexImage2D(TexTarget, 0, TexIntFormat, TexWidth, TexHeight, 0,
210 TexWidth / (1 << TextureLevel), TexHeight / (1 << TextureLevel), 0,
tri-fbo-tex.c 17 static int TexWidth = 512, TexHeight = 512;
66 glViewport(0, 0, TexWidth, TexHeight);
206 glTexImage2D(TexTarget, 0, TexIntFormat, TexWidth, TexHeight, 0,
  /xsrc/external/mit/mesa-demos/dist/src/perf/
genmipmap.c 110 const GLint TexWidth = 2048, TexHeight = 2048;
115 img = (GLubyte *) malloc(TexWidth * TexHeight * 4);
116 memset(img, 128, TexWidth * TexHeight * 4);
118 GL_RGBA, TexWidth, TexHeight, 0,
123 TexWidth, TexHeight, NumLevels);
  /xsrc/external/mit/mesa-demos/dist/src/demos/
gearbox.c 19 static GLint TexWidth, TexHeight;
273 glScissor(0, TexHeight, TexWidth, WinHeight - TexHeight);
278 glViewport(0, 0, TexWidth, TexHeight);
279 glScissor(0, 0, TexWidth, TexHeight);
291 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, TexWidth, TexHeight);
444 TexHeight = 256;
447 glTexImage2D(GL_TEXTURE_2D, 0, IntFormat, TexWidth, TexHeight, 0,
fbotexture.c 49 static int TexWidth = 512, TexHeight = 512;
53 static int TexWidth = 200, TexHeight = 200;
108 glViewport(0, 0, TexWidth, TexHeight);
181 PrintStencilHistogram(TexWidth, TexHeight);
245 glTexCoord2f(TexWidth, TexHeight);
247 glTexCoord2f(0, TexHeight);
556 TexHeight - sizeFudge,
564 TexHeight - sizeFudge,
585 printf("Color/Texture size: %d x %d\n", TexWidth, TexHeight);
651 glTexImage2D(TexTarget, 0, TexIntFormat, TexWidth, TexHeight, 0
    [all...]
fbo_firecube.c 152 static GLint TexWidth, TexHeight;
461 glViewport(0, 0, (GLint) TexWidth, (GLint) TexHeight);
464 gluPerspective(70.0, TexWidth/ (float) TexHeight, 0.1, 30.0);
600 glTexImage2D(GL_TEXTURE_2D, 0, TEXINTFORMAT, TexWidth, TexHeight, 0,
962 glTexImage2D(GL_TEXTURE_2D, 0, TEXINTFORMAT, TexWidth, TexHeight, 0,
985 TexWidth, TexHeight);
1027 TexHeight = 512;
  /xsrc/external/mit/mesa-demos/dist/src/fpglsl/
fp-tri.c 203 static int TexWidth = SIZE, TexHeight = SIZE;
213 GLint Height = TexHeight / (1 << i);
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
render_tex.c 25 static int TexWidth = 256, TexHeight = 256;
133 glViewport(0, 0, TexWidth, TexHeight);
162 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, TexWidth, TexHeight);
297 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TexWidth, TexHeight, 0,
627 egl_pbuf = make_pbuffer(x_dpy, egl_dpy, TexWidth, TexHeight);
  /xsrc/external/mit/MesaLib/dist/src/imgui/
imgui.h 2064 unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
2065 unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
2067 int TexHeight; // Texture height calculated during Build().
2068 ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight)
  /xsrc/external/mit/MesaLib.old/dist/src/imgui/
imgui.h 2064 unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
2065 unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
2067 int TexHeight; // Texture height calculated during Build().
2068 ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight)

Completed in 23 milliseconds