Home | History | Annotate | Download | only in common

Lines Matching refs:fileName

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