Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: content/renderer/media/video_capture_impl.h

Issue 83793004: Implement IPCs and VideoCapture::Client interfaces for texture capture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: e296ac98 Win32 bits. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl.h
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index 278355a395eeff3c2487827a047d496e3b884703..b00b9a0ab3ff2e3a5e70befde19210cb85813ff1 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -40,7 +40,11 @@
namespace base {
class MessageLoopProxy;
-}
+} // namespace base
+
+namespace gpu {
+struct MailboxHolder;
+} // namespace gpu
namespace content {
@@ -99,10 +103,13 @@ class CONTENT_EXPORT VideoCaptureImpl
int length,
int buffer_id) OVERRIDE;
virtual void OnBufferDestroyed(int buffer_id) OVERRIDE;
- virtual void OnBufferReceived(
- int buffer_id,
- base::TimeTicks timestamp,
- const media::VideoCaptureFormat& format) OVERRIDE;
+ virtual void OnBufferReceived(int buffer_id,
+ const media::VideoCaptureFormat& format,
+ base::TimeTicks) OVERRIDE;
+ virtual void OnMailboxBufferReceived(int buffer_id,
+ const gpu::MailboxHolder& mailbox_holder,
+ const media::VideoCaptureFormat& format,
+ base::TimeTicks timestamp) OVERRIDE;
virtual void OnStateChanged(VideoCaptureState state) OVERRIDE;
virtual void OnDeviceSupportedFormatsEnumerated(
const media::VideoCaptureFormats& supported_formats) OVERRIDE;
@@ -112,9 +119,9 @@ class CONTENT_EXPORT VideoCaptureImpl
// Sends an IPC message to browser process when all clients are done with the
// buffer.
- void OnClientBufferFinished(
- int buffer_id,
- const scoped_refptr<ClientBuffer>& buffer);
+ void OnClientBufferFinished(int buffer_id,
+ const scoped_refptr<ClientBuffer>& buffer,
+ scoped_ptr<gpu::MailboxHolder> mailbox_holder);
void StopDevice();
void RestartCapture();
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698