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();
439 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames)
443 std::string ext = de::FilePath(filenames[0]).getFileExtension();
453 tcu::ImageIO::loadPKM(levels[ndx], archive, filenames[ndx]);
461 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
464 TCU_CHECK(numLevels*tcu::CUBEFACE_LAST == (int)filenames.size());
466 std::vector<const char*> charPtrs(filenames.size());
467 for (int ndx = 0; ndx < (int)filenames.size(); ndx++)
468 charPtrs[ndx] = filenames[ndx].c_str();