Lines Matching defs:filenames
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
277 TCU_CHECK(numLevels == (int)filenames.size());
279 std::vector<const char*> charPtrs(filenames.size());
280 for (int ndx = 0; ndx < (int)filenames.size(); ndx++)
281 charPtrs[ndx] = filenames[ndx].c_str();
421 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames)
425 std::string ext = de::FilePath(filenames[0]).getFileExtension();
435 tcu::ImageIO::loadPKM(levels[ndx], archive, filenames[ndx]);
443 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
446 TCU_CHECK(numLevels*tcu::CUBEFACE_LAST == (int)filenames.size());
448 std::vector<const char*> charPtrs(filenames.size());
449 for (int ndx = 0; ndx < (int)filenames.size(); ndx++)
450 charPtrs[ndx] = filenames[ndx].c_str();