• Home
  • Raw
  • Download

Lines Matching refs:Mipmapped

24 using Mipmapped = skgpu::Mipmapped;  typedef
58 sk_sp<SkImage> create_raster(Mipmapped mipmapped) { in create_raster()
72 if (mipmapped == Mipmapped::kYes) { in create_raster()
81 return create_raster(Mipmapped::kNo); in create_raster_backed_image_no_mipmaps()
86 return create_raster(Mipmapped::kYes); in create_raster_backed_image_with_mipmaps()
91 sk_sp<SkImage> raster = create_raster(Mipmapped::kNo); in create_gpu_backed_image_no_mipmaps()
92 return raster->makeTextureImage(recorder, { Mipmapped::kNo }); in create_gpu_backed_image_no_mipmaps()
97 sk_sp<SkImage> raster = create_raster(Mipmapped::kYes); in create_gpu_backed_image_with_mipmaps()
98 return raster->makeTextureImage(recorder, { Mipmapped::kYes }); in create_gpu_backed_image_with_mipmaps()
161 Mipmapped mipmapped, in check_img()
183 SkSamplingOptions sampling = (mipmapped == Mipmapped::kYes) in check_img()
202 (mipmapped == Mipmapped::kYes) ? "w/ mipmaps" : "w/o mipmaps", in check_img()
227 for (auto mm : { Mipmapped::kNo, Mipmapped::kYes }) { in run_test()
352 for (Mipmapped mm : { Mipmapped::kNo, Mipmapped::kYes }) { in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
357 bool mipmapOptAllowed = orig->hasMipmaps() && mm == Mipmapped::kNo; in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
360 if (!test.fMipmapsBlockedByBug || mm == Mipmapped::kNo) { in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
361 REPORTER_ASSERT(reporter, (i->hasMipmaps() == (mm == Mipmapped::kYes)) || in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
368 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
373 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes) || in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
384 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
389 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
397 SkColorType pick_colortype(const Caps* caps, Mipmapped mipmapped) { in pick_colortype()
450 for (Mipmapped mm : { Mipmapped::kNo, Mipmapped::kYes }) { in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
455 if (!testcase.fMipmapsBlockedByBug || mm == Mipmapped::kNo) { in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
456 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
465 if (!testcase.fMipmapsBlockedByBug || mm == Mipmapped::kNo) { in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
466 REPORTER_ASSERT(reporter, i->hasMipmaps() == (mm == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()