Lines Matching refs:rectProxy
25 … sk_sp<GrTextureProxy> rectProxy, uint32_t expectedPixelValues[]) { in test_basic_draw_as_src() argument
26 GrBackendFormat format = rectProxy->backendFormat().makeTexture2D(); in test_basic_draw_as_src()
30 SkBackingFit::kExact, rectProxy->width(), in test_basic_draw_as_src()
31 rectProxy->height(), rectProxy->config(), in test_basic_draw_as_src()
38 auto fp = GrSimpleTextureEffect::Make(rectProxy, SkMatrix::I(), filter); in test_basic_draw_as_src()
138 sk_sp<GrTextureProxy> rectProxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
141 if (!rectProxy) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 SkASSERT(rectProxy->mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
148 SkASSERT(rectProxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
150 SkASSERT(rectProxy->textureType() == GrTextureType::kRectangle); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
151 SkASSERT(rectProxy->peekTexture()->texturePriv().textureType() == in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
153 SkASSERT(rectProxy->hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
154 SkASSERT(rectProxy->peekTexture()->texturePriv().hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
156 test_basic_draw_as_src(reporter, context, rectProxy, refPixels); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
159 test_copy_from_surface(reporter, context, rectProxy.get(), refPixels, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 std::move(rectProxy)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()