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

Issue 184063002: cc: Change texture locking check point (Closed)

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

Description

cc: Change texture locking check point Checking whether texture is acquired by main thread or not in PendingActivationsShouldBeForced() has no meaning because texture is always acquired by impl thread in pending state. Instead, this check should be tested in PendingDrawShouldBeAborted(). Also, additional unittest is added for checking pending activation is forced when context is lost. R=brianderson@chromium.org BUG=347797 TEST=cc_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255556

Patch Set 1 #

Patch Set 2 : Add test for checking pending activation is forced #

Patch Set 3 : Add invariant condition of texture acquisition state #

Total comments: 4

Patch Set 4 : Modify invariant condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -7 lines) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 2 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
simonhong
PTAL!
6 years, 9 months ago (2014-02-28 00:32:55 UTC) #1
simonhong
On 2014/02/28 00:32:55, simonhong wrote: > PTAL! Kindly ping.. (I just worried this review request ...
6 years, 9 months ago (2014-03-05 21:02:24 UTC) #2
brianderson
I had to think about this a bit, but you are correct. The main thread ...
6 years, 9 months ago (2014-03-06 01:58:47 UTC) #3
simonhong
On 2014/03/06 01:58:47, brianderson wrote: > I had to think about this a bit, but ...
6 years, 9 months ago (2014-03-06 13:42:04 UTC) #4
brianderson
lgtm, pending nits. https://codereview.chromium.org/184063002/diff/70001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/184063002/diff/70001/cc/scheduler/scheduler_state_machine.cc#newcode564 cc/scheduler/scheduler_state_machine.cc:564: // Main thread should never have ...
6 years, 9 months ago (2014-03-06 17:56:25 UTC) #5
simonhong
I addressed your comments. Thanks! https://codereview.chromium.org/184063002/diff/70001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/184063002/diff/70001/cc/scheduler/scheduler_state_machine.cc#newcode564 cc/scheduler/scheduler_state_machine.cc:564: // Main thread should ...
6 years, 9 months ago (2014-03-06 21:04:48 UTC) #6
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 9 months ago (2014-03-06 21:04:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/184063002/90001
6 years, 9 months ago (2014-03-06 21:19:32 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/184063002/90001
6 years, 9 months ago (2014-03-06 22:07:42 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 23:43:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg, mac_chromium_rel
6 years, 9 months ago (2014-03-06 23:43:50 UTC) #11
brianderson
The CQ bit was checked by brianderson@chromium.org
6 years, 9 months ago (2014-03-06 23:46:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/184063002/90001
6 years, 9 months ago (2014-03-06 23:56:17 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 02:18:52 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 02:18:52 UTC) #15
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 9 months ago (2014-03-07 03:12:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/184063002/90001
6 years, 9 months ago (2014-03-07 03:15:28 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 08:56:44 UTC) #18
Message was sent while issue was closed.
Change committed as 255556

Powered by Google App Engine
This is Rietveld 408576698