Lines Matching defs:proxy
22 GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy, GrSurfaceOrigin origin, GrSwizzle swizzle)
23 : fProxy(std::move(proxy)), fOrigin(origin), fSwizzle(swizzle) {}
26 explicit GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy)
27 : fProxy(std::move(proxy)), fOrigin(kTopLeft_GrSurfaceOrigin) {}
44 int width() const { return this->proxy()->width(); }
45 int height() const { return this->proxy()->height(); }
46 SkISize dimensions() const { return this->proxy()->dimensions(); }
49 if (const GrTextureProxy* proxy = this->asTextureProxy()) {
50 return proxy->mipmapped();
55 GrSurfaceProxy* proxy() const { return fProxy.get(); }
96 // Helper that copies a rect of a src view'' proxy and then creates a view for the copy with
129 // properties associated with the detached proxy.