diff options
author | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-30 01:32:28 +0000 |
---|---|---|
committer | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-30 01:32:28 +0000 |
commit | b32b0a49291f1ad51fc1bb190293c5836aa6c4e9 (patch) | |
tree | 9d9263665f46b719eebbb6f314f89ac39d3699ec /cc/test/render_pass_test_utils.h | |
parent | 5411d8200526d098042844fbea9871ed17c7f1d7 (diff) | |
download | chromium_src-b32b0a49291f1ad51fc1bb190293c5836aa6c4e9.zip chromium_src-b32b0a49291f1ad51fc1bb190293c5836aa6c4e9.tar.gz chromium_src-b32b0a49291f1ad51fc1bb190293c5836aa6c4e9.tar.bz2 |
Fixes a bug when the framebuffer is cleared with invalid scissor rect.
BUG=170305
Review URL: https://chromiumcodereview.appspot.com/12036091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_utils.h')
-rw-r--r-- | cc/test/render_pass_test_utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/render_pass_test_utils.h b/cc/test/render_pass_test_utils.h index b4d8dba..d9c2c91 100644 --- a/cc/test/render_pass_test_utils.h +++ b/cc/test/render_pass_test_utils.h @@ -32,6 +32,11 @@ SolidColorDrawQuad* addQuad(TestRenderPass* pass, const gfx::Rect& rect, SkColor color); +// Adds a solid quad to a given render pass and sets is_clipped=true. +SolidColorDrawQuad* addClippedQuad(TestRenderPass* pass, + const gfx::Rect& rect, + SkColor color); + // Adds a render pass quad to an existing render pass. void addRenderPassQuad(TestRenderPass* toPass, TestRenderPass* contributingPass); |