aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureImageGenerator.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-10-15 12:14:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-15 12:14:55 -0700
commit5f5527fb46664297fbeb575033886a757eb44147 (patch)
tree3370bdc9bc9b765d2817b4d25b1a9d9b22f0b632 /src/core/SkPictureImageGenerator.cpp
parent41c054eeb0109c35cadaa90c546cbf954edcb3fe (diff)
Remove params from Cacherator_GrTextureMaker
Diffstat (limited to 'src/core/SkPictureImageGenerator.cpp')
-rw-r--r--src/core/SkPictureImageGenerator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/SkPictureImageGenerator.cpp b/src/core/SkPictureImageGenerator.cpp
index a27291f1a8..556015d99e 100644
--- a/src/core/SkPictureImageGenerator.cpp
+++ b/src/core/SkPictureImageGenerator.cpp
@@ -22,7 +22,7 @@ protected:
bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[],
int* ctableCount) override;
#if SK_SUPPORT_GPU
- GrTexture* onGenerateTexture(GrContext*, const GrTextureParams&, const SkIRect*) override;
+ GrTexture* onGenerateTexture(GrContext*, const SkIRect*) override;
#endif
private:
@@ -88,8 +88,7 @@ SkImageGenerator* SkImageGenerator::NewFromPicture(const SkISize& size, const Sk
#if SK_SUPPORT_GPU
#include "GrTexture.h"
-GrTexture* SkPictureImageGenerator::onGenerateTexture(GrContext* ctx, const GrTextureParams&,
- const SkIRect* subset) {
+GrTexture* SkPictureImageGenerator::onGenerateTexture(GrContext* ctx, const SkIRect* subset) {
const SkImageInfo& info = this->getInfo();
SkImageInfo surfaceInfo = subset ? info.makeWH(subset->width(), subset->height()) : info;