From 12c99ab07047534e4e1abbc49890c92e0d86db2c Mon Sep 17 00:00:00 2001 From: "reveman@chromium.org" Date: Tue, 22 Apr 2014 10:12:35 +0000 Subject: cc: Use CHROMIUM_sync_query for CopyResource. Use COMMANDS_COMPLETED queries instead of making the assumption that it's safe to access the source resource once the command has been processed on the service side. BUG=269808 Review URL: https://codereview.chromium.org/245753003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265220 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/test_web_graphics_context_3d.h | 3 +++ 1 file changed, 3 insertions(+) (limited to '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 39f8767..56ffc85 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -301,6 +301,9 @@ class TestWebGraphicsContext3D { void set_support_texture_storage(bool support) { test_capabilities_.gpu.texture_storage = support; } + void set_support_sync_query(bool support) { + test_capabilities_.gpu.sync_query = support; + } // When this context is lost, all contexts in its share group are also lost. void add_share_group_context(TestWebGraphicsContext3D* context3d) { -- cgit v1.1