Chromium Code Reviews| Index: src/gpu/GrDrawTarget.h |
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
| index b1f758a7316daaf620d3fa7a7a90f725d87cdc35..16e9e7155e1494b7a073b43b81ee0e0b41959980 100644 |
| --- a/src/gpu/GrDrawTarget.h |
| +++ b/src/gpu/GrDrawTarget.h |
| @@ -395,8 +395,8 @@ public: |
| * rect is NULL, otherwise just the rect. If canIgnoreRect is set then the entire render target |
| * can be optionally cleared. |
| */ |
| - virtual void clear(const SkIRect* rect, GrColor color, bool canIgnoreRect, |
| - GrRenderTarget* renderTarget) = 0; |
| + void clear(const SkIRect* rect, GrColor color, bool canIgnoreRect, |
| + GrRenderTarget* renderTarget); |
| /** |
| * Discards the contents render target. |
| @@ -855,6 +855,10 @@ private: |
| const float transforms[], PathTransformType, |
| GrPathRendering::FillType, const GrDeviceCoordTexture*) = 0; |
| + virtual void onClear(const SkIRect* rect, GrColor color, bool canIgnoreRect, |
|
robertphillips
2014/11/05 14:22:59
add a space ?
bsalomon
2014/11/05 14:56:47
Done.
|
| + GrRenderTarget* renderTarget) = 0; |
| + |
| + |
| virtual void didAddGpuTraceMarker() = 0; |
| virtual void didRemoveGpuTraceMarker() = 0; |