Fix GPU-less build. Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@7276 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2013-01-18 17:32:50 +00:00
Родитель 744820e657
Коммит 92435a4364
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -9,6 +9,7 @@
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkFlattenableBuffers.h"
#include "SkMatrix.h"
#include "SkRect.h"
#include "SkUnPreMultiply.h"
@ -147,6 +148,8 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy,
///////////////////////////////////////////////////////////////////////////////
#if SK_SUPPORT_GPU
class GrGLBicubicEffect;
class GrBicubicEffect : public GrSingleTextureEffect {
@ -333,7 +336,6 @@ GrEffectRef* GrBicubicEffect::TestCreate(SkRandom* random,
return GrBicubicEffect::Create(textures[texIdx], coefficients);
}
#if SK_SUPPORT_GPU
GrTexture* SkBicubicImageFilter::filterImageGPU(Proxy* proxy, GrTexture* src, const SkRect& rect) {
SkAutoTUnref<GrTexture> srcTexture(this->getInputResultAsTexture(proxy, src, rect));
GrContext* context = srcTexture->getContext();