Lines Matching refs:sourceWidth
33 static void GenerateMip_Y(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
38 ASSERT(sourceWidth == 1);
53 static void GenerateMip_X(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
58 ASSERT(sourceWidth > 1);
73 static void GenerateMip_Z(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
78 ASSERT(sourceWidth == 1);
93 static void GenerateMip_XY(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
98 ASSERT(sourceWidth > 1);
122 static void GenerateMip_YZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
127 ASSERT(sourceWidth == 1);
151 static void GenerateMip_XZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
156 ASSERT(sourceWidth > 1);
180 static void GenerateMip_XYZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
185 ASSERT(sourceWidth > 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…
230 uint8_t index = ((sourceWidth > 1) ? 1 : 0) |
253 inline void GenerateMip(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
257 size_t mipWidth = std::max<size_t>(1, sourceWidth >> 1);
261 …priv::MipGenerationFunction generationFunction = priv::GetMipGenerationFunction<T>(sourceWidth, so…
264 …generationFunction(sourceWidth, sourceHeight, sourceDepth, sourceData, sourceRowPitch, sourceDepth…