Lines Matching refs:Proxy
100 sk_sp<GrTextureProxy> proxy,
113 std::move(proxy), filter, color, srcRect, dstRect, aaType, aaFlags, constraint,
121 size_t size = sizeof(TextureOp) + sizeof(Proxy) * (cnt - 1);
155 str.appendf("Proxy ID: %d, Filter: %d\n", fProxies[p].fProxy->uniqueID().asUInt(),
195 TextureOp(sk_sp<GrTextureProxy> proxy, GrSamplerState::Filter filter, const SkPMColor4f& color,
212 SkASSERT(!srcRect.contains(proxy->getWorstCaseBoundsRect()) ||
235 fProxies[0] = {proxy.release(), 1};
296 void tess(void* v, const VertexSpec& spec, const GrTextureProxy* proxy, int start,
299 auto origin = proxy->origin();
300 const auto* texture = proxy->peekTexture();
302 if (proxy->textureType() == GrTextureType::kRectangle) {
344 auto* proxy = op.fProxies[p].fProxy;
345 if (!proxy->instantiate(target->resourceProvider())) {
348 SkASSERT(proxy->config() == config);
349 SkASSERT(proxy->textureType() == textureType);
382 // Otherwise, we use fixed dynamic state to specify the single op's proxy.
409 auto* proxy = op.fProxies[p].fProxy;
423 op.tess(vdata, vertexSpec, proxy, q, quadCnt);
432 dynamicStateArrays->fPrimitiveProcessorTextures[m] = proxy;
513 struct Proxy {
527 Proxy fProxies[1];
539 sk_sp<GrTextureProxy> proxy,
549 return TextureOp::Make(context, std::move(proxy), filter, color, srcRect, dstRect, aaType,
610 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(format, desc, origin, mipMapped, fit,
616 srcRect.fLeft = random->nextRangeScalar(0.f, proxy->width() / 2.f);
617 srcRect.fRight = random->nextRangeScalar(0.f, proxy->width()) + proxy->width() / 2.f;
618 srcRect.fTop = random->nextRangeScalar(0.f, proxy->height() / 2.f);
619 srcRect.fBottom = random->nextRangeScalar(0.f, proxy->height()) + proxy->height() / 2.f;
640 return GrTextureOp::Make(context, std::move(proxy), filter, color, srcRect, rect, aaType,