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

Issue 2026033002: cc: Remove can_use_lcd_text from draw properties (Closed)

Created:
4 years, 6 months ago by sunxd
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove can_use_lcd_text from draw properties The lcd text is only updated at commit time. We should compute whether or not to use_lcd_text on demand rather than updating it every frame. BUG=581842 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5a7a40314dca3ebb0ac625f839abfaab115ae496 Cr-Commit-Position: refs/heads/master@{#397194}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename can_use_lcd_text to CanUseLCDText #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -162 lines) Patch
M cc/layers/draw_properties.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/draw_properties.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_impl.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/layer_impl.cc View 1 2 2 chunks +28 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_host_common_test.h View 2 chunks +4 lines, -18 lines 0 comments Download
M cc/test/layer_tree_host_common_test.cc View 3 chunks +2 lines, -8 lines 0 comments Download
M cc/trees/draw_property_utils.h View 1 chunk +1 line, -3 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 chunks +1 line, -33 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 4 chunks +2 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 5 chunks +69 lines, -75 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
sunxd
4 years, 6 months ago (2016-06-01 14:26:49 UTC) #3
ajuma
Nice! Just one nit: https://codereview.chromium.org/2026033002/diff/1/cc/layers/layer_impl.h File cc/layers/layer_impl.h (right): https://codereview.chromium.org/2026033002/diff/1/cc/layers/layer_impl.h#newcode322 cc/layers/layer_impl.h:322: bool can_use_lcd_text() const; Style nit: ...
4 years, 6 months ago (2016-06-01 15:38:38 UTC) #4
sunxd
I rename it to CanUseLCDText as there is a LCDTextTest in layer_tree_host_common_unittest.cc. https://codereview.chromium.org/2026033002/diff/1/cc/layers/layer_impl.h File cc/layers/layer_impl.h ...
4 years, 6 months ago (2016-06-01 15:54:48 UTC) #5
ajuma
Thanks, lgtm
4 years, 6 months ago (2016-06-01 16:51:20 UTC) #6
sunxd
4 years, 6 months ago (2016-06-01 17:27:10 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2026033002/40001
4 years, 6 months ago (2016-06-01 17:27:20 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 18:37:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2026033002/40001
4 years, 6 months ago (2016-06-01 18:44:10 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-01 18:49:40 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 19:11:43 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5a7a40314dca3ebb0ac625f839abfaab115ae496
Cr-Commit-Position: refs/heads/master@{#397194}

Powered by Google App Engine
This is Rietveld 408576698