From 0b96a84ca1c5168363ac8ce7a500bf5850870ad2 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 13 Jul 2011 21:53:49 +0000 Subject: Remove unused SkGpuDevice functions, add GrRenderTarget handle getters Code Review: http://codereview.appspot.com/4718041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1854 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/SkGpuDevice.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/gpu') diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index f0e7d612f8..eaf88b02bb 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -258,14 +258,6 @@ SkGpuDevice::~SkGpuDevice() { fContext->unref(); } -intptr_t SkGpuDevice::getLayerTextureHandle() const { - if (fTexture) { - return fTexture->getTextureHandle(); - } else { - return 0; - } -} - /////////////////////////////////////////////////////////////////////////////// void SkGpuDevice::makeRenderTargetCurrent() { -- cgit v1.2.3