Lines Matching refs:sourceHeight
33 static void GenerateMip_Y(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
39 ASSERT(sourceHeight > 1);
53 static void GenerateMip_X(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
59 ASSERT(sourceHeight == 1);
73 static void GenerateMip_Z(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
79 ASSERT(sourceHeight == 1);
93 static void GenerateMip_XY(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
99 ASSERT(sourceHeight > 1);
122 static void GenerateMip_YZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
128 ASSERT(sourceHeight > 1);
151 static void GenerateMip_XZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
157 ASSERT(sourceHeight == 1);
180 static void GenerateMip_XYZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
186 ASSERT(sourceHeight > 1);
222 typedef void (*MipGenerationFunction)(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
228 static MipGenerationFunction GetMipGenerationFunction(size_t sourceWidth, size_t sourceHeight, size…
231 ((sourceHeight > 1) ? 2 : 0) |
253 inline void GenerateMip(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
258 size_t mipHeight = std::max<size_t>(1, sourceHeight >> 1);
261 …ion generationFunction = priv::GetMipGenerationFunction<T>(sourceWidth, sourceHeight, sourceDepth);
264 …generationFunction(sourceWidth, sourceHeight, sourceDepth, sourceData, sourceRowPitch, sourceDepth…