summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer_service.gypi
diff options
context:
space:
mode:
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 18:54:08 +0000
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 18:54:08 +0000
commit3a59bb92550acf8bf455007bb482f573a05d9448 (patch)
treeadfb58aacf28aa0a4f4bde2e59df1839d89d4e34 /gpu/command_buffer_service.gypi
parentb7d060862667150a87fc90939d79aec35a2c0c01 (diff)
downloadchromium_src-3a59bb92550acf8bf455007bb482f573a05d9448.zip
chromium_src-3a59bb92550acf8bf455007bb482f573a05d9448.tar.gz
chromium_src-3a59bb92550acf8bf455007bb482f573a05d9448.tar.bz2
Support stream textures with the synchronous compositor
This adds a thread-safe StreamTextureManager for GLInProcessContext. It further adds some plumbing for the webkit thread to be able to create a StreamTextureFactory from the main thread (see render_view_impl.cc) with the ability to extract the thread-safe SurfaceTexture(Bridge) for a given stream. This is nothing but a crazy amount of plumbing to achieve this: - StreamTexture::Update() i.e. SurfaceTexture::updateTexImage needs to happen on the GL thread with a current context - The StreamTextureFactory and Proxy are referenced from the WebmediaPlayer instance which lives on the main thread - The callback for invalidating the video is posted to the compositor thread directly (here: UI thread) bypassing the main thread BUG=239760 NOTRY=True Review URL: https://chromiumcodereview.appspot.com/23234003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer_service.gypi')
-rw-r--r--gpu/command_buffer_service.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi
index d9408b6..9c9c3f7 100644
--- a/gpu/command_buffer_service.gypi
+++ b/gpu/command_buffer_service.gypi
@@ -116,6 +116,8 @@
'command_buffer/service/shader_translator_cache.cc',
'command_buffer/service/stream_texture.h',
'command_buffer/service/stream_texture_manager.h',
+ 'command_buffer/service/stream_texture_manager_in_process_android.h',
+ 'command_buffer/service/stream_texture_manager_in_process_android.cc',
'command_buffer/service/texture_manager.h',
'command_buffer/service/texture_manager.cc',
'command_buffer/service/transfer_buffer_manager.cc',