New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 703856 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Test coverage for GpuProcessTransportFactory

Project Member Reported by stanisc@chromium.org, Mar 21 2017

Issue description

A recent change to GpuProcessTransportFactory has broken several features including Display Mirror Mode and Unified Desktop Mode (see  issue 702713 ).

That could be prevented if there was at least some test coverage for this class.
Consider refactoring this code to make at least some parts of it testable. 
 
Cc: danakj@chromium.org jbau...@chromium.org piman@chromium.org
Status: Available (was: Untriaged)

Comment 2 by piman@chromium.org, Apr 10 2017

Cc: fsam...@chromium.org

Comment 3 by fsamuel@google.com, Apr 10 2017

Blocking: 601863
Cc: rjkroege@chromium.org sadrul@chromium.org samans@chromium.org kylec...@chromium.org staraz@chromium.org
Labels: displaycompositor
+rjkroege@, sadrul@, kylechar@, staraz@, samans@.

we are currently working on what will become a major refactor of GpuProcessTransportFactory to use MojoFrameSinkManager. Along the way we should be increasing test coverage. Hopefully that addresses this bug.
Owner: kylec...@chromium.org
Status: Assigned (was: Available)
Assigning to kylechar@: Please add unit tests for FrameSinkManagerHost as you add functionality to it. I think that would address this bug.
Components: Internals>MUS Internals>Compositing
Labels: Type-Feature
Cc: weiliangc@chromium.org
Cc: varkha@chromium.org
Blocking: -601863
Owner: ----
Status: Available (was: Assigned)
GpuProcessTransportFactory will be going away in the viz code path, so I'm marking this bug as Available and removing it as a blocker.

Comment 9 by danakj@chromium.org, Jun 13 2017

Status: WontFix (was: Available)
GpuProcessTransportFactory is half CommandLine reading and half interesting logic. The lesson here when we recreate it is, I think:

Put command line reading outside the class, and pass things into it instead, much like LayerTreeSettings. This will allow us to instantiate it in tests and test the more interesting things like shared context loss/recovery.

So: ban CommandLine reading in classes with logic.
Components: -Internals>MUS Internals>Services>WindowService

Sign in to add a comment