Lines Matching refs:textures

481     if (!(texture = (IWineD3DBaseTextureImpl *)stateblock->textures[idx])) return;
624 /* TODO: Clean up all the surfaces and textures! */
1527 bound. We emulate this by creating dummy textures and binding them to each
1539 for (i = 0; i < gl_info->limits.textures; ++i)
1575 glDeleteTextures(gl_info->limits.textures, device->dummyTextureName);
1576 checkGLcall("glDeleteTextures(gl_info->limits.textures, device->dummyTextureName)");
1579 memset(device->dummyTextureName, 0, gl_info->limits.textures * sizeof(*device->dummyTextureName));
2926 * SetSampler is designed to allow for more than the standard up to 8 textures
2927 * and Geforce has stopped supporting more than 6 standard textures in openGL.
4182 if (stage >= sizeof(This->stateBlock->textures) / sizeof(*This->stateBlock->textures))
4192 /* SetTexture isn't allowed on textures in WINED3DPOOL_SCRATCH */
4199 This->updateStateBlock->changed.textures |= 1 << stage;
4201 prev = This->updateStateBlock->textures[stage];
4211 This->updateStateBlock->textures[stage] = texture;
4266 * happen if applications bind textures to a single stage only. */
4270 if (This->updateStateBlock->textures[i] == prev)
4294 if (Stage >= sizeof(This->stateBlock->textures)/sizeof(This->stateBlock->textures[0])) {
4295 ERR("Current stage overflows textures array (stage %d)\n", Stage);
4299 *ppTexture=This->stateBlock->textures[Stage];
5133 /* Verify that the source and destination textures are non-NULL. */
5136 WARN("Source and destination textures must be non-NULL, returning WINED3DERR_INVALIDCALL.\n");
5146 /* Verify that the source and destination textures are the same type. */
5154 /* Check that both textures have the identical numbers of levels. */
5276 texture = (IWineD3DBaseTextureImpl *) This->stateBlock->textures[i];
5307 IWineD3DBaseTextureImpl *texture = (IWineD3DBaseTextureImpl*)device->stateBlock->textures[i];
7074 if (This->stateBlock != NULL && This->stateBlock->textures[counter] == (IWineD3DBaseTexture *)resource) {
7076 This->stateBlock->textures[counter] = NULL;
7079 if (This->updateStateBlock->textures[counter] == (IWineD3DBaseTexture *)resource) {
7081 This->updateStateBlock->textures[counter] = NULL;
7331 for (i = 0; i < gl_info->limits.textures; ++i)
7351 for (i = 0; i < gl_info->limits.textures; ++i)