Lines Matching refs:textures
553 if (state->textures[0])
555 struct wined3d_surface *surface = surface_from_resource(state->textures[0]->sub_resources[0]);
780 /* Note the texture color applies to all textures whereas
788 /* Note the WINED3D_RS value applies to all textures, but GL has one
2157 if (isAlpha && !state->textures[Stage] && arg1 == WINED3DTA_TEXTURE)
3168 if (tex_used && mapped_stage >= gl_info->limits.textures)
3204 texture_activate_dimensions(state->textures[stage], gl_info);
3226 if (tex_used && mapped_stage >= gl_info->limits.textures)
3239 if (state->render_states[WINED3D_RS_COLORKEYENABLE] && !stage && state->textures[0])
3241 struct wined3d_texture *texture = state->textures[0];
3255 * D3DTOP_MODULATE to work on color keyed surfaces. Aliens vs Predator 1 uses color keyed textures
3331 if (mapped_stage >= gl_info->limits.textures) return;
3346 if ((context->lastWasPow2Texture & (1 << texUnit)) && state->textures[texUnit])
3356 gl_info->gl_ops.gl.p_glMultMatrixf(state->textures[texUnit]->pow2_matrix);
3423 for (textureNo = mapped_stage + 1; textureNo < gl_info->limits.textures; ++textureNo)
3621 const struct wined3d_texture *texture = state->textures[sampler];
3665 * only has to bind textures and set the per texture states
3680 if (state->textures[sampler])
3682 struct wined3d_texture *texture = state->textures[sampler];
5772 caps->MaxTextureBlendStages = gl_info->limits.textures;
5773 caps->MaxSimultaneousTextures = gl_info->limits.textures;