Lines Matching defs:proxy
102 sk_sp<GrTextureProxy> proxy, SkAlphaType alphaType,
105 SkRect srcRect = src ? *src : SkRect::MakeWH(proxy->width(), proxy->height());
107 if (src && !SkRect::MakeIWH(proxy->width(), proxy->height()).contains(srcRect)) {
111 SkAssertResult(srcRect.intersect(SkRect::MakeIWH(proxy->width(), proxy->height())));
131 if (GrPixelConfigIsAlphaOnly(proxy->config())) {
138 rtc->drawTexture(clip, std::move(proxy), filter, color, srcRect, dstRect, aaFlags, constraint,
144 void SkGpuDevice::drawPinnedTextureProxy(sk_sp<GrTextureProxy> proxy, uint32_t pinnedUniqueID,
151 draw_texture(paint, viewMatrix, srcRect, dstRect, aa, constraint, std::move(proxy),
155 GrTextureAdjuster adjuster(this->context(), std::move(proxy), alphaType, pinnedUniqueID,
171 auto proxy = producer->refTextureProxyForParams(GrSamplerState::ClampNearest(), nullptr);
172 if (!proxy) {
175 draw_texture(paint, viewMatrix, srcRect, dstRect, aa, constraint, std::move(proxy),