Lines Matching refs:baseTexture
66 srgb_mode = This->baseTexture.is_srgb;
69 dirty = srgb_mode ? &This->baseTexture.texture_srgb.dirty : &This->baseTexture.texture_rgb.dirty;
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)
330 if(This->baseTexture.is_srgb) {
331 gl_tex = &This->baseTexture.texture_srgb;
333 gl_tex = &This->baseTexture.texture_rgb;
336 for (i = 0; i < This->baseTexture.levels; ++i) {
337 surface_set_texture_name(This->surfaces[i], gl_tex->name, This->baseTexture.is_srgb);
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);
451 This->baseTexture.texture_rgb.dirty = TRUE;
452 This->baseTexture.texture_srgb.dirty = TRUE;
601 texture->baseTexture.pow2Matrix[0] = 1.0f;
602 texture->baseTexture.pow2Matrix[5] = 1.0f;
603 texture->baseTexture.pow2Matrix[10] = 1.0f;
604 texture->baseTexture.pow2Matrix[15] = 1.0f;
607 texture->baseTexture.minMipLookup = minMipLookup_noFilter;
613 if ((width != 1) || (height != 1)) texture->baseTexture.pow2Matrix_identity = FALSE;
615 texture->baseTexture.pow2Matrix[0] = (float)width;
616 texture->baseTexture.pow2Matrix[5] = (float)height;
617 texture->baseTexture.pow2Matrix[10] = 1.0f;
618 texture->baseTexture.pow2Matrix[15] = 1.0f;
624 texture->baseTexture.minMipLookup = minMipLookup_noMip;
628 texture->baseTexture.minMipLookup = minMipLookup_noFilter;
635 texture->baseTexture.pow2Matrix_identity = FALSE;
636 texture->baseTexture.pow2Matrix[0] = (((float)width) / ((float)pow2_width));
637 texture->baseTexture.pow2Matrix[5] = (((float)height) / ((float)pow2_height));
641 texture->baseTexture.pow2Matrix[0] = 1.0f;
642 texture->baseTexture.pow2Matrix[5] = 1.0f;
645 texture->baseTexture.pow2Matrix[10] = 1.0f;
646 texture->baseTexture.pow2Matrix[15] = 1.0f;
650 TRACE("xf(%f) yf(%f)\n", texture->baseTexture.pow2Matrix[0], texture->baseTexture.pow2Matrix[5]);
655 for (i = 0; i < texture->baseTexture.levels; ++i)
687 texture->baseTexture.internal_preload = texture_internal_preload;
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)