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

Issue 100923002: Revert 225751 "BitmapContentLayerUpdater shouldn't reallocate bi..." (Closed)

Created:
7 years ago by jbauman
Modified:
7 years ago
Reviewers:
jbauman
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 225751 "BitmapContentLayerUpdater shouldn't reallocate bi..." > BitmapContentLayerUpdater shouldn't reallocate bitmap smaller. > > BitmapContentLayerUpdater was always allocating a new bitmap if the size of the region to be drawn changed, even if the new region was smaller. These unnecessary reallocations can be very expensive because they require page faults and for the operating system to clear out the memory. > > BUG=296423 > R=ben@chromium.org, enne@chromium.org, vangelis@chromium.org > > Review URL: https://codereview.chromium.org/24486002 BUG=296423, 321937 TBR=jbauman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238280

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -20 lines) Patch
M trunk/src/cc/resources/bitmap_content_layer_updater.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M trunk/src/cc/resources/content_layer_updater.h View 1 chunk +1 line, -1 line 0 comments Download
M trunk/src/cc/resources/content_layer_updater.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M trunk/src/cc/resources/skpicture_content_layer_updater.cc View 1 chunk +1 line, -1 line 0 comments Download
M trunk/src/ui/compositor/layer_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jbauman
7 years ago (2013-12-03 02:35:05 UTC) #1
jbauman
7 years ago (2013-12-03 02:35:26 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r238280.

Powered by Google App Engine
This is Rietveld 408576698