Remove unused ownership argument to GrSurfaceProxy::MakeWrappedBackend
This is the last public reference to GrWrapOwnership, so removal paves the way for moving it to somewhere internal. BUG=skia: Change-Id: I876298642ff812452a644c1d2b9519691eac44b9 Reviewed-on: https://skia-review.googlesource.com/9492 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
c2d5bd0117
commit
383dd9dc58
@ -184,8 +184,7 @@ public:
|
||||
|
||||
static sk_sp<GrSurfaceProxy> MakeWrappedBackend(
|
||||
GrContext*,
|
||||
GrBackendTextureDesc&,
|
||||
GrWrapOwnership ownership = kBorrow_GrWrapOwnership);
|
||||
GrBackendTextureDesc&);
|
||||
|
||||
const GrSurfaceDesc& desc() const { return fDesc; }
|
||||
|
||||
|
@ -238,9 +238,8 @@ sk_sp<GrTextureProxy> GrSurfaceProxy::MakeDeferred(const GrCaps& caps,
|
||||
}
|
||||
|
||||
sk_sp<GrSurfaceProxy> GrSurfaceProxy::MakeWrappedBackend(GrContext* context,
|
||||
GrBackendTextureDesc& desc,
|
||||
GrWrapOwnership ownership) {
|
||||
sk_sp<GrTexture> tex(context->resourceProvider()->wrapBackendTexture(desc, ownership));
|
||||
GrBackendTextureDesc& desc) {
|
||||
sk_sp<GrTexture> tex(context->resourceProvider()->wrapBackendTexture(desc));
|
||||
return GrSurfaceProxy::MakeWrapped(std::move(tex));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user