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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2772883002: [Chromecast] Fix assert failure + add test in SwapWithBounds path (Closed)
Patch Set: Created 3 years, 9 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 | « cc/output/gl_renderer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index 233c067e65648b1b31c2ff1f0b5c177b57dc53d5..617d09fff2931dfe477d095cfbf67188180eff54 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -314,6 +314,9 @@ class TestWebGraphicsContext3D {
void set_have_post_sub_buffer(bool have) {
test_capabilities_.post_sub_buffer = have;
}
+ void set_have_swap_buffers_with_bounds(bool have) {
+ test_capabilities_.swap_buffers_with_bounds = have;
+ }
void set_have_commit_overlay_planes(bool have) {
test_capabilities_.commit_overlay_planes = have;
}
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698