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

Issue 851033002: Simplify the paint invalidation bits. (Closed)

Created:
5 years, 11 months ago by ojan
Modified:
5 years, 11 months ago
Reviewers:
esprehn
CC:
esprehn, abarth-chromium, mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Simplify the paint invalidation bits. The only thing they're used for now is to clear the background obscuration state on RenderBox. They're also used in RenderLayerModelObject::styleWillChange, but that usage seems like a huge premature optimization. Unfortunately, the RenderBox one walks up the ancestor chain, so it's likely a necessary performance optimization. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/5738b6bebcd8b6a85911523b47b705420c5d3c58

Patch Set 1 #

Total comments: 3

Patch Set 2 : add one more check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -103 lines) Patch
M sky/engine/core/rendering/RenderLayerModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/rendering/RenderObject.cpp View 2 chunks +7 lines, -25 lines 0 comments Download
M sky/engine/core/rendering/style/RenderStyle.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/style/RenderStyle.cpp View 1 5 chunks +15 lines, -44 lines 0 comments Download
M sky/engine/core/rendering/style/StyleDifference.h View 2 chunks +5 lines, -31 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
ojan
https://codereview.chromium.org/851033002/diff/1/sky/engine/core/rendering/RenderObject.cpp File sky/engine/core/rendering/RenderObject.cpp (left): https://codereview.chromium.org/851033002/diff/1/sky/engine/core/rendering/RenderObject.cpp#oldcode1222 sky/engine/core/rendering/RenderObject.cpp:1222: if (diff.textOrColorChanged() && !diff.needsPaintInvalidation() I believe we don't need ...
5 years, 11 months ago (2015-01-15 01:56:43 UTC) #1
ojan
5 years, 11 months ago (2015-01-15 20:47:44 UTC) #3
esprehn
lgtm
5 years, 11 months ago (2015-01-15 20:52:49 UTC) #4
ojan
5 years, 11 months ago (2015-01-15 21:02:07 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5738b6bebcd8b6a85911523b47b705420c5d3c58 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698