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

Issue 2743233002: Ignore unmoved moved_rects in DxgiOutputDuplicator (Closed)

Created:
3 years, 9 months ago by Hzj_jie
Modified:
3 years, 9 months ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Ignore unmoved moved_rects in DxgiOutputDuplicator I cannot even imagine this change is useful. But it consistently reduces average capture time by 0.375% (4.07 -> 4.055), and average encode time by 0.313% (8.042 -> 8.016) without other impacts. Considering this is a one-line change, it's worthy to be added. BUG=679523 Review-Url: https://codereview.webrtc.org/2743233002 Cr-Commit-Position: refs/heads/master@{#17235} Committed: https://chromium.googlesource.com/external/webrtc/+/bc935b4c495173c48bd74882b1350bb6f5fd1c36

Patch Set 1 #

Total comments: 2

Patch Set 2 : More comments and log all unmoved move_rects. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -14 lines) Patch
M webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc View 1 1 chunk +29 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
Hzj_jie
3 years, 9 months ago (2017-03-12 22:51:21 UTC) #8
Sergey Ulanov
lgtm https://codereview.webrtc.org/2743233002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2743233002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode291 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:291: if (move_rects->SourcePoint.x != move_rects->DestinationRect.left || Do you know ...
3 years, 9 months ago (2017-03-14 19:47:28 UTC) #10
Hzj_jie
https://codereview.webrtc.org/2743233002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2743233002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode291 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:291: if (move_rects->SourcePoint.x != move_rects->DestinationRect.left || On 2017/03/14 19:47:27, Sergey ...
3 years, 9 months ago (2017-03-14 23:22:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2743233002/20001
3 years, 9 months ago (2017-03-15 00:25:43 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 00:28:03 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/bc935b4c495173c48bd74882b...

Powered by Google App Engine
This is Rietveld 408576698