зеркало из https://github.com/mozilla/moz-skia.git
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:
Родитель
744820e657
Коммит
92435a4364
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче