diff options
author | 2012-01-27 00:47:24 +0000 | |
---|---|---|
committer | 2012-01-27 00:47:24 +0000 | |
commit | b1caea00d8b852576bf3734b7088acdd505d0b8b (patch) | |
tree | 806c42e5e602d4de83a3157f61dbd4870c180ff1 /include/gpu/GrContext.h | |
parent | 1771cbf43d9a1334e3d870c635b4215bb888dd98 (diff) |
Rip out GrPlatformSurface (has been deprecated for some time, use GrPlatformTexture or GrPlatformRenderTarget instead)
Review URL: http://codereview.appspot.com/5576052/
git-svn-id: http://skia.googlecode.com/svn/trunk@3094 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 0308b5d1fc..d27b963d92 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -295,26 +295,6 @@ public: GrRenderTarget* createPlatformRenderTarget( const GrPlatformRenderTargetDesc& desc); - /** - * This interface is depracted and will be removed in a future revision. - * Callers should use createPlatformTexture or createPlatformRenderTarget - * instead. - * - * Wraps an existing 3D API surface in a GrObject. desc.fFlags determines - * the type of object returned. If kIsTexture is set the returned object - * will be a GrTexture*. Otherwise, it will be a GrRenderTarget*. If both - * are set the render target object is accessible by - * GrTexture::asRenderTarget(). - * - * GL: if the object is a texture Gr may change its GL texture parameters - * when it is drawn. - * - * @param desc description of the object to create. - * @return either a GrTexture* or GrRenderTarget* depending on desc. NULL - * on failure. - */ - GrResource* createPlatformSurface(const GrPlatformSurfaceDesc& desc); - /////////////////////////////////////////////////////////////////////////// // Matrix state |