diff options
author | danakj <danakj@chromium.org> | 2014-10-29 09:36:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 16:36:38 +0000 |
commit | 8ab49ba60a93c60bf3fc6c70cb4b08025135ea76 (patch) | |
tree | 7a59aca792fcef5c4571da5e90776cef3c191be3 | |
parent | 48dc31eda92f7c08eb9d8689a582566bdf69b4e2 (diff) | |
download | chromium_src-8ab49ba60a93c60bf3fc6c70cb4b08025135ea76.zip chromium_src-8ab49ba60a93c60bf3fc6c70cb4b08025135ea76.tar.gz chromium_src-8ab49ba60a93c60bf3fc6c70cb4b08025135ea76.tar.bz2 |
Add setter for test_capabilities_.gpu.image in TestWebGraphicsContext3D.
R=reveman
BUG=428071
Review URL: https://codereview.chromium.org/690453003
Cr-Commit-Position: refs/heads/master@{#301856}
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index eda6f0f..ff2c704 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -327,6 +327,9 @@ class TestWebGraphicsContext3D { void set_support_sync_query(bool support) { test_capabilities_.gpu.sync_query = support; } + void set_support_image(bool support) { + test_capabilities_.gpu.image = support; + } // When this context is lost, all contexts in its share group are also lost. void add_share_group_context(TestWebGraphicsContext3D* context3d) { |