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

Issue 7982037: Fix Chromoting Mac to work with multiple monitors. (Closed)

Created:
9 years, 3 months ago by dmac
Modified:
9 years, 3 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix Chromoting Mac to work with multiple monitors. BUG=96742 TEST=See bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102190

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -21 lines) Patch
M remoting/host/capturer_mac.cc View 3 chunks +24 lines, -21 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dmac
PTAL. Stupidly simple once I knew where to look.
9 years, 3 months ago (2011-09-21 20:22:50 UTC) #1
Jamie
Reminds me of the old story of an itemized bill from an engineer: "Tightening a ...
9 years, 3 months ago (2011-09-21 20:27:44 UTC) #2
commit-bot: I haz the power
Change committed as 102190
9 years, 3 months ago (2011-09-21 23:15:05 UTC) #3
Wez
How does this CL fix the multi-monitor case? It looks to be fixing the blit ...
9 years, 3 months ago (2011-09-22 10:41:18 UTC) #4
dmaclach1
9 years, 3 months ago (2011-09-22 14:39:25 UTC) #5
Turns out that intersect on skia rectangles doesn't quite do what you expect.

if you have rect x and rect y and you call x.intersect(y), x will be
set to the intersection of x and y IFF there is an intersection.
Otherwise it leaves x alone and returns false. so if x (our copy area)
did not intersect at all with y (our clip area) at all, we were still
trying to copy it, it just didn't get clipped.

Cheers,
Dave

On Thu, Sep 22, 2011 at 03:41,  <wez@chromium.org> wrote:
> How does this CL fix the multi-monitor case?
>
> It looks to be fixing the blit routines to not try to blit empty rectangles
> from
> the old buffer to the new?
>
>
> http://codereview.chromium.org/7982037/
>

Powered by Google App Engine
This is Rietveld 408576698