aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/SkGpuDevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index 558468ca3e..a1d00ba35c 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -144,7 +144,9 @@ private:
SkDrawProcs* initDrawForText(GrTextContext*);
bool bindDeviceAsTexture(GrPaint* paint);
- void prepareDraw(const SkDraw&); // sets the render target, clip, and matrix on GrContext.
+ // sets the render target, clip, and matrix on GrContext. Use forceIdenity to override
+ // SkDraw's matrix and draw in device coords.
+ void prepareDraw(const SkDraw&, bool forceIdentity);
/**
* Implementation for both drawBitmap and drawBitmapRect.