Lines Matching refs:refImg
839 sk_sp<SkImage> refImg( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
845 GrBackendTexture readBackBackendTex = refImg->getBackendTexture(false, &readBackOrigin); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
858 refImg.reset(nullptr); // force a release of the image in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
893 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
894 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
908 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
910 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
913 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
918 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
920 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
921 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
944 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
947 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
951 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
957 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
960 canvas->drawImage(refImg, 0, 0); in test_cross_context_image()
963 refImg.reset(nullptr); // force a release of the image in test_cross_context_image()
976 sk_sp<SkImage> refImg(imageMaker(ctx)); in test_cross_context_image() local
979 sk_sp<GrTextureProxy> proxy = as_IB(refImg)->asTextureProxyRef( in test_cross_context_image()
985 sk_sp<GrTextureProxy> otherProxy = as_IB(refImg)->asTextureProxyRef( in test_cross_context_image()
991 sk_sp<GrTextureProxy> proxySecondRef = as_IB(refImg)->asTextureProxyRef( in test_cross_context_image()
1001 otherProxy = as_IB(refImg)->asTextureProxyRef(otherCtx, GrSamplerState::ClampNearest(), in test_cross_context_image()
1011 otherProxy = as_IB(refImg)->asTextureProxyRef(otherCtx, GrSamplerState::ClampNearest(), in test_cross_context_image()
1017 refImg.reset(nullptr); in test_cross_context_image()