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

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

Issue 2530303002: Use RotateDesktopFrame in DirectX capturer (Closed)
Patch Set: Sync latest changes 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: webrtc/modules/desktop_capture/win/dxgi_texture_mapping.h
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.h b/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.h
index dd3f4074750272e13929f0d6affc203d014f41ab..f6760df6df1f2af444de739bf98c2c7adb46090e 100644
--- a/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.h
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.h
@@ -28,14 +28,13 @@ class DxgiTextureMapping : public DxgiTexture {
public:
// Creates a DxgiTextureMapping instance. Caller must maintain the lifetime
// of input duplication to make sure it outlives this instance.
- DxgiTextureMapping(const DesktopRect& desktop_rect,
+ DxgiTextureMapping(const DesktopSize& desktop_size,
IDXGIOutputDuplication* duplication);
~DxgiTextureMapping() override;
bool CopyFrom(const DXGI_OUTDUPL_FRAME_INFO& frame_info,
- IDXGIResource* resource,
- const DesktopRegion& region) override;
+ IDXGIResource* resource) override;
bool DoRelease() override;
« no previous file with comments | « webrtc/modules/desktop_capture/win/dxgi_texture.cc ('k') | webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698