diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 04:05:54 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 04:05:54 +0000 |
commit | 6ffaaf31e6ed0ba9328d7d01f2ce559047c742ec (patch) | |
tree | 1a60d4e6b1964ae6bf1699b92ad340a73a6b42e2 /cc/cc.gyp | |
parent | b255a8e0e881d0b610743905fda9ac1b894c00cf (diff) | |
download | chromium_src-6ffaaf31e6ed0ba9328d7d01f2ce559047c742ec.zip chromium_src-6ffaaf31e6ed0ba9328d7d01f2ce559047c742ec.tar.gz chromium_src-6ffaaf31e6ed0ba9328d7d01f2ce559047c742ec.tar.bz2 |
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
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r-- | cc/cc.gyp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', |