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

Issue 2008153002: Add initial implementation of cc::Surfaces backend for exo. (Closed)

Created:
4 years, 7 months ago by jbauman
Modified:
4 years, 6 months ago
Reviewers:
reveman
CC:
chromium-reviews, danakj+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add initial implementation of cc::Surfaces backend for exo. This puts every buffer in a cc::Surface, and then uses a SurfaceLayer to reference them from the compositor. This is disabled by default, but can be enabled with the --use-exo-surface-layer flag. At the moment it won't offer any performance improvements, as a new SurfaceId is created for each frame, so the browser compositor has to always commit and draw. This restriction can removed in future patches. BUG=610086 Committed: https://crrev.com/bd9586a9e4a658743483a781faf7b9747cee4688 Cr-Commit-Position: refs/heads/master@{#396618}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -46 lines) Patch
M components/exo.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/display.cc View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M components/exo/shell_surface_unittest.cc View 1 2 3 4 5 6 16 chunks +26 lines, -16 lines 0 comments Download
M components/exo/sub_surface_unittest.cc View 1 2 3 4 5 chunks +14 lines, -6 lines 0 comments Download
M components/exo/surface.h View 1 2 3 4 5 6 chunks +61 lines, -0 lines 0 comments Download
M components/exo/surface.cc View 1 2 3 4 5 13 chunks +252 lines, -10 lines 0 comments Download
M components/exo/surface_unittest.cc View 12 chunks +25 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
jbauman
4 years, 7 months ago (2016-05-27 00:57:47 UTC) #5
reveman
lg, any downsides with using this by default? I would prefer to just have one ...
4 years, 7 months ago (2016-05-27 06:18:40 UTC) #6
reveman
https://codereview.chromium.org/2008153002/diff/80001/components/exo/surface.cc File components/exo/surface.cc (right): https://codereview.chromium.org/2008153002/diff/80001/components/exo/surface.cc#newcode207 components/exo/surface.cc:207: CHECK(aura::Env::GetInstance()->context_factory()); do we need these CHECKs? can they be ...
4 years, 6 months ago (2016-05-27 18:25:42 UTC) #7
jbauman
On 2016/05/27 06:18:40, reveman wrote: > lg, any downsides with using this by default? I ...
4 years, 6 months ago (2016-05-27 23:02:57 UTC) #8
reveman
On 2016/05/27 at 23:02:57, jbauman wrote: > On 2016/05/27 06:18:40, reveman wrote: > > lg, ...
4 years, 6 months ago (2016-05-27 23:30:45 UTC) #9
jbauman
On 2016/05/27 23:30:45, reveman wrote: > On 2016/05/27 at 23:02:57, jbauman wrote: > > On ...
4 years, 6 months ago (2016-05-28 00:17:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008153002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008153002/140001
4 years, 6 months ago (2016-05-28 00:17:51 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-05-28 01:09:16 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-05-28 01:10:30 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/bd9586a9e4a658743483a781faf7b9747cee4688
Cr-Commit-Position: refs/heads/master@{#396618}

Powered by Google App Engine
This is Rietveld 408576698