Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: src/gpu/GrDrawTarget.h

Issue 2233043002: Add a full clear method to GrDrawTarget. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: include order Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 6149e922cb422ee98e11abe1ddef29a726569280..60a1ec908cb4dc95208f699517cd6e6d1fb36c74 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -121,6 +121,9 @@ public:
const SkMatrix& viewMatrix,
const GrPath*);
+ /** Clears the entire render target */
+ void fullClear(GrRenderTarget*, GrColor color);
+
/** Discards the contents render target. */
void discard(GrRenderTarget*);
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698