Lines Matching refs:refImg
856 sk_sp<SkImage> refImg = SkImage::MakeFromTexture( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
867 GrBackendTexture readBackBackendTex = refImg->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
880 refImg.reset(nullptr); // force a release of the image in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
913 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
914 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
928 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
930 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
933 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
938 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
940 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
941 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
964 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
967 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
971 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
977 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
980 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
983 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
997 sk_sp<SkImage> refImg(imageMaker(dContext)); in test_cross_context_image() local
1001 std::tie(view, std::ignore) = as_IB(refImg)->asView(dContext, GrMipmapped::kNo); in test_cross_context_image()
1006 std::tie(otherView, std::ignore) = as_IB(refImg)->asView(otherCtx, GrMipmapped::kNo); in test_cross_context_image()
1011 std::tie(viewSecondRef, std::ignore) = as_IB(refImg)->asView(dContext, in test_cross_context_image()
1021 std::tie(otherView, std::ignore) = as_IB(refImg)->asView(otherCtx, GrMipmapped::kNo); in test_cross_context_image()
1030 std::tie(otherView, std::ignore) = as_IB(refImg)->asView(otherCtx, GrMipmapped::kNo); in test_cross_context_image()
1035 refImg.reset(nullptr); in test_cross_context_image()