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

Issue 244043002: CoreAnimation: Reduce VA usage by extra layers (Closed)

Created:
6 years, 8 months ago by ccameron
Modified:
6 years, 8 months ago
Reviewers:
Avi (use Gerrit), Andre, miu
CC:
chromium-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

CoreAnimation: Reduce VA usage by extra layers Use a solid color layer for TabContentsContainerView instead of using drawRect. This prevents a backing store from being allocated. Disable display updates when handling tab drags, to prevent the background view from flashing. BUG=364808 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264953

Patch Set 1 #

Patch Set 2 : Add disabler #

Total comments: 5

Patch Set 3 : Incorporate review feedback #

Patch Set 4 : Dynamically change color #

Patch Set 5 : Remove stray comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -23 lines) Patch
M chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm View 1 2 3 4 9 chunks +72 lines, -23 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ccameron
Turns out that this view did need to be changed to a layer. https://codereview.chromium.org/244043002/diff/20001/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm File ...
6 years, 8 months ago (2014-04-19 02:45:28 UTC) #1
Avi (use Gerrit)
LGTM with nits. https://codereview.chromium.org/244043002/diff/20001/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm File chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm (right): https://codereview.chromium.org/244043002/diff/20001/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm#newcode148 chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm:148: On 2014/04/19 02:45:29, ccameron1 wrote: > ...
6 years, 8 months ago (2014-04-19 19:30:49 UTC) #2
ccameron
Thanks! Also updated to be white by default, unless we're in fullscreen-capture mode (this was ...
6 years, 8 months ago (2014-04-19 22:21:39 UTC) #3
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 8 months ago (2014-04-19 22:22:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/244043002/80001
6 years, 8 months ago (2014-04-19 22:22:44 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-20 22:20:20 UTC) #6
Message was sent while issue was closed.
Change committed as 264953

Powered by Google App Engine
This is Rietveld 408576698