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

Unified Diff: content/browser/renderer_host/media/video_capture_controller.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/browser/renderer_host/media/video_capture_controller.h
diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h
index 25c826bbc115ee717462be5c90eb6e6ec7cdff34..d3bfcc9dc39167c06b3cbfb5275641ff52e61ca0 100644
--- a/content/browser/renderer_host/media/video_capture_controller.h
+++ b/content/browser/renderer_host/media/video_capture_controller.h
@@ -113,15 +113,12 @@ class CONTENT_EXPORT VideoCaptureController : public media::VideoFrameReceiver {
void StopSession(int session_id);
// Return a buffer with id |buffer_id| previously given in
- // VideoCaptureControllerEventHandler::OnBufferReady. In the case that the
- // buffer was backed by a texture, |sync_token| will be waited on before
- // destroying or recycling the texture, to synchronize with texture users in
- // the renderer process. If the consumer provided resource utilization
+ // VideoCaptureControllerEventHandler::OnBufferReady.
+ // If the consumer provided resource utilization
emircan 2016/11/09 22:14:38 nit: Can you fix the alignment here? // Return a
// feedback, this will be passed here (-1.0 indicates no feedback).
void ReturnBuffer(VideoCaptureControllerID id,
VideoCaptureControllerEventHandler* event_handler,
int buffer_id,
- const gpu::SyncToken& sync_token,
double consumer_resource_utilization);
const media::VideoCaptureFormat& GetVideoCaptureFormat() const;

Powered by Google App Engine
This is Rietveld 408576698