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

Issue 14846015: Update IOSurface scale factor before compare (Closed)

Created:
7 years, 7 months ago by ccameron
Modified:
7 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, sail+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, apatrick_chromium, James Su
Visibility:
Public.

Description

Update device scale factor for the IOSurface before checking if there is a match. When initially created, the IOSurface is unaware of its scale factor, which can result in compatible IOSurfaces not being used BUG=237293 NOTRY=true TEST=follow instructions on http://crbug.com237293, on a retina Mac Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198785

Patch Set 1 #

Patch Set 2 : Remove blue flash fix #

Patch Set 3 : Update comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -8 lines) Patch
M content/browser/renderer_host/compositing_iosurface_mac.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/compositing_iosurface_mac.mm View 3 chunks +12 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 1 chunk +9 lines, -0 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
ccameron
Ptal. I have a more involved fix in the works which make the CompositingIOSurface not ...
7 years, 7 months ago (2013-05-07 18:45:18 UTC) #1
Ken Russell (switch to Gerrit)
LGTM as far as I can see from code inspection, but in code like this, ...
7 years, 7 months ago (2013-05-07 19:23:51 UTC) #2
ccameron
Thanks!! https://codereview.chromium.org/14846015/diff/4001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/14846015/diff/4001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1337 content/browser/renderer_host/render_widget_host_view_mac.mm:1337: compositing_iosurface_->SetDeviceScaleFactor(ScaleFactor(cocoa_view_)); On 2013/05/07 19:23:51, kbr wrote: > It ...
7 years, 7 months ago (2013-05-07 19:27:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/14846015/4001
7 years, 7 months ago (2013-05-07 19:27:54 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=125185
7 years, 7 months ago (2013-05-07 19:49:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/14846015/4001
7 years, 7 months ago (2013-05-07 20:05:12 UTC) #6
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 20:05:23 UTC) #7
Message was sent while issue was closed.
Change committed as 198785

Powered by Google App Engine
This is Rietveld 408576698