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

Issue 303573002: cc: Add Scheduler test for SetSwapUsedIncompleteTile (Closed)

Created:
6 years, 7 months ago by simonhong
Modified:
6 years, 7 months ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, hyojun.im_lge.com
Visibility:
Public.

Description

cc: Add Scheduler test for SetSwapUsedIncompleteTile Add tests whether ScheduledActionShouldUpdateVisibleTiles() is executed or not when Scheduler::SetSwapUsedIncompleteTile() is called. Then, checks draw operation in the next deadline. R=brianderson@chromium.org BUG=377641 TEST=cc_unittests --gtest_filter=SchedulerTest.ShouldUpdateVisibleTiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273157

Patch Set 1 #

Total comments: 7

Patch Set 2 : WIP #

Patch Set 3 : Introduce redraw_will_happen_if_update_visible_tiles_happens_ #

Patch Set 4 : Add impl-side check in InitializeOutputSurfaceAndFirstCommit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -2 lines) Patch
M cc/scheduler/scheduler_unittest.cc View 1 2 3 8 chunks +77 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
simonhong
PTAL!
6 years, 7 months ago (2014-05-27 07:48:07 UTC) #1
brianderson
https://codereview.chromium.org/303573002/diff/1/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/303573002/diff/1/cc/scheduler/scheduler_unittest.cc#newcode45 cc/scheduler/scheduler_unittest.cc:45: contain_incomplete_tile_(false) { swap_contains_incomplete_tile_ https://codereview.chromium.org/303573002/diff/1/cc/scheduler/scheduler_unittest.cc#newcode87 cc/scheduler/scheduler_unittest.cc:87: void set_contain_incomplete_tile(bool contain) { ...
6 years, 7 months ago (2014-05-27 21:15:57 UTC) #2
simonhong
On 2014/05/27 21:15:57, brianderson wrote: > https://codereview.chromium.org/303573002/diff/1/cc/scheduler/scheduler_unittest.cc > File cc/scheduler/scheduler_unittest.cc (right): > > https://codereview.chromium.org/303573002/diff/1/cc/scheduler/scheduler_unittest.cc#newcode45 > ...
6 years, 7 months ago (2014-05-27 22:19:24 UTC) #3
brianderson
> Do you mean that let's check whether swap is occurred or not in the ...
6 years, 7 months ago (2014-05-27 23:44:30 UTC) #4
simonhong
To trigger draw, SetRedrawWillHappenIfUpdateVisibleTilesHappens() is called when ScheduledActionUpdateVisibleTiles() is called. Does this way looks ok? ...
6 years, 7 months ago (2014-05-28 00:09:35 UTC) #5
brianderson
On 2014/05/28 00:09:35, simonhong wrote: > To trigger draw, SetRedrawWillHappenIfUpdateVisibleTilesHappens() is called when > ScheduledActionUpdateVisibleTiles() ...
6 years, 7 months ago (2014-05-28 00:17:24 UTC) #6
simonhong
On 2014/05/28 00:17:24, brianderson wrote: > On 2014/05/28 00:09:35, simonhong wrote: > > To trigger ...
6 years, 7 months ago (2014-05-28 00:23:37 UTC) #7
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-28 00:29:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/303573002/60001
6 years, 7 months ago (2014-05-28 00:32:57 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 7 months ago (2014-05-28 04:03:08 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-28 05:36:21 UTC) #11
Message was sent while issue was closed.
Change committed as 273157

Powered by Google App Engine
This is Rietveld 408576698