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

Issue 10831343: GPU: call CollectGraphicsinfo() for warming up the sandbox on Linux. (Closed)

Created:
8 years, 4 months ago by jln (very slow on Chromium)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, Ken Russell (switch to Gerrit), piman, cevans, Jorge Lucangeli Obes
Visibility:
Public.

Description

GPU: call CreateGLContext() to warm up the sandbox on Linux. We refactor the sandbox warmup code in a new WarmUpSandbox() function. We call CreateGLContext() as part of the warm-up for Nvidia drivers. BUG=140214 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152012

Patch Set 1 : #

Patch Set 2 : Move remaining WarmUp decision inside the WarmUp function. #

Total comments: 2

Patch Set 3 : Call CreateGLContext directly from warmup function. #

Patch Set 4 : Also call MakeCurrent to open nvidia0. #

Total comments: 2

Patch Set 5 : Create a CreateDummyGlContext function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -39 lines) Patch
M content/gpu/gpu_main.cc View 1 2 3 4 7 chunks +105 lines, -39 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jln (very slow on Chromium)
Please, let me know if I should split the WarmUp refactor part of this CL ...
8 years, 4 months ago (2012-08-16 00:33:02 UTC) #1
Ken Russell (switch to Gerrit)
https://chromiumcodereview.appspot.com/10831343/diff/8001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/10831343/diff/8001/content/gpu/gpu_main.cc#newcode245 content/gpu/gpu_main.cc:245: CollectGraphicsInfo(gpu_info); I think you should be more explicit about ...
8 years, 4 months ago (2012-08-16 00:45:54 UTC) #2
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10831343/diff/8001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/10831343/diff/8001/content/gpu/gpu_main.cc#newcode245 content/gpu/gpu_main.cc:245: CollectGraphicsInfo(gpu_info); On 2012/08/16 00:45:54, kbr wrote: > I think ...
8 years, 4 months ago (2012-08-16 00:52:52 UTC) #3
Zhenyao Mo
Agree with Ken, calling CreateGLContext in WarmUp is more clear/readable, even though it's not much ...
8 years, 4 months ago (2012-08-16 00:53:47 UTC) #4
jln (very slow on Chromium)
On Wed, Aug 15, 2012 at 5:53 PM, <zmo@chromium.org> wrote: > Agree with Ken, calling ...
8 years, 4 months ago (2012-08-16 00:59:38 UTC) #5
jln (very slow on Chromium)
On 2012/08/16 00:59:38, Julien Tinnes wrote: > On Wed, Aug 15, 2012 at 5:53 PM, ...
8 years, 4 months ago (2012-08-16 01:21:38 UTC) #6
jln (very slow on Chromium)
On 2012/08/16 01:21:38, Julien Tinnes wrote: > On 2012/08/16 00:59:38, Julien Tinnes wrote: > > ...
8 years, 4 months ago (2012-08-16 01:48:17 UTC) #7
jln (very slow on Chromium)
On 2012/08/16 01:48:17, Julien Tinnes wrote: > On 2012/08/16 01:21:38, Julien Tinnes wrote: > > ...
8 years, 4 months ago (2012-08-16 18:35:08 UTC) #8
piman
https://chromiumcodereview.appspot.com/10831343/diff/5/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/10831343/diff/5/content/gpu/gpu_main.cc#newcode256 content/gpu/gpu_main.cc:256: context->ReleaseCurrent(surface.get()); nit:indent https://chromiumcodereview.appspot.com/10831343/diff/5/content/gpu/gpu_main.cc#newcode265 content/gpu/gpu_main.cc:265: } Is there any way ...
8 years, 4 months ago (2012-08-16 18:38:33 UTC) #9
jln (very slow on Chromium)
On 2012/08/16 18:38:33, piman wrote: > https://chromiumcodereview.appspot.com/10831343/diff/5/content/gpu/gpu_main.cc > File content/gpu/gpu_main.cc (right): > > https://chromiumcodereview.appspot.com/10831343/diff/5/content/gpu/gpu_main.cc#newcode256 > ...
8 years, 4 months ago (2012-08-16 18:55:31 UTC) #10
piman
lgtm
8 years, 4 months ago (2012-08-16 19:11:35 UTC) #11
Ken Russell (switch to Gerrit)
lgtm
8 years, 4 months ago (2012-08-16 21:26:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/10831343/8002
8 years, 4 months ago (2012-08-16 21:28:19 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 02:09:53 UTC) #14
Change committed as 152012

Powered by Google App Engine
This is Rietveld 408576698