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

Issue 13726013: Smart layer invalidation for LCD text. (Closed)

Created:
7 years, 8 months ago by alokp
Modified:
7 years, 8 months ago
Reviewers:
vmpstr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Smart layer invalidation for LCD text. When LCD text needs to be disabled for a layer, we can invalidate just the tiles containing text. This only works with impl-side painting where it is very cheap to mark tiles that have text. BUG=181245 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192936

Patch Set 1 #

Total comments: 5

Patch Set 2 : addressed comments #

Patch Set 3 : fixed compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -6 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/tile.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M skia/ext/analysis_canvas.h View 3 chunks +3 lines, -0 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 10 chunks +17 lines, -2 lines 0 comments Download
M skia/ext/analysis_canvas_unittest.cc View 1 1 chunk +125 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
alokp
I thought it was a smart idea until I wrote the unittest. It seems AnalysisCanvas ...
7 years, 8 months ago (2013-04-05 18:48:16 UTC) #1
vmpstr
> Vlad - Am I missing something? How is solid-color detection working if the layer ...
7 years, 8 months ago (2013-04-05 20:04:30 UTC) #2
enne (OOO)
https://codereview.chromium.org/13726013/diff/1/skia/ext/analysis_canvas.cc File skia/ext/analysis_canvas.cc (right): https://codereview.chromium.org/13726013/diff/1/skia/ext/analysis_canvas.cc#newcode191 skia/ext/analysis_canvas.cc:191: color_ = color; Do you need to set hasText_ ...
7 years, 8 months ago (2013-04-05 21:39:36 UTC) #3
alokp
Longer term I would like to track text region in the same way we track ...
7 years, 8 months ago (2013-04-05 22:50:11 UTC) #4
enne (OOO)
lgtm https://codereview.chromium.org/13726013/diff/1/skia/ext/analysis_canvas.h File skia/ext/analysis_canvas.h (right): https://codereview.chromium.org/13726013/diff/1/skia/ext/analysis_canvas.h#newcode38 skia/ext/analysis_canvas.h:38: bool hasText() const; On 2013/04/05 22:50:11, Alok Priyadarshi ...
7 years, 8 months ago (2013-04-05 22:58:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/13726013/7001
7 years, 8 months ago (2013-04-08 18:06:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/13726013/21002
7 years, 8 months ago (2013-04-08 18:17:22 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=116002
7 years, 8 months ago (2013-04-08 20:10:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/13726013/21002
7 years, 8 months ago (2013-04-08 21:42:53 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-08 22:45:19 UTC) #10
Message was sent while issue was closed.
Change committed as 192936

Powered by Google App Engine
This is Rietveld 408576698