aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-05 07:17:34 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-05 07:17:34 -0800
commite63ffef6248bd103b5f7827f1e4bc75e47ca9e20 (patch)
tree982e920b3597332f6c653ea848485cbb6e09c71f /include
parentd3b32bf8322877cf263229735aef4f04df5415c4 (diff)
Remove deferred clear from SkGpuDevice
Add combining to GrClearBatch Fix issue with state tracking in GrGLGpu::createTestingOnlyBackendTexture Add tests for clearing GPU SkSurfaces and add tests for GrDrawContext::clear(). Add comment that SkCanvas::flush will resolve the RT in the GPU case. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1658823002 Review URL: https://codereview.chromium.org/1658823002
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 4ad915c641..0df5d0b7e9 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -124,7 +124,9 @@ public:
///////////////////////////////////////////////////////////////////////////
/**
- * Trigger the immediate execution of all pending draw operations.
+ * Trigger the immediate execution of all pending draw operations. For the GPU
+ * backend this will resolve all rendering to the GPU surface backing the
+ * SkSurface that owns this canvas.
*/
void flush();