• Home
  • Raw
  • Download

Lines Matching refs:mbet

52     sk_sp<ManagedBackendTexture> mbet = create(dContext, mipMapped, renderable);  in test_wrapping()  local
53 if (!mbet) { in test_wrapping()
83 mbet->texture(), in test_wrapping()
99 mbet->texture(), in test_wrapping()
318 sk_sp<ManagedBackendTexture> mbet = create(dContext, color, mipmapped, renderable); in test_color_init() local
319 if (!mbet) { in test_color_init()
329 check_mipmaps(dContext, mbet->texture(), colorType, expectedColors, reporter, in test_color_init()
334 check_base_readbacks(dContext, mbet->texture(), colorType, renderable, testColor, reporter, in test_color_init()
345 dContext->updateBackendTexture(mbet->texture(), in test_color_init()
349 mbet->releaseContext()); in test_color_init()
490 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init() local
491 if (!mbet) { in test_pixmap_init()
496 if (skColorType == kBGRA_8888_SkColorType && !isBGRA8(mbet->texture().getBackendFormat())) { in test_pixmap_init()
513 check_mipmaps(dContext, mbet->texture(), grColorType, expectedColors, reporter, in test_pixmap_init()
518 check_base_readbacks(dContext, mbet->texture(), grColorType, renderable, colors[0], in test_pixmap_init()
535 dContext->updateBackendTexture(mbet->texture(), in test_pixmap_init()
540 mbet->releaseContext()); in test_pixmap_init()
632 auto mbet = ManagedBackendTexture::MakeWithoutData(dContext, in color_type_backend_allocation_test() local
638 check_vk_tiling(mbet->texture()); in color_type_backend_allocation_test()
643 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
647 return mbet; in color_type_backend_allocation_test()
659 auto mbet = ManagedBackendTexture::MakeWithData(dContext, in color_type_backend_allocation_test() local
666 check_vk_tiling(mbet->texture()); in color_type_backend_allocation_test()
672 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
676 return mbet; in color_type_backend_allocation_test()
690 auto mbet = ManagedBackendTexture::MakeWithData(dContext, in color_type_backend_allocation_test() local
696 check_vk_tiling(mbet->texture()); in color_type_backend_allocation_test()
701 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
704 return mbet; in color_type_backend_allocation_test()
980 auto mbet = ManagedBackendTexture::MakeWithoutData(dContext, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
986 check_vk_tiling(mbet->texture()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
987 return mbet; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1032 auto mbet = ManagedBackendTexture::MakeWithData(dContext, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
1039 check_vk_tiling(mbet->texture()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1040 return mbet; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()