Lines Matching defs:levels
63 for (i = 0; i < This->baseTexture.levels; ++i)
70 for (i = 0; i < This->baseTexture.levels; ++i)
93 for (i = 0; i < This->baseTexture.levels; ++i)
184 for (i = 0; i < This->baseTexture.levels; i++) {
264 if (Level < This->baseTexture.levels) {
274 if (Level < This->baseTexture.levels) {
279 WARN("(%p) Level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
289 if (Level < This->baseTexture.levels) {
294 FIXME("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
304 if (Level < This->baseTexture.levels) {
309 FIXME("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
366 UINT depth, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format,
401 /* Calculate levels for mip mapping. */
410 if (levels > 1)
416 levels = 1;
418 else if (!levels)
420 levels = wined3d_log2i(max(max(width, height), depth)) + 1;
421 TRACE("Calculated levels = %u.\n", levels);
426 hr = basetexture_init((IWineD3DBaseTextureImpl *)texture, levels, WINED3DRTYPE_VOLUMETEXTURE,
449 for (i = 0; i < texture->baseTexture.levels; ++i)