Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: src/gpu/SkGpuDevice.h

Issue 1459433002: Convert SkGpuDevice::drawTextureAdjuster to SkGpuDevice::drawTextureProducer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove redudant virtual decl Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTextureParamsAdjuster.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 8816589ebf3cc39dac40fcad1433bc1b9a2bd9a6..0c0987ac9f2178ebb861265a1663d4a8b5625f6a 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -22,7 +22,7 @@ struct SkDrawProcs;
struct GrSkDrawProcs;
class GrAccelData;
-class GrTextureAdjuster;
+class GrTextureProducer;
struct GrCachedLayer;
/**
@@ -182,16 +182,6 @@ private:
void prepareDraw(const SkDraw&);
/**
- * Implementation for both drawBitmap and drawBitmapRect.
- */
- void drawBitmapCommon(const SkDraw&,
- const SkBitmap& bitmap,
- const SkRect* srcRectPtr,
- const SkSize* dstSizePtr, // ignored iff srcRectPtr == nullptr
- const SkPaint&,
- SkCanvas::SrcRectConstraint);
-
- /**
* Helper functions called by drawBitmapCommon. By the time these are called the SkDraw's
* matrix, clip, and the device's render target has already been set on GrContext.
*/
@@ -236,24 +226,24 @@ private:
int tileSize,
bool bicubic);
- void drawTextureAdjuster(GrTextureAdjuster* adjuster,
+ void drawTextureProducer(GrTextureProducer*,
bool alphaOnly,
const SkRect* srcRect,
const SkRect* dstRect,
- SkCanvas::SrcRectConstraint constraint,
+ SkCanvas::SrcRectConstraint,
const SkMatrix& viewMatrix,
- const GrClip& clip,
- const SkPaint& paint);
+ const GrClip&,
+ const SkPaint&);
- void drawTextureAdjusterImpl(GrTextureAdjuster*,
+ void drawTextureProducerImpl(GrTextureProducer*,
bool alphaOnly,
const SkRect& clippedSrcRect,
const SkRect& clippedDstRect,
- SkCanvas::SrcRectConstraint constraint,
+ SkCanvas::SrcRectConstraint,
const SkMatrix& viewMatrix,
const SkMatrix& srcToDstMatrix,
- const GrClip& clip,
- const SkPaint& paint);
+ const GrClip&,
+ const SkPaint&);
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
« no previous file with comments | « src/gpu/GrTextureParamsAdjuster.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698