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

Issue 1132133004: Share backing canvases between browser compositors. (Closed)

Created:
5 years, 7 months ago by jbauman
Modified:
5 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Share backing canvases between browser compositors. The software compositor's canvas is only used between BeginPaint and EndPaint. Those happen consecutively for a compositor, so we can share a single buffer to back multiple canvases, one per compositor. This cuts down on memory used to that necessary to contain just the largest window of the process. Committed: https://crrev.com/8fe39ccf33d9f1a2d785c4deebce4cc7afad7d1e Cr-Commit-Position: refs/heads/master@{#329525}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -27 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.h View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M content/browser/compositor/software_output_device_win.h View 1 2 3 3 chunks +33 lines, -5 lines 0 comments Download
M content/browser/compositor/software_output_device_win.cc View 1 2 3 4 4 chunks +94 lines, -19 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jbauman
5 years, 7 months ago (2015-05-11 22:15:47 UTC) #2
piman
Mostly nits, otherwise LGTM. https://codereview.chromium.org/1132133004/diff/20001/content/browser/compositor/software_output_device_win.cc File content/browser/compositor/software_output_device_win.cc (right): https://codereview.chromium.org/1132133004/diff/20001/content/browser/compositor/software_output_device_win.cc#newcode24 content/browser/compositor/software_output_device_win.cc:24: static SharedMemoryBacking* GetInstance() { nit: ...
5 years, 7 months ago (2015-05-11 23:20:57 UTC) #3
jbauman
On 2015/05/11 23:20:57, piman (Very slow to review) wrote: > Mostly nits, otherwise LGTM. > ...
5 years, 7 months ago (2015-05-12 02:20:29 UTC) #4
piman
lgtm https://codereview.chromium.org/1132133004/diff/60001/content/browser/compositor/software_output_device_win.cc File content/browser/compositor/software_output_device_win.cc (right): https://codereview.chromium.org/1132133004/diff/60001/content/browser/compositor/software_output_device_win.cc#newcode75 content/browser/compositor/software_output_device_win.cc:75: // TODO(skaslev) Remove this when crbug.com/180702 is fixed. ...
5 years, 7 months ago (2015-05-12 03:03:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132133004/80001
5 years, 7 months ago (2015-05-12 22:04:26 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-12 23:02:21 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 23:04:17 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8fe39ccf33d9f1a2d785c4deebce4cc7afad7d1e
Cr-Commit-Position: refs/heads/master@{#329525}

Powered by Google App Engine
This is Rietveld 408576698