Lines Matching refs:proxy
108 NormalizationParams proxy_normalization_params(const GrSurfaceProxy* proxy,
110 // Whether or not the proxy is instantiated, this is the size its texture will be, so we can
112 SkISize dimensions = proxy->backingStoreDimensions();
114 if (proxy->backendFormat().textureType() == GrTextureType::kRectangle) {
180 // Count the number of proxy runs in the entry set. This usually is already computed by
181 // SkGpuDevice, but when the BatchLengthLimiter chops the set up it must determine a new proxy count
187 if (set[i].fProxyView.proxy() != lastProxy) {
189 lastProxy = set[i].fProxyView.proxy();
368 // This will be >= fProxyCount, since a proxy may be drawn multiple times
457 !subsetRect->contains(proxyView.proxy()->backingStoreBoundsRect()));
469 NormalizationParams params = proxy_normalization_params(proxyView.proxy(),
517 // increases when set[q]'s proxy changes.
521 (set[0].fProxyView.proxy()->asTextureProxy()->mipmapped() ==
529 } else if (set[q].fProxyView.proxy() != curProxy) {
538 } // else another quad referencing the same proxy
623 // The # of proxy switches should match what was provided (+1 because we incremented p
624 // when a new proxy was encountered).
748 // If quad counts per proxy were calculated correctly, the entire iterator
767 auto* proxy = op->fViewCountPairs[p].fProxy->asTextureProxy();
769 SkASSERT(proxy);
770 SkASSERT(proxy->textureType() == textureType);
1142 if (subset && subset->contains(proxyView.proxy()->backingStoreBoundsRect())) {
1269 // Ensure that the index buffer limits are lower than the proxy and quad count limits of
1404 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
1410 srcRect.fLeft = random->nextRangeScalar(0.f, proxy->width() / 2.f);
1411 srcRect.fRight = random->nextRangeScalar(0.f, proxy->width()) + proxy->width() / 2.f;
1412 srcRect.fTop = random->nextRangeScalar(0.f, proxy->height() / 2.f);
1413 srcRect.fBottom = random->nextRangeScalar(0.f, proxy->height()) + proxy->height() / 2.f;
1438 std::move(proxy), origin,