| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index 5b26ff5d5695ed3f7e447b1470deb22dea1db865..6b3d4637ccf08a55d556bc30cf907c1770fcc3ed 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -438,6 +438,12 @@ public:
|
| GrRenderTarget* renderTarget = NULL) = 0;
|
|
|
| /**
|
| + * Discards the contents render target. NULL indicates that the current render target should
|
| + * be discarded.
|
| + **/
|
| + virtual void discard(GrRenderTarget* = NULL) = 0;
|
| +
|
| + /**
|
| * Called at start and end of gpu trace marking
|
| * GR_CREATE_GPU_TRACE_MARKER(marker_str, target) will automatically call these at the start
|
| * and end of a code block respectively
|
|
|