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

Unified Diff: webrtc/modules/desktop_capture/win/dxgi_texture_staging.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_staging.h
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h
index 47f75fa8c13c362c7ebab26b1b6f2be563d2bbbf..3bdf30e21584b78c6dbbf3fc1aee54a60d3d2b71 100644
--- a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h
@@ -33,15 +33,14 @@ class DxgiTextureStaging : public DxgiTexture {
public:
// Creates a DxgiTextureStaging instance. Caller must maintain the lifetime
// of input device to make sure it outlives this instance.
- DxgiTextureStaging(const DesktopRect& desktop_rect, const D3dDevice& device);
+ DxgiTextureStaging(const DesktopSize& desktop_size, const D3dDevice& device);
~DxgiTextureStaging() override;
// Copies selected regions of a frame represented by frame_info and resource.
// Returns false if anything wrong.
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_mapping.cc ('k') | webrtc/modules/desktop_capture/win/dxgi_texture_staging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698