Home | History | Annotate | Download | only in gpu

Lines Matching defs:proxy

173 // Assumes srcRect and dstRect have already been optimized to fit the proxy
177 SkCanvas::SrcRectConstraint constraint, sk_sp<GrTextureProxy> proxy,
196 // Must specify the strict constraint when the proxy is not functionally exact and the src
197 // rect would access pixels outside the proxy's content area without the constraint.
199 !GrProxyProvider::IsFunctionallyExact(proxy.get())) {
204 SkRect safeBounds = SkRect::MakeWH(proxy->width(), proxy->height());
211 if (GrPixelConfigIsAlphaOnly(proxy->config())) {
223 rtc->drawTextureQuad(clip, std::move(proxy), filter, paint.getBlendMode(), color,
228 rtc->drawTexture(clip, std::move(proxy), filter, paint.getBlendMode(), color, srcRect,
233 // Assumes srcRect and dstRect have already been optimized to fit the proxy.
243 auto proxy = producer->refTextureProxyForParams(GrSamplerState::ClampNearest(), nullptr);
244 if (!proxy) {
249 std::move(proxy), producer->alphaType(), producer->colorSpace());
384 // pinned texture proxy because YUV images force-flatten to RGBA in that scenario.
399 if (sk_sp<GrTextureProxy> proxy = as_IB(image)->refPinnedTextureProxy(this->context(),
409 dstClip, aa, aaFlags, constraint, std::move(proxy), alphaType, colorSpace);
413 GrTextureAdjuster adjuster(fContext.get(), std::move(proxy), alphaType, pinnedUniqueID,
537 // If we failed to make a proxy then flush the accumulated set and reset for the next