History log of /external/chromium_org/gpu/command_buffer/service/stream_texture_manager.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b17bbf2f0f3441ae7ec7478ff8f77cb8fb21bcb8 22-Aug-2013 Jonathan Dixon <joth@google.com> Patch in https://codereview.chromium.org/23234003

Bug: 9982214

Took un-submitted patchset 5
https://codereview.chromium.org/download/issue23234003_29001.diff

Applied cleanly to klp-dev + crrev.com/23072008

Original description:

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

Change-Id: I2a5e86ed580af0c4659583f4deda96a51fd5ba0c
/external/chromium_org/gpu/command_buffer/service/stream_texture_manager.h
5821806d5e7f356e8fa4b058a389a808ea183019 14-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge from Chromium at DEPS revision r167172

This commit was generated by merge_to_master.py.

Change-Id: Ib8d56fd5ae39a2d7e8c91dcd76cc6d13f25f2aab
/external/chromium_org/gpu/command_buffer/service/stream_texture_manager.h