16 return fProxy->
uniqueID() == view.fProxy->
uniqueID() && fOrigin == view.fOrigin &&
17 fSwizzle == view.fSwizzle;
22 return proxy->mipmapped();
69 std::string_view label) {
71 context,
src.refProxy(),
src.origin(),
mipmapped, srcRect, fit, budgeted, label);
72 return {std::move(
copy),
src.origin(),
src.swizzle()};
80 std::string_view label) {
82 rContext,
src.refProxy(),
src.origin(),
mipmapped, fit, budgeted, label);
83 return {std::move(
copy),
src.origin(),
src.swizzle()};
const TextureProxy * fProxy
skgpu::Swizzle swizzle() const
skgpu::Mipmapped mipmapped() const
void concatSwizzle(skgpu::Swizzle swizzle)
GrTextureProxy * asTextureProxy() const
sk_sp< GrTextureProxy > asTextureProxyRef() const
GrSurfaceProxyView makeSwizzle(skgpu::Swizzle swizzle) const &
GrSurfaceProxy * proxy() const
GrRenderTargetProxy * asRenderTargetProxy() const
static GrSurfaceProxyView Copy(GrRecordingContext *context, GrSurfaceProxyView src, skgpu::Mipmapped mipmapped, SkIRect srcRect, SkBackingFit fit, skgpu::Budgeted budgeted, std::string_view label)
sk_sp< GrRenderTargetProxy > asRenderTargetProxyRef() const
bool operator==(const GrSurfaceProxyView &view) const
virtual GrRenderTargetProxy * asRenderTargetProxy()
static sk_sp< GrSurfaceProxy > Copy(GrRecordingContext *, sk_sp< GrSurfaceProxy > src, GrSurfaceOrigin, skgpu::Mipmapped, SkIRect srcRect, SkBackingFit, skgpu::Budgeted, std::string_view label, RectsMustMatch=RectsMustMatch::kNo, sk_sp< GrRenderTask > *outTask=nullptr)
virtual GrTextureProxy * asTextureProxy()
UniqueID uniqueID() const
static constexpr Swizzle Concat(const Swizzle &a, const Swizzle &b)