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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2743663006: Allow switching DirectCompositionSurfaceWin between drawing modes. (Closed)
Patch Set: rebase 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/software_renderer.cc ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | 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 c16db55be94626b7946ef93046ca9f487e2d9fcd..233c067e65648b1b31c2ff1f0b5c177b57dc53d5 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -347,8 +347,8 @@ class TestWebGraphicsContext3D {
void set_gpu_rasterization(bool gpu_rasterization) {
test_capabilities_.gpu_rasterization = gpu_rasterization;
}
- void set_support_set_draw_rectangle(bool support) {
- test_capabilities_.set_draw_rectangle = support;
+ void set_enable_dc_layers(bool support) {
+ test_capabilities_.dc_layers = support;
}
// When this context is lost, all contexts in its share group are also lost.
« no previous file with comments | « cc/output/software_renderer.cc ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698