Lines Matching refs:textures

489     if (stateblock->textures[0])
491 UINT texture_dimensions = IWineD3DBaseTexture_GetTextureDimensions(stateblock->textures[0]);
497 surf = (IWineD3DSurfaceImpl *) ((IWineD3DTextureImpl *)stateblock->textures[0])->surfaces[0];
782 /* Note the texture color applies to all textures whereas
791 /* Note the WINED3DRS value applies to all textures, but GL has one
1627 if (gl_info->limits.point_sprite_units < gl_info->limits.textures && !warned)
2036 if (isAlpha && This->stateBlock->textures[Stage] == NULL && arg1 == WINED3DTA_TEXTURE) {
3035 if (tex_used && mapped_stage >= gl_info->limits.textures)
3094 if (tex_used && mapped_stage >= gl_info->limits.textures)
3108 if (stateblock->renderState[WINED3DRS_COLORKEYENABLE] && stage == 0 && stateblock->textures[0])
3110 UINT texture_dimensions = IWineD3DBaseTexture_GetTextureDimensions(stateblock->textures[0]);
3116 surf = (IWineD3DSurfaceImpl *) ((IWineD3DTextureImpl *) stateblock->textures[0])->surfaces[0];
3125 * D3DTOP_MODULATE to work on color keyed surfaces. Aliens vs Predator 1 uses color keyed textures
3199 if (mapped_stage >= context->gl_info->limits.textures) return;
3214 if ((context->lastWasPow2Texture & (1 << texUnit)) && stateblock->textures[texUnit])
3223 glMultMatrixf(((IWineD3DTextureImpl *) stateblock->textures[texUnit])->baseTexture.pow2Matrix);
3282 for (textureNo = mapped_stage + 1; textureNo < gl_info->limits.textures; ++textureNo)
3502 IWineD3DBaseTexture *texture = stateblock->textures[sampler];
3539 * only has to bind textures and set the per texture states
3555 if(stateblock->textures[sampler]) {
3557 IWineD3DBaseTextureImpl *tex_impl = (IWineD3DBaseTextureImpl *) stateblock->textures[sampler];
3558 IWineD3DBaseTexture_BindTexture(stateblock->textures[sampler], srgb);
3559 basetexture_apply_state_changes(stateblock->textures[sampler],
3589 else if (mapped_stage < gl_info->limits.textures)
4311 This may result in very slightly distorted textures in rhw mode.
5599 pCaps->MaxTextureBlendStages = gl_info->limits.textures;
5600 pCaps->MaxSimultaneousTextures = gl_info->limits.textures;
5631 FALSE /* we cannot disable projected textures. The vertex pipe has to do it */