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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 1489153002: DirectRenderer allows empty swap rects for CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman's comment Created 5 years 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
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 8fa4496845df301c8b94385b7ef3b9862f074d01..4e6d76115ea75deebe1eb08236ed68debac3a8bf 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_.gpu.post_sub_buffer = have;
}
+ void set_have_commit_overlay_planes(bool have) {
+ test_capabilities_.gpu.commit_overlay_planes = have;
+ }
void set_have_discard_framebuffer(bool have) {
test_capabilities_.gpu.discard_framebuffer = have;
}

Powered by Google App Engine
This is Rietveld 408576698