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

Issue 2803523002: Always create ClientNativePixmapFactory in chrome --mash (Closed)

Created:
3 years, 8 months ago by rjkroege
Modified:
3 years, 8 months ago
Reviewers:
sky, piman
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Always create ClientNativePixmapFactory in chrome --mash With the enabling of the --enable-native-gpu-memory-buffers on selected ChromeOS devices where the combination of kernel and graphics hardware permit it, every Chrome process attempting to rastersize requires an ozone gfx::ClientNativePixmapFactory instance or it will crash when first attempting to allocate a graphics buffer. Given that aura is the standard mus client library for non-renderer processes and is assumed by all ozone platforms, modify aura::Env to create such an instance and resolve the situation where chrome --mash fails on selected ChromeOS devices. BUG=704169 Review-Url: https://codereview.chromium.org/2803523002 Cr-Commit-Position: refs/heads/master@{#464666} Committed: https://chromium.googlesource.com/chromium/src/+/74d8cb5db7109d9f5426136662b6dd614494c545

Patch Set 1 #

Patch Set 2 : better location for pixmap factory init #

Total comments: 4

Patch Set 3 : review comments #

Patch Set 4 : fix DCHECK oversight #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -10 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download
M ui/aura/env.h View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M ui/aura/env.cc View 1 2 3 4 5 chunks +13 lines, -0 lines 0 comments Download
M ui/gfx/client_native_pixmap_factory.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/client_native_pixmap_factory.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
rjkroege
3 years, 8 months ago (2017-04-05 00:33:38 UTC) #2
sky
Is there a better way to do this only if the process is going to ...
3 years, 8 months ago (2017-04-05 03:13:02 UTC) #3
rjkroege
ptal piman@ OWNERS review for content/browser/browser_main_loop.cc
3 years, 8 months ago (2017-04-07 21:22:39 UTC) #6
piman
lgtm
3 years, 8 months ago (2017-04-07 22:26:02 UTC) #7
sky
https://codereview.chromium.org/2803523002/diff/20001/ui/aura/env.cc File ui/aura/env.cc (right): https://codereview.chromium.org/2803523002/diff/20001/ui/aura/env.cc#newcode202 ui/aura/env.cc:202: void Env::Init() { Be aware that some tests reset ...
3 years, 8 months ago (2017-04-07 23:23:20 UTC) #8
rjkroege
ptal https://codereview.chromium.org/2803523002/diff/20001/ui/aura/env.cc File ui/aura/env.cc (right): https://codereview.chromium.org/2803523002/diff/20001/ui/aura/env.cc#newcode202 ui/aura/env.cc:202: void Env::Init() { On 2017/04/07 23:23:19, sky wrote: ...
3 years, 8 months ago (2017-04-10 16:21:42 UTC) #9
sky
LGTM
3 years, 8 months ago (2017-04-10 16:23:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803523002/40001
3 years, 8 months ago (2017-04-10 16:24:02 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/343898)
3 years, 8 months ago (2017-04-10 16:53:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803523002/60001
3 years, 8 months ago (2017-04-13 01:02:19 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/361381)
3 years, 8 months ago (2017-04-13 02:57:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803523002/80001
3 years, 8 months ago (2017-04-14 01:21:44 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 03:18:55 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/74d8cb5db7109d9f5426136662b6...

Powered by Google App Engine
This is Rietveld 408576698