• Home
  • Raw
  • Download

Lines Matching refs:tcu

39 using tcu::TestLog;
43 static void loadImageRGBA8 (tcu::TextureLevel& dst, const tcu::Archive& archive, const char* path) in loadImageRGBA8()
45 tcu::TextureLevel tmp; in loadImageRGBA8()
46 tcu::ImageIO::loadImage(tmp, archive, path); in loadImageRGBA8()
48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8()
49 tcu::copy(dst, tmp); in loadImageRGBA8()
52 class FuzzyComparisonMetricCase : public tcu::TestCase
55 …FuzzyComparisonMetricCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const … in FuzzyComparisonMetricCase()
56 : tcu::TestCase (testCtx, name, "") in FuzzyComparisonMetricCase()
66 tcu::TextureLevel refImg; in iterate()
67 tcu::TextureLevel cmpImg; in iterate()
68 tcu::TextureLevel errorMask; in iterate()
69 tcu::FuzzyCompareParams params; in iterate()
75tcu::ImageIO::loadImage(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).get… in iterate()
76tcu::ImageIO::loadImage(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).get… in iterate()
82 result = tcu::fuzzyCompare(params, refImg, cmpImg, errorMask); in iterate()
111 class BilinearCompareCase : public tcu::TestCase
114 …BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* … in BilinearCompareCase()
115 : tcu::TestCase (testCtx, name, "") in BilinearCompareCase()
125 tcu::TextureLevel refImg; in iterate()
126 tcu::TextureLevel cmpImg; in iterate()
135 …result = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", refI… in iterate()
153 const tcu::RGBA m_threshold;
157 class FuzzyComparisonMetricTests : public tcu::TestCaseGroup
160 FuzzyComparisonMetricTests (tcu::TestContext& testCtx) in FuzzyComparisonMetricTests()
161 : tcu::TestCaseGroup(testCtx, "fuzzy_metric", "Fuzzy comparison metrics") in FuzzyComparisonMetricTests()
183 class BilinearCompareTests : public tcu::TestCaseGroup
186 BilinearCompareTests (tcu::TestContext& testCtx) in BilinearCompareTests()
187 : tcu::TestCaseGroup(testCtx, "bilinear_compare", "Bilinear Image Comparison Tests") in BilinearCompareTests()
193 …eCase(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), t… in init()
194 …stCtx, "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), f… in init()
195 …stCtx, "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), f… in init()
196 …pareCase(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
197 …eCase(m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
198 …Ctx, "cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
199 …m_testCtx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
200 …Ctx, "cube_nmap_2", "cube_nmap_2_ref.png", "cube_nmap_2_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
201 …, "earth_diffuse", "earth_diffuse_ref.png", "earth_diffuse_cmp.png", tcu::RGBA(20,20,20,2), … in init()
202 …, "eath_texture", "earth_texture_ref.png", "earth_texture_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
203 …estCtx, "earth_spot", "earth_spot_ref.png", "earth_spot_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
204 …Ctx, "earth_light", "earth_light_ref.png", "earth_light_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
205 …x, "lessThan0", "lessThan0-reference.png", "lessThan0-result.png", tcu::RGBA(36,36,36,2), … in init()
206 …, "cube_sphere_2", "cube_sphere_2_ref.png", "cube_sphere_2_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
207 …tCtx, "earth_to_empty", "earth_spot_ref.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), f… in init()
208 …m_testCtx, "texfilter", "texfilter_ref.png", "texfilter_cmp.png", tcu::RGBA(7,7,7,2), t… in init()
209 …Ctx, "refract_vtx", "refract_vtx_ref.png", "refract_vtx_cmp.png", tcu::RGBA(7,7,7,2), t… in init()
210 …, "refract_frag", "refract_frag_ref.png", "refract_frag_cmp.png", tcu::RGBA(7,7,7,2), t… in init()
211 …, "lessthan_vtx", "lessthan_vtx_ref.png", "lessthan_vtx_cmp.png", tcu::RGBA(7,7,7,2), t… in init()
212 …estCtx, "2_units_2d", "2_units_2d_ref.png", "2_units_2d_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
213 …4_units_cube_vtx", "4_units_cube_ref.png", "4_units_cube_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
214 …earest", "texfilter_vtx_nearest_ref.png", "texfilter_vtx_nearest_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
215 …inear", "texfilter_vtx_linear_ref.png", "texfilter_vtx_linear_cmp.png", tcu::RGBA(7,7,7,2), f… in init()
216 …x, "readpixels_msaa", "readpixels_ref.png", "readpixels_msaa.png", tcu::RGBA(1,1,1,1), t… in init()
220 ImageCompareTests::ImageCompareTests (tcu::TestContext& testCtx) in ImageCompareTests()
221 : tcu::TestCaseGroup(testCtx, "image_compare", "Image comparison tests") in ImageCompareTests()