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

Issue 11464041: cc: Don't use partial updates for scrollbars when they are not allowed. (Closed)

Created:
8 years ago by danakj
Modified:
8 years ago
Reviewers:
jamesr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Don't use partial updates for scrollbars when they are not allowed. Scrollbars always use partial updates, without claiming a partial update slot from the LayerTreeHost, unlike content layers. However, when partial updates are not allowed at all (under ubercomp), then the Scrollbar layer should not do partial updates at all. Tests: LayerTreeHostTestAtomicCommit.runMultiThread LayerTreeHostTestAtomicCommitWithPartialUpdate.runMultiThread NOTRY=true BUG=123444 Depends on: https://codereview.chromium.org/11609002 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174503

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : Fix android #

Total comments: 4

Patch Set 7 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -74 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 5 6 2 chunks +10 lines, -2 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 9 chunks +122 lines, -51 lines 0 comments Download
M cc/layer_tree_settings.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_settings.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M cc/resource_update_controller.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M cc/scrollbar_animation_controller.cc View 1 2 3 4 5 1 chunk +0 lines, -13 lines 0 comments Download
M cc/scrollbar_layer.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M cc/scrollbar_layer.cc View 1 2 3 4 5 4 chunks +15 lines, -4 lines 0 comments Download
A cc/test/fake_scrollbar_layer.h View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A cc/test/fake_scrollbar_layer.cc View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
danakj
A 4-line change in the ubercomp CL becomes this to add tests: 29 files changed, ...
8 years ago (2012-12-08 03:16:50 UTC) #1
enne (OOO)
So many fake classes and clients and painters. :( What was wrong with making WebScrollbarThemePainter ...
8 years ago (2012-12-08 03:39:23 UTC) #2
danakj
/me defers to jamesr
8 years ago (2012-12-08 03:43:14 UTC) #3
jamesr
If adding an interface means that fewer cc:: classes have to be tied to WebKit ...
8 years ago (2012-12-10 01:38:32 UTC) #4
danakj
On 2012/12/10 01:38:32, jamesr wrote: > If adding an interface means that fewer cc:: classes ...
8 years ago (2012-12-10 03:37:10 UTC) #5
danakj
Oh I think I had an idea last night. If we use virtual factory methods ...
8 years ago (2012-12-10 15:08:16 UTC) #6
enne (OOO)
Ok, I talked with jamesr and think I understand what's going on. Only webkit/compositor_bindings should ...
8 years ago (2012-12-10 23:40:42 UTC) #7
danakj
On 2012/12/10 23:40:42, enne wrote: > Ok, I talked with jamesr and think I understand ...
8 years ago (2012-12-11 06:06:55 UTC) #8
danakj
This is rebased on https://codereview.chromium.org/11609002 It's very simple now :) PTAL
8 years ago (2012-12-17 18:49:23 UTC) #9
enne (OOO)
https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc File cc/scrollbar_layer.cc (right): https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc#newcode309 cc/scrollbar_layer.cc:309: m_dirtyRect.Union(m_updateRect); What does adding m_dirtyRect enable you to do ...
8 years ago (2012-12-17 20:59:01 UTC) #10
danakj
https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc File cc/scrollbar_layer.cc (right): https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc#newcode309 cc/scrollbar_layer.cc:309: m_dirtyRect.Union(m_updateRect); On 2012/12/17 20:59:02, enne wrote: > What does ...
8 years ago (2012-12-17 21:27:06 UTC) #11
enne (OOO)
lgtm https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc File cc/scrollbar_layer.cc (right): https://codereview.chromium.org/11464041/diff/15002/cc/scrollbar_layer.cc#newcode309 cc/scrollbar_layer.cc:309: m_dirtyRect.Union(m_updateRect); On 2012/12/17 21:27:06, danakj wrote: > On ...
8 years ago (2012-12-17 21:36:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11464041/15002
8 years ago (2012-12-18 16:11:06 UTC) #13
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-12-18 16:11:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11464041/24001
8 years ago (2012-12-18 16:27:16 UTC) #15
danakj
ok android will pass now. 1. Moved the #ifdef OS_ANDROID stuff to layer_tree_settings.cc 2. Made ...
8 years ago (2012-12-22 01:01:59 UTC) #16
enne (OOO)
https://codereview.chromium.org/11464041/diff/41008/cc/layer_impl.cc File cc/layer_impl.cc (right): https://codereview.chromium.org/11464041/diff/41008/cc/layer_impl.cc#newcode796 cc/layer_impl.cc:796: static const double fadeoutDelay = 0.3; s/static const// https://codereview.chromium.org/11464041/diff/41008/cc/resource_update_controller.cc ...
8 years ago (2012-12-22 01:17:18 UTC) #17
danakj
https://codereview.chromium.org/11464041/diff/41008/cc/resource_update_controller.cc File cc/resource_update_controller.cc (left): https://codereview.chromium.org/11464041/diff/41008/cc/resource_update_controller.cc#oldcode27 cc/resource_update_controller.cc:27: const size_t partialTextureUpdatesMax = 0; On 2012/12/22 01:17:18, enne ...
8 years ago (2012-12-22 01:22:38 UTC) #18
danakj
https://codereview.chromium.org/11464041/diff/41008/cc/layer_impl.cc File cc/layer_impl.cc (right): https://codereview.chromium.org/11464041/diff/41008/cc/layer_impl.cc#newcode796 cc/layer_impl.cc:796: static const double fadeoutDelay = 0.3; On 2012/12/22 01:17:18, ...
8 years ago (2012-12-22 01:23:26 UTC) #19
enne (OOO)
lgtm
8 years ago (2012-12-22 01:39:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11464041/43015
8 years ago (2012-12-22 01:44:42 UTC) #21
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-22 06:45:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11464041/43015
8 years ago (2012-12-22 06:46:23 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11464041/43015
8 years ago (2012-12-22 06:47:24 UTC) #24
commit-bot: I haz the power
8 years ago (2012-12-22 07:04:59 UTC) #25
Message was sent while issue was closed.
Change committed as 174503

Powered by Google App Engine
This is Rietveld 408576698