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

Issue 11026015: Add calls to inform gpu of browser window count (Closed)

Created:
8 years, 2 months ago by DaveMoore
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed test failure #

Patch Set 3 : Add code to update gpu process if restarted #

Patch Set 4 : comments #

Total comments: 4

Patch Set 5 : Reverse check #

Total comments: 2

Patch Set 6 : Send correct window count #

Total comments: 3

Patch Set 7 : Send right window count #

Patch Set 8 : Disable on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -2 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chrome_gpu_util.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chrome_gpu_util.cc View 1 2 3 4 5 6 7 2 chunks +64 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 2 chunks +18 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ccameron
What happens when the GPU process is restarted? We'll need to push the initial # ...
8 years, 2 months ago (2012-10-02 02:06:43 UTC) #1
DaveMoore
I don't think this needs to be chromeos specific as other platforms will have the ...
8 years, 2 months ago (2012-10-03 20:06:55 UTC) #2
piman
Note: do we have a bug filed to clean this up correctly? Worth mentioning somewhere. ...
8 years, 2 months ago (2012-10-03 20:12:05 UTC) #3
ccameron
https://codereview.chromium.org/11026015/diff/16002/chrome/browser/chrome_gpu_util.cc File chrome/browser/chrome_gpu_util.cc (right): https://codereview.chromium.org/11026015/diff/16002/chrome/browser/chrome_gpu_util.cc#newcode47 chrome/browser/chrome_gpu_util.cc:47: if (!installed_) { (!installed_) should be (installed_)
8 years, 2 months ago (2012-10-03 20:16:21 UTC) #4
DaveMoore
https://codereview.chromium.org/11026015/diff/16002/chrome/browser/chrome_gpu_util.cc File chrome/browser/chrome_gpu_util.cc (right): https://codereview.chromium.org/11026015/diff/16002/chrome/browser/chrome_gpu_util.cc#newcode47 chrome/browser/chrome_gpu_util.cc:47: if (!installed_) { On 2012/10/03 20:16:22, ccameron1 wrote: > ...
8 years, 2 months ago (2012-10-03 20:25:00 UTC) #5
ccameron
Sorry, pressed send too soon. To get the right count at init, can we just ...
8 years, 2 months ago (2012-10-03 20:29:59 UTC) #6
piman
On Wed, Oct 3, 2012 at 1:29 PM, <ccameron@chromium.org> wrote: > Sorry, pressed send too ...
8 years, 2 months ago (2012-10-03 20:41:56 UTC) #7
DaveMoore
ccameron1 could talk better to the plan to redo the gpu allocation approach. https://codereview.chromium.org/11026015/diff/16002/content/browser/gpu/gpu_process_host.cc File ...
8 years, 2 months ago (2012-10-03 21:26:54 UTC) #8
ccameron
https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc#newcode453 content/browser/gpu/gpu_process_host.cc:453: GpuDataManagerImpl::GetInstance()->GpuAccessAllowed())); s/GpuAccessAllowed/GetWindowCount/, I think.
8 years, 2 months ago (2012-10-03 22:05:42 UTC) #9
piman
https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc#newcode453 content/browser/gpu/gpu_process_host.cc:453: GpuDataManagerImpl::GetInstance()->GpuAccessAllowed())); On 2012/10/03 22:05:43, ccameron1 wrote: > s/GpuAccessAllowed/GetWindowCount/, I ...
8 years, 2 months ago (2012-10-03 22:10:21 UTC) #10
DaveMoore
https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11026015/diff/23004/content/browser/gpu/gpu_process_host.cc#newcode453 content/browser/gpu/gpu_process_host.cc:453: GpuDataManagerImpl::GetInstance()->GpuAccessAllowed())); Bork Bork. I rushed and get messed up ...
8 years, 2 months ago (2012-10-03 22:52:38 UTC) #11
piman
lgtm
8 years, 2 months ago (2012-10-03 22:53:47 UTC) #12
ccameron
lgtm
8 years, 2 months ago (2012-10-03 22:56:04 UTC) #13
DaveMoore
Ben: OWNER please
8 years, 2 months ago (2012-10-03 23:56:57 UTC) #14
Ben Goodger (Google)
8 years, 2 months ago (2012-10-04 16:01:22 UTC) #15
lgtm

Powered by Google App Engine
This is Rietveld 408576698