Lines Matching refs:textureDimensions
186 UINT textureDimensions = IWineD3DBaseTexture_GetTextureDimensions(iface);
200 glBindTexture(textureDimensions, This->baseTexture.texture_rgb.name);
205 glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_FASTEST);
206 checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_FASTEST)");
210 glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);
211 checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST)");
216 glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);
217 checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST)");
284 UINT textureDimensions;
296 textureDimensions = IWineD3DBaseTexture_GetTextureDimensions(iface);
344 glBindTexture(textureDimensions, gl_tex->name);
346 glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
347 checkGLcall("glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_SGIS, GL_TRUE)");
355 glBindTexture(textureDimensions, gl_tex->name);
365 if(textureDimensions != GL_TEXTURE_RECTANGLE_ARB) {
367 glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels - 1);
368 checkGLcall("glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels)");
370 if(textureDimensions==GL_TEXTURE_CUBE_MAP_ARB) {
372 glTexParameteri(textureDimensions, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
373 glTexParameteri(textureDimensions, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
374 glTexParameteri(textureDimensions, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);
422 GLint textureDimensions = IWineD3DBaseTexture_GetTextureDimensions(iface);
439 apply_wrap(gl_info, textureDimensions, state, GL_TEXTURE_WRAP_S, cond_np2);
445 apply_wrap(gl_info, textureDimensions, state, GL_TEXTURE_WRAP_T, cond_np2);
451 apply_wrap(gl_info, textureDimensions, state, GL_TEXTURE_WRAP_R, cond_np2);
460 TRACE("Setting border color for %u to %x\n", textureDimensions, state);
461 glTexParameterfv(textureDimensions, GL_TEXTURE_BORDER_COLOR, &col[0]);
476 glTexParameteri(textureDimensions, GL_TEXTURE_MAG_FILTER, glValue);
505 glTexParameteri(textureDimensions, GL_TEXTURE_MIN_FILTER, glValue);
523 glTexParameteri(textureDimensions, GL_TEXTURE_BASE_LEVEL, glValue);
543 glTexParameteri(textureDimensions, GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso);