Chromium Code Reviews| Index: include/core/SkSurface.h |
| diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
| index d049d8c04091af757d948bbb6aed397f9702feb6..98ad034940ccf33043aa6f75ece7c8629cd21f6b 100644 |
| --- a/include/core/SkSurface.h |
| +++ b/include/core/SkSurface.h |
| @@ -73,7 +73,8 @@ public: |
| * Return a new surface using the specified render target. |
| */ |
| static SkSurface* NewRenderTargetDirect(GrRenderTarget*, |
| - TextRenderMode trm = kStandard_TextRenderMode); |
| + TextRenderMode trm = kStandard_TextRenderMode, |
| + bool clear = true); |
|
bsalomon
2014/06/26 20:37:29
should be make this a flags bitfield (with only on
|
| /** |
| * Return a new surface whose contents will be drawn to an offscreen |