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

Issue 85143002: Dirty rects always contain full tiles with delegated rendering. (Closed)

Created:
7 years ago by prashant.n
Modified:
7 years ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Dirty rects always contain full tiles with delegated rendering. Fix: Compute update_rect separately from original dirty rects and pass them to update_rect_ as well as updating the contents. BUG=316469 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238911

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Address review comments #

Patch Set 5 : Add unit test #

Patch Set 6 : Fixed broken test due to this patch #

Total comments: 12

Patch Set 7 : Addressed review comments #

Total comments: 1

Patch Set 8 : Fixed build break on the bots #

Total comments: 1

Patch Set 9 : Addressed review comments #

Patch Set 10 : Fixed build break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -30 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/content_layer.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/tiled_layer.h View 1 chunk +9 lines, -6 lines 0 comments Download
M cc/layers/tiled_layer.cc View 1 2 3 6 chunks +20 lines, -13 lines 0 comments Download
M cc/test/fake_content_layer.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/fake_content_layer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 1 2 3 4 5 6 1 chunk +16 lines, -10 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
prashant.n
update_rect created from original dirty rects is passed to 1. update_rect_ and 2. PrepareToUpdate so ...
7 years ago (2013-11-25 06:01:26 UTC) #1
enne (OOO)
Unit test? Please also format your description to 72 characters max width. https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc File cc/layers/tiled_layer.cc ...
7 years ago (2013-11-25 20:59:48 UTC) #2
prashant.n
Please reply to my queries https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc File cc/layers/tiled_layer.cc (right): https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc#newcode490 cc/layers/tiled_layer.cc:490: if (!update_rect.IsEmpty()) { Yes, ...
7 years ago (2013-11-26 04:56:06 UTC) #3
prashant.n
7 years ago (2013-11-26 06:25:59 UTC) #4
danakj
On 2013/11/26 04:56:06, prashant.n wrote: > Please reply to my queries > > https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc > ...
7 years ago (2013-11-26 16:08:10 UTC) #5
danakj
https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc File cc/layers/tiled_layer.cc (right): https://codereview.chromium.org/85143002/diff/30001/cc/layers/tiled_layer.cc#newcode497 cc/layers/tiled_layer.cc:497: Updater()->PrepareToUpdate(update_rect, On 2013/11/25 20:59:48, enne wrote: > Re: point ...
7 years ago (2013-11-26 16:08:39 UTC) #6
prashant.n
Yes, you are correct, checked the path.
7 years ago (2013-11-27 04:26:20 UTC) #7
danakj
This looks good, can you add a unit test that invalidates some partial tiles, verifies ...
7 years ago (2013-11-27 18:09:09 UTC) #8
prashant.n
Addressed review comments and added unit test.
7 years ago (2013-12-02 11:09:56 UTC) #9
prashant.n
Looks some other tests are failing due to this patch. I'm checking those.
7 years ago (2013-12-02 11:22:52 UTC) #10
prashant.n
Fixed broken tests. If we have unit test in layer_tree_host_unittest_damage.cc, do we need a separate ...
7 years ago (2013-12-02 14:30:48 UTC) #11
danakj
On 2013/12/02 14:30:48, prashant.n wrote: > Fixed broken tests. > If we have unit test ...
7 years ago (2013-12-02 15:06:46 UTC) #12
danakj
https://codereview.chromium.org/85143002/diff/120001/cc/layers/content_layer.h File cc/layers/content_layer.h (right): https://codereview.chromium.org/85143002/diff/120001/cc/layers/content_layer.h#newcode64 cc/layers/content_layer.h:64: virtual LayerUpdater* Updater() const OVERRIDE; Keep this method private ...
7 years ago (2013-12-02 15:06:52 UTC) #13
danakj
https://codereview.chromium.org/85143002/diff/120001/cc/trees/layer_tree_host_unittest_damage.cc File cc/trees/layer_tree_host_unittest_damage.cc (right): https://codereview.chromium.org/85143002/diff/120001/cc/trees/layer_tree_host_unittest_damage.cc#newcode378 cc/trees/layer_tree_host_unittest_damage.cc:378: // Verify damage area. Instead of saying "Verify damage ...
7 years ago (2013-12-02 15:09:48 UTC) #14
prashant.n
Addressed the review comments. Please take a look at. https://codereview.chromium.org/85143002/diff/140001/cc/layers/content_layer.h File cc/layers/content_layer.h (right): https://codereview.chromium.org/85143002/diff/140001/cc/layers/content_layer.h#newcode65 cc/layers/content_layer.h:65: ...
7 years ago (2013-12-03 08:30:55 UTC) #15
danakj
Thanks, LGTM
7 years ago (2013-12-03 18:07:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prashant.n@samsung.com/85143002/140001
7 years ago (2013-12-04 04:10:05 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=196794
7 years ago (2013-12-04 04:34:19 UTC) #18
prashant.n
The new class added needs explicit destructor
7 years ago (2013-12-04 05:02:47 UTC) #19
danakj
https://codereview.chromium.org/85143002/diff/160001/cc/test/fake_content_layer.cc File cc/test/fake_content_layer.cc (right): https://codereview.chromium.org/85143002/diff/160001/cc/test/fake_content_layer.cc#newcode15 cc/test/fake_content_layer.cc:15: ~FakeContentLayerUpdater() {} It should be virtual, then LGTM
7 years ago (2013-12-04 16:32:16 UTC) #20
prashant.n
Please taka a look at.
7 years ago (2013-12-05 04:15:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prashant.n@samsung.com/85143002/180001
7 years ago (2013-12-05 04:16:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prashant.n@samsung.com/85143002/200001
7 years ago (2013-12-05 04:32:15 UTC) #23
commit-bot: I haz the power
7 years ago (2013-12-05 07:22:53 UTC) #24
Message was sent while issue was closed.
Change committed as 238911

Powered by Google App Engine
This is Rietveld 408576698