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

Issue 66013: Fix problems correctly invalidating/repainting when our updated paint rect fo... (Closed)

Created:
11 years, 8 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix problems correctly invalidating/repainting when our updated paint rect for a large area came back while we were repainting a smaller area. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13681

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -20 lines) Patch
M chrome/browser/renderer_host/render_widget_host.h View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 4 4 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 3 4 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 4 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 3 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Peter Kasting
11 years, 8 months ago (2009-04-09 22:51:19 UTC) #1
darin (slow to review)
LGTM http://codereview.chromium.org/66013/diff/1/3 File chrome/browser/renderer_host/render_widget_host_view.h (right): http://codereview.chromium.org/66013/diff/1/3#newcode94 Line 94: // The view should ensure the given ...
11 years, 8 months ago (2009-04-09 23:15:52 UTC) #2
darin (slow to review)
please make sure that the mac and linux guys know to update their views in ...
11 years, 8 months ago (2009-04-09 23:16:13 UTC) #3
Peter Kasting
Changed approach slightly and re-snapshotted. Now instead of invalidating in DidPaintRect() we actually Redraw(), but ...
11 years, 8 months ago (2009-04-09 23:51:16 UTC) #4
darin (slow to review)
i think the original solution is better... http://codereview.chromium.org/66013/diff/2003/2008 File chrome/browser/renderer_host/render_widget_host_view_win.cc (right): http://codereview.chromium.org/66013/diff/2003/2008#newcode403 Line 403: Redraw(redraw_rect); ...
11 years, 8 months ago (2009-04-09 23:54:06 UTC) #5
Peter Kasting
Take 3 uploaded, which is fairly similar to take 1 but with better comments and ...
11 years, 8 months ago (2009-04-10 00:09:45 UTC) #6
darin (slow to review)
LGTM http://codereview.chromium.org/66013/diff/2010/2012 File chrome/browser/renderer_host/render_widget_host_view.h (right): http://codereview.chromium.org/66013/diff/2010/2012#newcode99 Line 99: // events which can cause renderer resizes, ...
11 years, 8 months ago (2009-04-10 06:01:27 UTC) #7
Peter Kasting
Sadly, the DCHECK() that we don't call GetBackingStore() recursively causes numerous test failures on Linux. ...
11 years, 8 months ago (2009-04-10 16:35:52 UTC) #8
darin (slow to review)
http://codereview.chromium.org/66013/diff/2010/2012 File chrome/browser/renderer_host/render_widget_host_view.h (right): http://codereview.chromium.org/66013/diff/2010/2012#newcode99 Line 99: // events which can cause renderer resizes, drag-resizing ...
11 years, 8 months ago (2009-04-10 17:21:35 UTC) #9
Avi (use Gerrit)
11 years, 8 months ago (2009-04-12 18:43:03 UTC) #10
Looks reasonable, though I don't have a machine to test it on right now. Any
indications that the recursive drawing that is caught on Linux happens on the
Mac?

Powered by Google App Engine
This is Rietveld 408576698