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

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

Issue 2268093002: [WebRTC] A real ScreenCapturer test (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Resolve review comments Created 4 years, 4 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/dxgi_adapter_duplicator.h
diff --git a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
index be9fd17009782f1f3c9af6514eb1def0f42dbb93..3204dbb6ae4df06ff4202f1133d32f71e9cc5310 100644
--- a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
+++ b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
@@ -15,9 +15,9 @@
#include <vector>
-#include "webrtc/modules/desktop_capture/desktop_frame.h"
#include "webrtc/modules/desktop_capture/desktop_geometry.h"
#include "webrtc/modules/desktop_capture/desktop_region.h"
+#include "webrtc/modules/desktop_capture/shared_desktop_frame.h"
#include "webrtc/modules/desktop_capture/win/d3d_device.h"
#include "webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h"
@@ -46,16 +46,13 @@ class DxgiAdapterDuplicator {
// Sequential calls Duplicate function of all the DxgiOutputDuplicators owned
Jamie 2016/08/26 22:29:10 s/Sequential/Sequentially/
Hzj_jie 2016/08/29 21:57:28 Done.
// by this instance.
- bool Duplicate(Context* context,
- const DesktopFrame* last_frame,
- DesktopFrame* target);
+ bool Duplicate(Context* context, SharedDesktopFrame* target);
// Captures one monitor and writes into target. |monitor_id| should be between
// [0, screen_count()).
bool DuplicateMonitor(Context* context,
int monitor_id,
- const DesktopFrame* last_frame,
- DesktopFrame* target);
+ SharedDesktopFrame* target);
// Returns desktop rect covered by this DxgiAdapterDuplicator.
DesktopRect desktop_rect() const { return desktop_rect_; }

Powered by Google App Engine
This is Rietveld 408576698