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

Issue 2536983002: Disable redraw lock when using DirectComposition. (Closed)

Created:
4 years ago by jbauman
Modified:
4 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable redraw lock when using DirectComposition. This can cause windows to flicker black when they're made invisible. It should also be unnecessary, as WS_CLIPCHILDREN should prevent DefWindowProc from modifying window contents in the area where Chrome is rendering. BUG=667731 Committed: https://crrev.com/b31f7c090c114097fc46ca120a3d0d221a238e88 Cr-Commit-Position: refs/heads/master@{#435203}

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove was_visible_ #

Patch Set 3 : move IsWindow #

Total comments: 1

Patch Set 4 : make const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -25 lines) Patch
M ui/views/win/hwnd_message_handler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 4 chunks +31 lines, -23 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
jbauman
4 years ago (2016-11-29 02:30:04 UTC) #4
sky
https://codereview.chromium.org/2536983002/diff/1/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2536983002/diff/1/ui/views/win/hwnd_message_handler.cc#newcode289 ui/views/win/hwnd_message_handler.cc:289: if (was_visible_ && should_lock_ && ::IsWindow(hwnd_)) Can should_lock_ include ...
4 years ago (2016-11-29 18:05:19 UTC) #7
jbauman
PTAL. On 2016/11/29 18:05:19, sky wrote: > https://codereview.chromium.org/2536983002/diff/1/ui/views/win/hwnd_message_handler.cc > File ui/views/win/hwnd_message_handler.cc (right): > > https://codereview.chromium.org/2536983002/diff/1/ui/views/win/hwnd_message_handler.cc#newcode289 ...
4 years ago (2016-11-29 23:43:02 UTC) #12
sky
LGTM https://codereview.chromium.org/2536983002/diff/40001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/2536983002/diff/40001/ui/views/win/hwnd_message_handler.cc#newcode309 ui/views/win/hwnd_message_handler.cc:309: bool should_lock_; Make const
4 years ago (2016-11-30 00:01:50 UTC) #13
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/2536983002/60001
4 years ago (2016-11-30 02:36:00 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-30 04:37:13 UTC) #22
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/2536983002/60001
4 years ago (2016-11-30 09:53:21 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-30 09:59:01 UTC) #26
commit-bot: I haz the power
4 years ago (2016-11-30 10:01:27 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b31f7c090c114097fc46ca120a3d0d221a238e88
Cr-Commit-Position: refs/heads/master@{#435203}

Powered by Google App Engine
This is Rietveld 408576698