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

Issue 2844483004: Reset the state of the previous frame if overlay processing is skipped. (Closed)

Created:
3 years, 8 months ago by AndyWu
Modified:
3 years, 7 months ago
CC:
reveman, aelias_OOO_until_Jul13, ajuma, brianderson, cc-bugs_chromium.org, ccameron, chromium-reviews, danakj, enne (OOO), ericrk, piman, Sami, sunnyps, vmpstr, Ian Vollick, weiliangc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset the state of the previous frame if hardware overlay processing is skipped. If hardware overlay processing is skipped for a frame, there's no way to be sure of the state of the previous frame. Reset |previous_frame_underlay_rect_| for the next frame. BUG=Internal b/37644269 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2844483004 Cr-Commit-Position: refs/heads/master@{#467754} Committed: https://chromium.googlesource.com/chromium/src/+/3a24b86207d99af61810b6607b08432303646c3f

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reset the state of the previous frame if overlay processing is skipped. #

Patch Set 3 : Reset the state of the previous frame if overlay processing is skipped. #

Total comments: 1

Patch Set 4 : Unit test #

Patch Set 5 : Fix comment #

Total comments: 3

Patch Set 6 : Revise comments #

Total comments: 4

Patch Set 7 : Reset the state of the previous frame if hardware overlay processing is skipped. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -7 lines) Patch
M cc/output/overlay_processor.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 2 3 4 5 6 4 chunks +11 lines, -7 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
AndyWu
3 years, 8 months ago (2017-04-26 18:34:08 UTC) #5
liberato (no reviews please)
thank you very much for putting this together! disclaimer on my comment is that i'm ...
3 years, 8 months ago (2017-04-26 18:40:31 UTC) #6
halliwell
On 2017/04/26 18:34:08, AndyWu wrote: can you add a test? (in overlay_unittest.cc)
3 years, 8 months ago (2017-04-26 18:40:36 UTC) #7
watk
https://codereview.chromium.org/2844483004/diff/1/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/1/cc/output/overlay_processor.cc#newcode146 cc/output/overlay_processor.cc:146: previous_frame_underlay_rect_ = gfx::Rect(); On 2017/04/26 18:40:31, liberato wrote: > ...
3 years, 8 months ago (2017-04-26 19:20:04 UTC) #8
AndyWu
On 2017/04/26 18:40:36, halliwell wrote: > On 2017/04/26 18:34:08, AndyWu wrote: > > can you ...
3 years, 8 months ago (2017-04-26 20:39:54 UTC) #9
AndyWu
https://codereview.chromium.org/2844483004/diff/1/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/1/cc/output/overlay_processor.cc#newcode146 cc/output/overlay_processor.cc:146: previous_frame_underlay_rect_ = gfx::Rect(); On 2017/04/26 18:40:31, liberato wrote: > ...
3 years, 8 months ago (2017-04-26 20:40:53 UTC) #10
watk
looks correct to me, thanks https://codereview.chromium.org/2844483004/diff/40001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/40001/cc/output/overlay_processor.cc#newcode131 cc/output/overlay_processor.cc:131: // If overlay processing ...
3 years, 8 months ago (2017-04-26 21:37:19 UTC) #11
liberato (no reviews please)
non-owner lg*m % watk's comment. thanks -fl
3 years, 8 months ago (2017-04-26 23:02:20 UTC) #12
danakj
https://codereview.chromium.org/2844483004/diff/80001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/80001/cc/output/overlay_processor.cc#newcode135 cc/output/overlay_processor.cc:135: previous_frame_underlay_rect_ = gfx::Rect(); Doesn't this just mean every frame ...
3 years, 7 months ago (2017-04-27 15:32:02 UTC) #14
AndyWu
Not sure who is the owner of cc/output/overlay_processor.cc, please advise, thanks. https://codereview.chromium.org/2844483004/diff/80001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): ...
3 years, 7 months ago (2017-04-27 15:53:02 UTC) #16
reveman
+dcastagna who have been making a lot of changes to overlay processing lately https://codereview.chromium.org/2844483004/diff/100001/cc/output/overlay_processor.cc File ...
3 years, 7 months ago (2017-04-27 16:15:10 UTC) #19
danakj
LGTM https://codereview.chromium.org/2844483004/diff/80001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/80001/cc/output/overlay_processor.cc#newcode135 cc/output/overlay_processor.cc:135: previous_frame_underlay_rect_ = gfx::Rect(); On 2017/04/27 15:53:01, AndyWu wrote: ...
3 years, 7 months ago (2017-04-27 16:26:19 UTC) #21
AndyWu
https://codereview.chromium.org/2844483004/diff/100001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/100001/cc/output/overlay_processor.cc#newcode133 cc/output/overlay_processor.cc:133: const gfx::Rect previous_frame_underlay_rect = previous_frame_underlay_rect_; On 2017/04/27 16:15:09, reveman ...
3 years, 7 months ago (2017-04-27 16:33:33 UTC) #22
AndyWu
https://codereview.chromium.org/2844483004/diff/100001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/2844483004/diff/100001/cc/output/overlay_processor.cc#newcode131 cc/output/overlay_processor.cc:131: // Reset |previous_frame_underlay_rect_| in case |UpdateDamageRect| not being On ...
3 years, 7 months ago (2017-04-27 16:42:28 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844483004/120001
3 years, 7 months ago (2017-04-27 16:49:41 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/257987) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-04-27 17:07:00 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844483004/120001
3 years, 7 months ago (2017-04-27 17:56:31 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 19:36:46 UTC) #33
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/3a24b86207d99af61810b6607b08...

Powered by Google App Engine
This is Rietveld 408576698