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

Issue 3549004: Mac: Fix deadlock in the accelerated drawing code. (Closed)

Created:
10 years, 2 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, ben+cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Mac: Fix deadlock in the accelerated drawing code. Also stop the display link thread for background tabs even if --disable-hole-punching is active. BUG=55754 TEST=Go to a page that uses the compositor (e.g. http://webkit.org/blog/386/3d-transforms/), then keep resizing the browser window for ~10 minutes. The browser should stay functional. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60984

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 5 chunks +23 lines, -15 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
Nico
Not the most elegant approach, but can't think of anything better right now. I considered ...
10 years, 2 months ago (2010-09-29 17:45:10 UTC) #1
Nico
(mac compile failure is unrelated)
10 years, 2 months ago (2010-09-29 18:12:36 UTC) #2
Ken Russell (switch to Gerrit)
LGTM. Good work diagnosing this.
10 years, 2 months ago (2010-09-29 20:22:49 UTC) #3
pink (ping after 24hrs)
LGTM with nits. sorry for the late response (perf). http://codereview.chromium.org/3549004/diff/2001/3001 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/3549004/diff/2001/3001#newcode349 chrome/browser/renderer_host/render_widget_host_view_mac.mm:349: ...
10 years, 2 months ago (2010-09-29 21:08:11 UTC) #4
pink (ping after 24hrs)
argh, rietveld ate my previous comment. http://codereview.chromium.org/3549004/diff/2001/3001 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/3549004/diff/2001/3001#newcode291 chrome/browser/renderer_host/render_widget_host_view_mac.mm:291: globalFrameDidChangeCGLLockCount_++; can you ...
10 years, 2 months ago (2010-09-29 21:08:54 UTC) #5
Nico
10 years, 2 months ago (2010-09-29 21:14:02 UTC) #6
addressed in http://codereview.chromium.org/3576004

http://codereview.chromium.org/3549004/diff/2001/3001
File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right):

http://codereview.chromium.org/3549004/diff/2001/3001#newcode349
chrome/browser/renderer_host/render_widget_host_view_mac.mm:349: // If hole
pushing is enabled, inform the window hosing this accelerated view
On 2010/09/29 21:08:11, pink wrote:
> hole pushing or hole punching? hosing or hosting?

freud strikes again

Powered by Google App Engine
This is Rietveld 408576698