Commit SkGpuDevice.h which was omitted from r5918 for some reason.
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 12 Oct 2012 15:01:38 +0000 (15:01 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 12 Oct 2012 15:01:38 +0000 (15:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5919 2bbb7eff-a529-9590-31e7-b0007b416f81

include/gpu/SkGpuDevice.h

index 558468c..a1d00ba 100644 (file)
@@ -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.