Lines Matching refs:textures
368 if (!(texture = state->textures[idx])) return;
890 * We emulate this by creating dummy textures and binding them
2292 struct wined3d_texture *texture = state->textures[0];
3761 if (stage >= sizeof(device->stateBlock->state.textures) / sizeof(*device->stateBlock->state.textures))
3773 device->updateStateBlock->changed.textures |= 1 << stage;
3775 prev = device->updateStateBlock->state.textures[stage];
3785 device->updateStateBlock->state.textures[stage] = texture;
3834 * happen if applications bind textures to a single stage only. */
3838 if (device->updateStateBlock->state.textures[i] == prev)
3862 if (stage >= sizeof(device->stateBlock->state.textures) / sizeof(*device->stateBlock->state.textures))
3868 return device->stateBlock->state.textures[stage];
4187 /* Verify that the source and destination textures are non-NULL. */
4190 WARN("Source and destination textures must be non-NULL, returning WINED3DERR_INVALIDCALL.\n");
4200 /* Verify that the source and destination textures are the same type. */
4208 /* Check that both textures have the identical numbers of levels. */
4318 texture = state->textures[i];
5424 if (device->stateBlock && device->stateBlock->state.textures[i] == texture)
5428 device->stateBlock->state.textures[i] = NULL;
5432 && device->updateStateBlock->state.textures[i] == texture)
5436 device->updateStateBlock->state.textures[i] = NULL;