Lines Matching refs:mipmap
41 Mipmap &mipmap = texture.mipmap[level]; in Sampler() local
43 memset(&mipmap, 0, sizeof(Mipmap)); in Sampler()
47 mipmap.buffer[face] = &zero; in Sampler()
118 Mipmap &mipmap = texture.mipmap[level]; in setTextureLevel() local
121 mipmap.buffer[face] = surface->lockInternal(-border, -border, 0, LOCK_UNLOCKED, PRIVATE); in setTextureLevel()
159 mipmap.fWidth[0] = (float)width / 65536.0f; in setTextureLevel()
160 mipmap.fWidth[1] = (float)width / 65536.0f; in setTextureLevel()
161 mipmap.fWidth[2] = (float)width / 65536.0f; in setTextureLevel()
162 mipmap.fWidth[3] = (float)width / 65536.0f; in setTextureLevel()
164 mipmap.fHeight[0] = (float)height / 65536.0f; in setTextureLevel()
165 mipmap.fHeight[1] = (float)height / 65536.0f; in setTextureLevel()
166 mipmap.fHeight[2] = (float)height / 65536.0f; in setTextureLevel()
167 mipmap.fHeight[3] = (float)height / 65536.0f; in setTextureLevel()
169 mipmap.fDepth[0] = (float)depth / 65536.0f; in setTextureLevel()
170 mipmap.fDepth[1] = (float)depth / 65536.0f; in setTextureLevel()
171 mipmap.fDepth[2] = (float)depth / 65536.0f; in setTextureLevel()
172 mipmap.fDepth[3] = (float)depth / 65536.0f; in setTextureLevel()
179 mipmap.uHalf[0] = halfTexelU; in setTextureLevel()
180 mipmap.uHalf[1] = halfTexelU; in setTextureLevel()
181 mipmap.uHalf[2] = halfTexelU; in setTextureLevel()
182 mipmap.uHalf[3] = halfTexelU; in setTextureLevel()
184 mipmap.vHalf[0] = halfTexelV; in setTextureLevel()
185 mipmap.vHalf[1] = halfTexelV; in setTextureLevel()
186 mipmap.vHalf[2] = halfTexelV; in setTextureLevel()
187 mipmap.vHalf[3] = halfTexelV; in setTextureLevel()
189 mipmap.wHalf[0] = halfTexelW; in setTextureLevel()
190 mipmap.wHalf[1] = halfTexelW; in setTextureLevel()
191 mipmap.wHalf[2] = halfTexelW; in setTextureLevel()
192 mipmap.wHalf[3] = halfTexelW; in setTextureLevel()
194 mipmap.width[0] = width; in setTextureLevel()
195 mipmap.width[1] = width; in setTextureLevel()
196 mipmap.width[2] = width; in setTextureLevel()
197 mipmap.width[3] = width; in setTextureLevel()
199 mipmap.height[0] = height; in setTextureLevel()
200 mipmap.height[1] = height; in setTextureLevel()
201 mipmap.height[2] = height; in setTextureLevel()
202 mipmap.height[3] = height; in setTextureLevel()
204 mipmap.depth[0] = depth; in setTextureLevel()
205 mipmap.depth[1] = depth; in setTextureLevel()
206 mipmap.depth[2] = depth; in setTextureLevel()
207 mipmap.depth[3] = depth; in setTextureLevel()
209 mipmap.onePitchP[0] = 1; in setTextureLevel()
210 mipmap.onePitchP[1] = pitchP; in setTextureLevel()
211 mipmap.onePitchP[2] = 1; in setTextureLevel()
212 mipmap.onePitchP[3] = pitchP; in setTextureLevel()
214 mipmap.pitchP[0] = pitchP; in setTextureLevel()
215 mipmap.pitchP[1] = pitchP; in setTextureLevel()
216 mipmap.pitchP[2] = pitchP; in setTextureLevel()
217 mipmap.pitchP[3] = pitchP; in setTextureLevel()
219 mipmap.sliceP[0] = sliceP; in setTextureLevel()
220 mipmap.sliceP[1] = sliceP; in setTextureLevel()
221 mipmap.sliceP[2] = sliceP; in setTextureLevel()
222 mipmap.sliceP[3] = sliceP; in setTextureLevel()
231 mipmap.buffer[1] = (byte*)mipmap.buffer[0] + YSize; in setTextureLevel()
232 mipmap.buffer[2] = (byte*)mipmap.buffer[1] + CSize; in setTextureLevel()
234 texture.mipmap[1].width[0] = width / 2; in setTextureLevel()
235 texture.mipmap[1].width[1] = width / 2; in setTextureLevel()
236 texture.mipmap[1].width[2] = width / 2; in setTextureLevel()
237 texture.mipmap[1].width[3] = width / 2; in setTextureLevel()
238 texture.mipmap[1].height[0] = height / 2; in setTextureLevel()
239 texture.mipmap[1].height[1] = height / 2; in setTextureLevel()
240 texture.mipmap[1].height[2] = height / 2; in setTextureLevel()
241 texture.mipmap[1].height[3] = height / 2; in setTextureLevel()
242 texture.mipmap[1].onePitchP[0] = 1; in setTextureLevel()
243 texture.mipmap[1].onePitchP[1] = CStride; in setTextureLevel()
244 texture.mipmap[1].onePitchP[2] = 1; in setTextureLevel()
245 texture.mipmap[1].onePitchP[3] = CStride; in setTextureLevel()
412 if(texture.mipmap[0].buffer[0] != texture.mipmap[i].buffer[0]) in mipmapFilter()
431 …if(texture.mipmap[0].width[0] == 1 && texture.mipmap[0].height[0] == 1 && texture.mipmap[0].depth[… in getTextureFilter()