diff options
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 231cf23573..f4e5e9b621 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -525,6 +525,14 @@ int GrContext::getMaxRenderTargetSize() const { /////////////////////////////////////////////////////////////////////////////// +GrTexture* GrContext::createPlatformTexture(const GrPlatformTextureDesc& desc) { + return fGpu->createPlatformTexture(desc); +} + +GrRenderTarget* GrContext::createPlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) { + return fGpu->createPlatformRenderTarget(desc); +} + GrResource* GrContext::createPlatformSurface(const GrPlatformSurfaceDesc& desc) { // validate flags here so that GrGpu subclasses don't have to check if (kTexture_GrPlatformSurfaceType == desc.fSurfaceType && |