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

Issue 774332 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Add an abstract class for the observers in scoped_layer_animation_settings.

Project Member Reported by wutao@chromium.org, Oct 13 2017

Issue description

ToT.

The observers in scoped_layer_animation_settings, CacheRenderSurfaceObserver, DeferredPaintObserver, and TrilinearFilteringObserver, share the very similar pattern.

We should abstract it and reduce the duplication of the code.

 

Comment 1 by wutao@chromium.org, Oct 19 2017

Cc: kaznacheev@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 19 2017

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

commit f12fa07d109c13d3c5196be4696a89d11891e246
Author: wutao <wutao@chromium.org>
Date: Thu Oct 19 18:38:40 2017

Abstract observers in ScopedLayerAnimationSettings.

The observers in scoped_layer_animation_settings,
CacheRenderSurfaceObserver, DeferredPaintObserver, and
TrilinearFilteringObserver, share the very similar pattern.

This cl abstracts the observers and reduces the duplication
of the code.

Bug:  774332 
Test: local builds works with caching and trilinear filtering.
Change-Id: Idc4119d6ec680145c05161b504a7baf45080058b
Reviewed-on: https://chromium-review.googlesource.com/724362
Reviewed-by: Antoine Labour <piman@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510146}
[modify] https://crrev.com/f12fa07d109c13d3c5196be4696a89d11891e246/ui/compositor/scoped_layer_animation_settings.cc

Comment 3 by wutao@chromium.org, Oct 19 2017

Labels: Merge-Request-63 M-63
Please add appropriate OSs.

Comment 5 by wutao@chromium.org, Oct 20 2017

Components: Internals>Compositing
Labels: OS-Chrome
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 20 2017

Labels: -Merge-Request-63 Hotlist-Merge-Approved Merge-Approved-63
Your change meets the bar and is auto-approved for M63. Please go ahead and merge the CL to branch 3239 manually. Please contact milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), gkihumba@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 20 2017

Labels: -merge-approved-63 merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/aa94d63c677270cecb702b9a454afce464733b8c

commit aa94d63c677270cecb702b9a454afce464733b8c
Author: wutao <wutao@chromium.org>
Date: Fri Oct 20 22:26:13 2017

[Merge to M63] Abstract observers in ScopedLayerAnimationSettings.

The observers in scoped_layer_animation_settings,
CacheRenderSurfaceObserver, DeferredPaintObserver, and
TrilinearFilteringObserver, share the very similar pattern.

This cl abstracts the observers and reduces the duplication
of the code.

TBR=reveman@chromium.org,piman@chromium.org

(cherry picked from commit f12fa07d109c13d3c5196be4696a89d11891e246)

Bug:  774332 
Test: local builds works with caching and trilinear filtering.
Change-Id: Idc4119d6ec680145c05161b504a7baf45080058b
Reviewed-on: https://chromium-review.googlesource.com/724362
Reviewed-by: Antoine Labour <piman@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#510146}
Reviewed-on: https://chromium-review.googlesource.com/731651
Reviewed-by: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#127}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[modify] https://crrev.com/aa94d63c677270cecb702b9a454afce464733b8c/ui/compositor/scoped_layer_animation_settings.cc

Comment 8 by wutao@chromium.org, Mar 6 2018

Status: Fixed (was: Available)

Sign in to add a comment