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

Issue 14271005: Refactor GPU init to allow ARM sandboxing. (Closed)

Created:
7 years, 8 months ago by Jorge Lucangeli Obes
Modified:
7 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Refactor GPU init to allow ARM sandboxing. BUG=232068 TEST=daisy loads and GPU acceleration works together with a policy change. TEST=desktop Chrome works with NVIDIA graphics. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194793

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address jln's comments. #

Total comments: 10

Patch Set 3 : Fix Windows compile, address comments/nits. #

Total comments: 8

Patch Set 4 : Address sheu's and piman's comments. #

Patch Set 5 : Fix compile. #

Patch Set 6 : Fix typo. #

Total comments: 2

Patch Set 7 : Remove "defined(NDEBUG)". #

Patch Set 8 : Rebase. #

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

Messages

Total messages: 23 (0 generated)
Jorge Lucangeli Obes
RFC Hey guys, this is what I need on the GPU side to be able ...
7 years, 8 months ago (2013-04-15 23:42:36 UTC) #1
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc#newcode179 content/gpu/gpu_main.cc:179: #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) Are these ifdef really the ...
7 years, 8 months ago (2013-04-16 19:45:54 UTC) #2
Jorge Lucangeli Obes
On 2013/04/16 19:45:54, Julien Tinnes wrote: > https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc > File content/gpu/gpu_main.cc (right): > > https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc#newcode179 ...
7 years, 8 months ago (2013-04-16 21:19:16 UTC) #3
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/1/content/gpu/gpu_main.cc#newcode179 content/gpu/gpu_main.cc:179: #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) On 2013/04/16 19:45:54, Julien Tinnes ...
7 years, 8 months ago (2013-04-16 21:26:29 UTC) #4
jln (very slow on Chromium)
lgtm piman@ is probably a good choice of owner for this as he has reviewed ...
7 years, 8 months ago (2013-04-16 21:32:21 UTC) #5
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc#newcode384 content/gpu/gpu_main.cc:384: parameters.sandbox_info->target_services; Looks like you'll need to take this as ...
7 years, 8 months ago (2013-04-16 21:33:52 UTC) #6
Jorge Lucangeli Obes
+piman@ for OWNERS. https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc#newcode374 content/gpu/gpu_main.cc:374: #endif On 2013/04/16 21:32:22, Julien Tinnes ...
7 years, 8 months ago (2013-04-16 21:40:31 UTC) #7
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc#newcode377 content/gpu/gpu_main.cc:377: bool StartSandboxWindows(const MainFunctionParams& parameters) { Might be better to ...
7 years, 8 months ago (2013-04-16 21:42:24 UTC) #8
sheu
https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc#newcode58 content/gpu/gpu_main.cc:58: void WarmUpSandboxComplete(const GPUInfo&, bool); WarmUpSandboxComplete() is only used (and ...
7 years, 8 months ago (2013-04-16 21:47:39 UTC) #9
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/4001/content/gpu/gpu_main.cc#newcode348 content/gpu/gpu_main.cc:348: bool should_initialize_gl_context) { On 2013/04/16 21:47:39, sheu wrote: > ...
7 years, 8 months ago (2013-04-16 22:39:57 UTC) #10
piman
https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc#newcode58 content/gpu/gpu_main.cc:58: void WarmUpSandboxComplete(const GPUInfo&, bool); This should be inside the ...
7 years, 8 months ago (2013-04-16 23:06:44 UTC) #11
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc#newcode186 content/gpu/gpu_main.cc:186: gpu_info.sandboxed = StartSandboxLinux(watchdog_thread.get()); On 2013/04/16 23:06:45, piman wrote: > ...
7 years, 8 months ago (2013-04-16 23:11:38 UTC) #12
piman
On 2013/04/16 23:11:38, Jorge Lucangeli Obes wrote: > https://chromiumcodereview.appspot.com/14271005/diff/3002/content/gpu/gpu_main.cc > File content/gpu/gpu_main.cc (right): > > ...
7 years, 8 months ago (2013-04-16 23:12:53 UTC) #13
Jorge Lucangeli Obes
On Tue, Apr 16, 2013 at 4:12 PM, <piman@chromium.org> wrote: > On 2013/04/16 23:11:38, Jorge ...
7 years, 8 months ago (2013-04-16 23:19:56 UTC) #14
piman
On Tue, Apr 16, 2013 at 4:19 PM, Jorge Lucangeli Obes <jorgelo@chromium.org>wrote: > On Tue, ...
7 years, 8 months ago (2013-04-16 23:26:43 UTC) #15
Jorge Lucangeli Obes
PTAL. I'm happier with the code now, it's definitely clearer. Antoine: Alex does *not* show ...
7 years, 8 months ago (2013-04-17 17:26:19 UTC) #16
piman
https://chromiumcodereview.appspot.com/14271005/diff/25001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/25001/content/gpu/gpu_main.cc#newcode185 content/gpu/gpu_main.cc:185: #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(NDEBUG) I don't think ...
7 years, 8 months ago (2013-04-17 17:45:41 UTC) #17
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/14271005/diff/25001/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://chromiumcodereview.appspot.com/14271005/diff/25001/content/gpu/gpu_main.cc#newcode185 content/gpu/gpu_main.cc:185: #if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(NDEBUG) On 2013/04/17 17:45:41, ...
7 years, 8 months ago (2013-04-17 17:49:50 UTC) #18
piman
lgtm
7 years, 8 months ago (2013-04-17 18:06:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jorgelo@chromium.org/14271005/29001
7 years, 8 months ago (2013-04-17 23:48:18 UTC) #20
commit-bot: I haz the power
Failed to apply patch for content/gpu/gpu_main.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-17 23:48:19 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jorgelo@chromium.org/14271005/30002
7 years, 8 months ago (2013-04-18 01:24:03 UTC) #22
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 05:52:56 UTC) #23
Message was sent while issue was closed.
Change committed as 194793

Powered by Google App Engine
This is Rietveld 408576698