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

Unified Diff: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h

Issue 2433503002: Remove DesktopRegion parameter from DesktopCapturer::Capture (Closed)
Patch Set: Created 4 years, 2 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
Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
index 2427ec4c5f00ba0984d05c6e519e8ff8bebfe97c..7f961cfbc881d405206dc2cef967d662dfcd657d 100644
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
@@ -24,8 +24,7 @@
namespace webrtc {
-// ScreenCapturerWinDirectx captures 32bit RGBA using DirectX. This
-// implementation won't work when ScreenCaptureFrameQueue.kQueueLength is not 2.
+// ScreenCapturerWinDirectx captures 32bit RGBA using DirectX.
class ScreenCapturerWinDirectx : public ScreenCapturer {
public:
// Whether the system supports DirectX based capturing.
@@ -38,7 +37,7 @@ class ScreenCapturerWinDirectx : public ScreenCapturer {
void Start(Callback* callback) override;
void SetSharedMemoryFactory(
std::unique_ptr<SharedMemoryFactory> shared_memory_factory) override;
- void CaptureFrame() override;
+ void Capture() override;
bool GetScreenList(ScreenList* screens) override;
bool SelectScreen(ScreenId id) override;

Powered by Google App Engine
This is Rietveld 408576698