Lines Matching refs:fileName
55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadImage() argument
57 string ext = de::FilePath(fileName).getFileExtension(); in loadImage()
60 loadPNG(dst, archive, fileName); in loadImage()
62 throw InternalError("Unrecognized image file extension", fileName, __FILE__, __LINE__); in loadImage()
82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadPNG() argument
84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG()
98 throw InternalError("An error occured when loading PNG", fileName, __FILE__, __LINE__); in loadPNG()
118 throw InternalError("Unsupported PNG depth or color type", fileName, __FILE__, __LINE__); in loadPNG()
155 void savePNG (const ConstPixelBufferAccess& src, const char* fileName) in savePNG() argument
157 FILE* fp = fopen(fileName, "wb"); in savePNG()
228 void loadPKM (CompressedTexture& dst, const tcu::Archive& archive, const char* fileName) in loadPKM() argument
230 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPKM()