Index: include/gpu/GrTextureProvider.h |
diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h |
index 3f8c760f9b8c3b29343b8dba324143d1d04942da..1e4283bd5c0453406ef28591900133174fb4d794 100644 |
--- a/include/gpu/GrTextureProvider.h |
+++ b/include/gpu/GrTextureProvider.h |
@@ -106,11 +106,9 @@ public: |
* OpenGL: if the object is a texture Gr may change its GL texture params |
* when it is drawn. |
* |
- * @param desc description of the object to create. |
- * |
* @return GrTexture object or NULL on failure. |
*/ |
- GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc); |
+ GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc, GrWrapOwnership); |
/** |
* Wraps an existing render target with a GrRenderTarget object. It is |
@@ -118,11 +116,10 @@ public: |
* that are not also textures (e.g. FBO 0 in OpenGL, or an MSAA buffer that |
* the client will resolve to a texture). |
* |
- * @param desc description of the object to create. |
- * |
* @return GrTexture object or NULL on failure. |
*/ |
- GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc); |
+ GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc& desc, |
+ GrWrapOwnership); |
protected: |
GrTextureProvider(GrGpu* gpu, GrResourceCache* cache) : fCache(cache), fGpu(gpu) {} |