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

Issue 1808313002: Register surface namespace in BlimpUiContextFactory (Closed)

Created:
4 years, 9 months ago by enne (OOO)
Modified:
4 years, 9 months ago
CC:
anandc+watch-blimp_chromium.org, chromium-reviews, dtrainor+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Register surface namespace in BlimpUiContextFactory The BlimpUiContextFactory handles creating surface id allocators, so also needs to register them as being valid surfaces with the surface manager like GpuProcessTransportFactory does. In order to do this, the surface manager and surface id allocator logic from content/browser/compositor/surface_utils is hoisted up into content/public/browser so that BlimpUiContextFactory can get at the global SurfaceManager. This is a band-aid fix, as it's possible for existing code to create a surface using the GpuProcessTransportFactory::GetContextFactory (which is the GpuProcessTransportFactory itself) instead of the ui::aura::Env::GetInstance()->GetContextFactory() which is overridden by Blimp and is the BlimpUiContextmanager. This needs to be cleaned up separately. BUG=595497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/c9295554c6764463c506aca4b81c0ff95a851f86 Cr-Commit-Position: refs/heads/master@{#383096}

Patch Set 1 #

Patch Set 2 : Host surface_utils into chrome/public #

Total comments: 1

Patch Set 3 : Rebase;2016 #

Patch Set 4 : Move SurfaceManager to ContextFactory #

Total comments: 1

Patch Set 5 : Fix compilation errors; remove GetSurfaceManager from ITP #

Patch Set 6 : Add missing include #

Patch Set 7 : Add missing include #

Patch Set 8 : Fix Blimp #

Patch Set 9 : Fix views_examples too #

Patch Set 10 : Use the aura context factory in DelegatedFrameHost #

Patch Set 11 : Fix RWHV missing context factories #

Patch Set 12 : Add aura as content browser dep #

Patch Set 13 : Back to patch #1 T_T #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M blimp/engine/DEPS View 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M blimp/engine/app/ui/blimp_ui_context_factory.cc View 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 36 (18 generated)
enne (OOO)
4 years, 9 months ago (2016-03-17 21:38:53 UTC) #5
David Trainor- moved to gerrit
lgtm https://codereview.chromium.org/1808313002/diff/20001/content/public/browser/surface_utils.h File content/public/browser/surface_utils.h (right): https://codereview.chromium.org/1808313002/diff/20001/content/public/browser/surface_utils.h#newcode1 content/public/browser/surface_utils.h:1: // Copyright 2015 The Chromium Authors. All rights ...
4 years, 9 months ago (2016-03-17 21:44:15 UTC) #6
no sievers
Can the call sites to CreateSurfaceIdAllocator() maybe just register the namespace instead, so we don't ...
4 years, 9 months ago (2016-03-17 23:44:38 UTC) #7
enne (OOO)
On 2016/03/17 at 23:44:38, sievers wrote: > Can the call sites to CreateSurfaceIdAllocator() maybe just ...
4 years, 9 months ago (2016-03-18 00:33:19 UTC) #8
no sievers
On 2016/03/18 00:33:19, enne wrote: > On 2016/03/17 at 23:44:38, sievers wrote: > > Can ...
4 years, 9 months ago (2016-03-18 01:40:12 UTC) #9
enne (OOO)
On 2016/03/18 at 01:40:12, sievers wrote: > On 2016/03/18 00:33:19, enne wrote: > > On ...
4 years, 9 months ago (2016-03-19 01:31:32 UTC) #12
no sievers
lgtm
4 years, 9 months ago (2016-03-21 20:48:49 UTC) #13
oshima
-> sky for mus change
4 years, 9 months ago (2016-03-21 20:49:29 UTC) #15
sky
LGTM
4 years, 9 months ago (2016-03-21 22:49:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808313002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808313002/60001
4 years, 9 months ago (2016-03-22 17:25:18 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/175992)
4 years, 9 months ago (2016-03-22 18:02:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808313002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808313002/80001
4 years, 9 months ago (2016-03-22 20:19:34 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/160785)
4 years, 9 months ago (2016-03-22 20:46:02 UTC) #26
enne (OOO)
Ok, looks like patch #3 to move SurfaceManager into ContextFactory can't work because I can't ...
4 years, 9 months ago (2016-03-24 01:05:05 UTC) #28
enne (OOO)
I'm going to look into a better fix, but after talking to sievers I'm going ...
4 years, 9 months ago (2016-03-24 17:20:37 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808313002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808313002/240001
4 years, 9 months ago (2016-03-24 17:21:12 UTC) #33
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 9 months ago (2016-03-24 17:58:16 UTC) #34
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:59:39 UTC) #36
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/c9295554c6764463c506aca4b81c0ff95a851f86
Cr-Commit-Position: refs/heads/master@{#383096}

Powered by Google App Engine
This is Rietveld 408576698