summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authorericrk <ericrk@chromium.org>2016-03-18 14:44:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 21:45:56 +0000
commitd72af43d432d9def9ce591b7167c19b7b1581e30 (patch)
tree811d9218dc7488e56e28aec2f29e2a001fe31575 /cc/test
parent6f495a8a85da6d8e34cc649e091033e8a441d846 (diff)
downloadchromium_src-d72af43d432d9def9ce591b7167c19b7b1581e30.zip
chromium_src-d72af43d432d9def9ce591b7167c19b7b1581e30.tar.gz
chromium_src-d72af43d432d9def9ce591b7167c19b7b1581e30.tar.bz2
Add CONTEXT_TYPE_OPENGLES2_PEPPER
Adds a new context type for Pepper GL contexts. This allows us to fine tune driver bug workarounds for pepper vs. non-pepper contexts. Currently used to disable the Intel MSAA blacklist on pepper contexts, as it should be up to the app whether to use MSAA. BUG=527565 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Review URL: https://codereview.chromium.org/1781093002 Cr-Commit-Position: refs/heads/master@{#382097}
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/test_web_graphics_context_3d.h3
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 f497ac4..a913eda 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -350,6 +350,9 @@ class TestWebGraphicsContext3D {
void set_support_texture_half_float_linear(bool support) {
test_capabilities_.gpu.texture_half_float_linear = support;
}
+ void set_msaa_is_slow(bool msaa_is_slow) {
+ test_capabilities_.gpu.msaa_is_slow = msaa_is_slow;
+ }
// When this context is lost, all contexts in its share group are also lost.
void add_share_group_context(TestWebGraphicsContext3D* context3d) {