Lines Matching defs:levels

81         for (i = 0; i < This->baseTexture.levels; ++i)
98 for (i = 0; i < This->baseTexture.levels; ++i)
120 for (i = 0; i < This->baseTexture.levels; ++i)
216 for (i = 0; i < This->baseTexture.levels; i++) {
246 for (i = 0; i < This->baseTexture.levels; ++i)
336 for (i = 0; i < This->baseTexture.levels; ++i) {
392 if (Level < This->baseTexture.levels) {
396 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
404 if (Level < This->baseTexture.levels) {
411 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
422 if (Level < This->baseTexture.levels) {
428 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
438 if (Level < This->baseTexture.levels) {
444 WARN("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
510 HRESULT texture_init(IWineD3DTextureImpl *texture, UINT width, UINT height, UINT levels,
549 if (levels > 1)
554 levels = 1;
558 /* Calculate levels for mip mapping. */
567 if (levels > 1)
573 levels = 1;
575 else if (!levels)
577 levels = wined3d_log2i(max(width, height)) + 1;
578 TRACE("Calculated levels = %u.\n", levels);
583 hr = basetexture_init((IWineD3DBaseTextureImpl *)texture, levels, WINED3DRTYPE_TEXTURE,
655 for (i = 0; i < texture->baseTexture.levels; ++i)
694 for (i = 0; i < texture->baseTexture.levels; ++i)
699 for (i = 0; i < texture->baseTexture.levels; ++i)
704 for (i = 0; i < texture->baseTexture.levels; ++i)
720 for (i = 0; i < texture->baseTexture.levels; ++i)