| Index: src/gpu/GrTextureProvider.cpp
|
| diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp
|
| index c195398917dc828f14c75a7eaa803a94d836db32..acc01c91b1d1294442e5f7c45b77b3985b335172 100644
|
| --- a/src/gpu/GrTextureProvider.cpp
|
| +++ b/src/gpu/GrTextureProvider.cpp
|
| @@ -107,15 +107,17 @@ GrTexture* GrTextureProvider::internalRefScratchTexture(const GrSurfaceDesc& inD
|
| return NULL;
|
| }
|
|
|
| -GrTexture* GrTextureProvider::wrapBackendTexture(const GrBackendTextureDesc& desc) {
|
| +GrTexture* GrTextureProvider::wrapBackendTexture(const GrBackendTextureDesc& desc,
|
| + GrWrapOwnership ownership) {
|
| if (this->isAbandoned()) {
|
| return NULL;
|
| }
|
| - return fGpu->wrapBackendTexture(desc);
|
| + return fGpu->wrapBackendTexture(desc, ownership);
|
| }
|
|
|
| -GrRenderTarget* GrTextureProvider::wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc) {
|
| - return this->isAbandoned() ? NULL : fGpu->wrapBackendRenderTarget(desc);
|
| +GrRenderTarget* GrTextureProvider::wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc,
|
| + GrWrapOwnership ownership) {
|
| + return this->isAbandoned() ? NULL : fGpu->wrapBackendRenderTarget(desc, ownership);
|
| }
|
|
|
| void GrTextureProvider::assignUniqueKeyToResource(const GrUniqueKey& key, GrGpuResource* resource) {
|
|
|