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

Issue 2774903003: Fix the compositing of placeholder canvas backgrounds (Closed)

Created:
3 years, 9 months ago by Justin Novosad
Modified:
3 years, 9 months ago
Reviewers:
xlai (Olivia)
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, kinuko+watch, rwlbuis, krit, drott+blinkwatch_chromium.org, szager+layoutwatch_chromium.org, Rik, jchaffraix+rendering, blink-reviews, ajuma+watch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, danakj+watch_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, fmalita+watch_chromium.org, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the compositing of placeholder canvas backgrounds In CompositedLayerMapping::updateContentsOpaque(), we were falsely assuming that an opaque CSS background made the content layer opaque this was causing rendering artifacts because culling optimizations were kicking in when they should not. BUG=703673 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2774903003 Cr-Commit-Position: refs/heads/master@{#459583} Committed: https://chromium.googlesource.com/chromium/src/+/9e0bad82923e80164de225930fefe0986c1aa98d

Patch Set 1 #

Patch Set 2 : fix comments #

Total comments: 1

Patch Set 3 : un-dupe function #

Messages

Total messages: 14 (7 generated)
Justin Novosad
PTAL. The changes to CompositedLayerMapping is the actual fix. The changes to OffscreenCanvasFrameDispatcherImpl, are drive-by ...
3 years, 9 months ago (2017-03-24 19:03:57 UTC) #5
xlai (Olivia)
https://codereview.chromium.org/2774903003/diff/20001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2774903003/diff/20001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode122 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:122: static inline bool isPlaceholderCanvas(const LayoutObject& layoutObject) { You don't ...
3 years, 9 months ago (2017-03-24 20:24:59 UTC) #6
Justin Novosad
On 2017/03/24 20:24:59, xlai (Olivia) wrote: > https://codereview.chromium.org/2774903003/diff/20001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > File > third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > (right): > ...
3 years, 9 months ago (2017-03-24 20:43:50 UTC) #7
Justin Novosad
Done. I kept the new version of the function ;-)
3 years, 9 months ago (2017-03-24 20:54:35 UTC) #8
xlai (Olivia)
lgtm
3 years, 9 months ago (2017-03-24 21:09:45 UTC) #10
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/2774903003/40001
3 years, 9 months ago (2017-03-24 21:10:32 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 22:45:33 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9e0bad82923e80164de225930fef...

Powered by Google App Engine
This is Rietveld 408576698