From 6ffaaf31e6ed0ba9328d7d01f2ce559047c742ec Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Tue, 22 Oct 2013 04:05:54 +0000 Subject: Expose Signal(Query|SyncPoint) via gpu::ContextSupport* instead of WGC3D This exposes calls to register queries and sync points with callbacks by a new gpu::ContextSupport interface intended to be used directly by clients who need this functionality like the compositor instead of having to go through WebKit::WebGraphicsContext3D. These calls aren't 'proper' OpenGL as OpenGL doesn't have any notion of callbacks, but are still useful with our OpenGL implementation. This also unifies the multiple implementations of these functions a bit. In particular, now both the in-process and out-of-process contexts check if the context is lost before dispatching SyncPoint/Query callbacks. Previously only the in-process implementation did this. R=piman,sievers BUG=181120 Review URL: https://codereview.chromium.org/26164003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230043 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/cc.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/cc.gyp') diff --git a/cc/cc.gyp b/cc/cc.gyp index 399761b..df268ee 100644 --- a/cc/cc.gyp +++ b/cc/cc.gyp @@ -101,6 +101,8 @@ 'debug/ring_buffer.h', 'debug/test_context_provider.cc', 'debug/test_context_provider.h', + 'debug/test_context_support.cc', + 'debug/test_context_support.h', 'debug/test_texture.cc', 'debug/test_texture.h', 'debug/test_web_graphics_context_3d.cc', @@ -362,8 +364,6 @@ 'resources/single_release_callback.h', 'resources/skpicture_content_layer_updater.cc', 'resources/skpicture_content_layer_updater.h', - 'resources/sync_point_helper.cc', - 'resources/sync_point_helper.h', 'resources/texture_mailbox.cc', 'resources/texture_mailbox.h', 'resources/texture_mailbox_deleter.cc', -- cgit v1.1