Lines Matching defs:texture
49 TRACE("(%p) : About to load texture.\n", This);
59 /* If the texture is marked dirty or the srgb sampler setting has changed
180 /* Unload all the surfaces and reset the texture name. If UnLoad was called on the
357 /* volume texture */
365 HRESULT volumetexture_init(IWineD3DVolumeTextureImpl *texture, UINT width, UINT height,
391 WARN("(%p) : Texture cannot be created with a format of WINED3DFMT_UNKNOWN.\n", texture);
397 WARN("(%p) : Texture cannot be created - no volume texture support.\n", texture);
424 texture->lpVtbl = &IWineD3DVolumeTexture_Vtbl;
426 hr = basetexture_init((IWineD3DBaseTextureImpl *)texture, levels, WINED3DRTYPE_VOLUMETEXTURE,
439 texture->baseTexture.pow2Matrix[0] = 1.0f;
440 texture->baseTexture.pow2Matrix[5] = 1.0f;
441 texture->baseTexture.pow2Matrix[10] = 1.0f;
442 texture->baseTexture.pow2Matrix[15] = 1.0f;
449 for (i = 0; i < texture->baseTexture.levels; ++i)
454 tmp_w, tmp_h, tmp_d, format, pool, usage, &texture->volumes[i]
458 tmp_w, tmp_h, tmp_d, format, pool, usage, &texture->volumes[i]);
462 ERR("Creating a volume for the volume texture failed, hr %#x.\n", hr);
463 texture->volumes[i] = NULL;
464 volumetexture_cleanup(texture);
468 /* Set its container to this texture. */
469 IWineD3DVolume_SetContainer(texture->volumes[i], (IWineD3DBase *)texture);
476 texture->baseTexture.internal_preload = volumetexture_internal_preload;