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

  /xsrc/external/mit/mesa-demos/dist/src/fp/
tri-tex.c 20 "TEX result.color, fragment.color, texture[0], 2D; \n"
24 GLuint Texture;
45 /* Load texture */
46 glGenTextures(1, &Texture);
47 glBindTexture(GL_TEXTURE_2D, Texture);
52 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
fp-tri.c 73 GLuint Texture;
117 /* Load texture */
118 glGenTextures(1, &Texture);
119 glBindTexture(GL_TEXTURE_2D, Texture);
124 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
129 glGenTextures(1, &Texture);
131 glBindTexture(GL_TEXTURE_2D, Texture);
  /xsrc/external/mit/mesa-demos/dist/src/tests/
arbfptexture.c 1 /* GL_ARB_fragment_program texture test */
96 "TEX R0, fragment.texcoord[0], texture[0], 2D; \n"
101 GLuint Texture;
122 /* Load texture */
123 glGenTextures(1, &Texture);
124 glBindTexture(GL_TEXTURE_2D, Texture);
129 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
arbfptrig.c 1 /* GL_ARB_fragment_program texture test */
104 GLuint Texture;
125 /* Load texture */
126 glGenTextures(1, &Texture);
127 glBindTexture(GL_TEXTURE_2D, Texture);
132 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
fptexture.c 1 /* GL_NV_fragment_program texture test */
99 GLuint Texture;
120 /* Load texture */
121 glGenTextures(1, &Texture);
122 glBindTexture(GL_TEXTURE_2D, Texture);
127 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
texline.c 20 static GLint Texture = 1;
50 if (Texture)
59 if (!Texture)
72 if (!Texture)
77 if (!Texture)
125 Texture++;
126 if (Texture > 2)
127 Texture = 0;
128 if (Texture == 0) {
134 else if (Texture == 1)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/demos/
fogcoord.c 27 static GLboolean Texture = GL_TRUE;
39 Texture = GL_TRUE;
215 if (Texture)
339 Texture = !Texture;
trispd.c 19 static int Texture = 0;
48 if (Texture) {
149 printf("Texture: GL_MODULATE, %d comps, %s\n", comp, filter == GL_NEAREST ? "GL_NEAREST" : "GL_LINEAR");
177 else if (strcmp(argv[i],"-texture")==0)
178 Texture = 0;
179 else if (strcmp(argv[i],"+texture")==0)
180 Texture = 1;
204 if (Texture)
222 printf(" +/-texture enable/disable texture\n")
    [all...]
engine.c 85 GLboolean Texture;
200 render->Texture = GL_FALSE;
1248 /* use convolution to blur the texture to simulate a dull finish
1275 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
1285 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
  /xsrc/external/mit/mesa-demos/dist/src/glsl/
bump.c 55 static GLuint Texture;
286 * As above, but fragment shader also uses a texture map.
299 glGenTextures(1, &Texture);
300 glBindTexture(GL_TEXTURE_2D, Texture);
convolutions.c 34 struct Texture {
47 static struct Texture texture; variable in typeref:struct:Texture
246 {/*texture*/
251 float offsets[] = { 1.0 / texture.width, 1.0 / texture.height,
252 0.0 , 1.0 / texture.height,
253 -1.0 / texture.width, 1.0 / texture.height,
254 1.0 / texture.width, 0.0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
tgsi_parse.h 92 struct tgsi_instruction_texture Texture;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
tgsi_parse.h 92 struct tgsi_instruction_texture Texture;
  /xsrc/external/mit/mesa-demos/dist/src/fpglsl/
fp-tri.c 246 GLuint Texture;
248 /* Setup texture unit 0 */
249 glGenTextures(1, &Texture);
250 glBindTexture(GL_TEXTURE_2D, Texture);
255 printf("Error: couldn't load texture image file %s\n", TEXTURE_FILE);
259 /* Setup texture unit 1 */
260 glGenTextures(1, &Texture);
262 glBindTexture(GL_TEXTURE_2D, Texture);
309 /* Setup texture unit 2 */
310 glGenTextures(1, &Texture);
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/wgl/
wglthreads.c 32 * -t Use texture mapping
43 * - The WGL contexts share texture objects.
45 * - When 't' is pressed to update the texture image, the window/thread which
46 * has input focus is signalled to change the texture. The other threads
47 * should see the updated texture the next time they call glBindTexture.
85 static GLboolean Texture = GL_FALSE;
165 if (Texture) {
293 if (Texture /*&& wt->Index == 0*/) {
354 if (Texture) {
499 if(Texture && wt->Index > 0)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
xeglthreads.c 32 * -t Use texture mapping
42 * - The EGL contexts share texture objects.
44 * - When 't' is pressed to update the texture image, the window/thread which
45 * has input focus is signalled to change the texture. The other threads
46 * should see the updated texture the next time they call glBindTexture.
91 static GLboolean Texture = GL_FALSE;
170 if (Texture) {
255 if (Texture /*&& wt->Index == 0*/) {
341 if (Texture) {
606 printf(" t Change texture image (requires -t option)\n")
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/xdemos/
glthreads.c 30 * -t Use texture mapping
40 * - The GLX contexts share texture objects.
42 * - When 't' is pressed to update the texture image, the window/thread which
43 * has input focus is signalled to change the texture. The other threads
44 * should see the updated texture the next time they call glBindTexture.
83 static GLboolean Texture = GL_FALSE;
162 if (Texture) {
247 if (Texture /*&& wt->Index == 0*/) {
326 if (Texture) {
565 printf(" t Change texture image (requires -t option)\n")
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
i915_fpc.h 266 struct tgsi_instruction_texture Texture;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
i915_fpc.h 301 struct tgsi_instruction_texture Texture;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
attrib.c 124 GLbitfield Texture[MAX_TEXTURE_UNITS];
160 * Special struct for saving/restoring texture state (GL_TEXTURE_BIT)
164 struct gl_texture_attrib Texture; /**< The usual context state */
166 /** to save per texture object state (wrap modes, filters, etc): */
170 * To save references to texture objects (so they don't get accidentally
176 * default texture objects are kept. We don't want that state to be
178 * texture objects.
389 attr->Texture[i] = ctx->Texture.FixedFuncUnit[i].Enabled;
390 attr->TexGen[i] = ctx->Texture.FixedFuncUnit[i].TexGenEnabled
    [all...]
mtypes.h 359 * Used for storing clear color, texture border color, etc.
849 * Bit flags for each type of texture object
868 * Texture image state. Drivers will typically create a subclass of this
880 mesa_format TexFormat; /**< The actual texture memory format */
923 * and OpenGL 3.3. Legacy texture objects also contain a sampler object.
932 GLenum16 WrapS; /**< S-axis texture image wrap mode */
933 GLenum16 WrapT; /**< T-axis texture image wrap mode */
934 GLenum16 WrapR; /**< R-axis texture image wrap mode */
938 union gl_color_union BorderColor; /**< Interpreted according to texture format */
954 * Texture object state. Contains the array of mipmap images, border color
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/
p_shader_tokens.h 179 TGSI_SEMANTIC_TEXCOORD, /**< texture or sprite coordinates */
645 unsigned Texture : 1;
654 * If tgsi_instruction::Texture is TRUE, tgsi_instruction_texture follows.
655 * if texture instruction has a number of offsets,
656 * then tgsi_instruction::Texture::NumOffset of tgsi_texture_offset follow.
704 unsigned Texture : 8; /* TGSI_TEXTURE_ */
710 /* for texture offsets in GLSL and DirectX.
713 * non-constant texture offsets.
809 unsigned Texture : 8; /* only for images: TGSI_TEXTURE_ */
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/include/pipe/
p_shader_tokens.h 185 TGSI_SEMANTIC_TEXCOORD, /**< texture or sprite coordinates */
640 unsigned Texture : 1;
649 * If tgsi_instruction::Texture is TRUE, tgsi_instruction_texture follows.
650 * if texture instruction has a number of offsets,
651 * then tgsi_instruction::Texture::NumOffset of tgsi_texture_offset follow.
699 unsigned Texture : 8; /* TGSI_TEXTURE_ */
705 /* for texture offsets in GLSL and DirectX.
708 * non-constant texture offsets.
804 unsigned Texture : 8; /* only for images: TGSI_TEXTURE_ */
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
mtypes.h 311 * Used for storing clear color, texture border color, etc.
826 * Bit flags for each type of texture object
845 * Texture image state. Drivers will typically create a subclass of this
857 mesa_format TexFormat; /**< The actual texture memory format */
905 GLenum16 WrapS; /**< S-axis texture image wrap mode */
906 GLenum16 WrapT; /**< T-axis texture image wrap mode */
907 GLenum16 WrapR; /**< R-axis texture image wrap mode */
925 * Texture state saved and restored by glPush/PopAttrib.
949 * and OpenGL 3.3. Legacy texture objects also contain a sampler object.
966 * Texture object state. Contains the array of mipmap images, border color
    [all...]

Completed in 32 milliseconds