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

Side by Side Diff: content/browser/renderer_host/media/video_capture_controller.cc

Issue 1802383002: Move gl_helper to content/browser/compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/media/video_capture_controller.h" 5 #include "content/browser/renderer_host/media/video_capture_controller.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/metrics/sparse_histogram.h" 16 #include "base/metrics/sparse_histogram.h"
17 #include "base/stl_util.h" 17 #include "base/stl_util.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "content/browser/compositor/gl_helper.h"
19 #include "content/browser/renderer_host/media/media_stream_manager.h" 20 #include "content/browser/renderer_host/media/media_stream_manager.h"
20 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" 21 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h"
21 #include "content/browser/renderer_host/media/video_capture_device_client.h" 22 #include "content/browser/renderer_host/media/video_capture_device_client.h"
22 #include "content/browser/renderer_host/media/video_capture_manager.h" 23 #include "content/browser/renderer_host/media/video_capture_manager.h"
23 #include "content/common/gpu/client/gl_helper.h"
24 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
25 #include "content/public/common/content_switches.h" 25 #include "content/public/common/content_switches.h"
26 #include "media/base/video_frame.h" 26 #include "media/base/video_frame.h"
27 27
28 #if !defined(OS_ANDROID) 28 #if !defined(OS_ANDROID)
29 #include "content/browser/compositor/image_transport_factory.h" 29 #include "content/browser/compositor/image_transport_factory.h"
30 #endif 30 #endif
31 31
32 using media::VideoCaptureFormat; 32 using media::VideoCaptureFormat;
33 using media::VideoFrame; 33 using media::VideoFrame;
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 int session_id, 506 int session_id,
507 const ControllerClients& clients) { 507 const ControllerClients& clients) {
508 for (auto client : clients) { 508 for (auto client : clients) {
509 if (client->session_id == session_id) 509 if (client->session_id == session_id)
510 return client; 510 return client;
511 } 511 }
512 return NULL; 512 return NULL;
513 } 513 }
514 514
515 } // namespace content 515 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698