diff options
author | 2015-12-08 18:53:44 -0800 | |
---|---|---|
committer | 2015-12-08 18:53:44 -0800 | |
commit | 0671b967eb02d44c8951dc4dc39df09fac15b097 (patch) | |
tree | b03f60a7eefee024cf92361680326eac695c931d /src/gpu/SkGpuDevice.h | |
parent | 55462e5f50f713af731d8c07383c43ec53885d00 (diff) |
Move texture drawing utility method to SkGpuDevice
BUG=skia:4542
Review URL: https://codereview.chromium.org/1506203002
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index 5bf074d120..219b76573b 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -140,6 +140,9 @@ public: static SkImageFilter::Cache* NewImageFilterCache(); + // for debugging purposes only + void drawTexture(GrTexture*, const SkRect& dst, const SkPaint&); + protected: bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) override; bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) override; |