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

Issue 748699 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

MusContextFactory should not hold a RendererSettings

Project Member Reported by staraz@chromium.org, Jul 25 2017

Issue description

RendererSettings is a privileged class. MusContextFactory should not own
one since MCF is only a client but not a host.
MCF only uses the BufferToTextureTargetMap (which it creates itself) 
anyway.
 

Comment 1 by staraz@chromium.org, Jul 25 2017

Components: Internals>MUS Internals>Compositing
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e

commit c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e
Author: Alex Zhang <staraz@chromium.org>
Date: Thu Jul 27 23:31:19 2017

Replace MusContextFactory::renderer_settings_ with a ResourceSettings

viz::RendererSettings is a privileged class. MusContextFactory should
not own one because it is a client not a host. Replace
|renderer_settings_| with |resource_settings_| for it is all a
ContextFactory needs.

Bug:  748699 
Change-Id: Ib1e453650ac77aeb796b57e76e06d18a20226401
Reviewed-on: https://chromium-review.googlesource.com/589547
Reviewed-by: kylechar <kylechar@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Xingyu Zhang <staraz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490103}
[modify] https://crrev.com/c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e/ui/aura/mus/mus_context_factory.cc
[modify] https://crrev.com/c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e/ui/aura/mus/mus_context_factory.h
[modify] https://crrev.com/c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e/ui/compositor/compositor_util.cc
[modify] https://crrev.com/c4ef1c993f66d2aad1d5b20039ade00fdd9a5f6e/ui/compositor/compositor_util.h

Comment 3 by staraz@chromium.org, Jul 28 2017

Status: Fixed (was: Assigned)
Components: -Internals>MUS Internals>Services>WindowService

Sign in to add a comment