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

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

Issue 2442193002: Removing gpu::SyncToken usage from video capture pipeline, part 1.
Patch Set: Removing gpu::SyncToken usage from video capture pipeline, part 1. Created 4 years, 1 month 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
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 7625952907a0903f5ba72a426d990889318f0dcf..812e3e1e2e8ff0f8c62504c7e3e0673068f6bb00 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -114,8 +114,7 @@ class CONTENT_EXPORT VideoCaptureImpl
using ClientInfoMap = std::map<int, ClientInfo>;
using BufferFinishedCallback =
- base::Callback<void(const gpu::SyncToken& sync_token,
- double consumer_resource_utilization)>;
+ base::Callback<void(double consumer_resource_utilization)>;
// VideoCaptureMessageFilter::Delegate interface implementation.
void OnBufferCreated(base::SharedMemoryHandle handle,
@@ -138,7 +137,6 @@ class CONTENT_EXPORT VideoCaptureImpl
// buffer.
void OnClientBufferFinished(int buffer_id,
const scoped_refptr<ClientBuffer>& buffer,
- const gpu::SyncToken& release_sync_token,
double consumer_resource_utilization);
void StopDevice();
@@ -163,7 +161,6 @@ class CONTENT_EXPORT VideoCaptureImpl
// callback, to trampoline back to the IO thread with the values.
static void DidFinishConsumingFrame(
const media::VideoFrameMetadata* metadata,
- std::unique_ptr<gpu::SyncToken> release_sync_token,
const BufferFinishedCallback& callback_to_io_thread);
const scoped_refptr<VideoCaptureMessageFilter> message_filter_;

Powered by Google App Engine
This is Rietveld 408576698