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

Issue 2560723006: [2/5] Disable transformed rasterization if layer is opaque (Closed)

Created:
4 years ago by trchen
Modified:
3 years, 8 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[2/5] Disable transformed rasterization if layer is opaque This CL disables transformed rasterization for opaque layers. The reason is because transformed rasterization layers do not paint solid color paddings around aliased layer edges. Those aliased edges will not be opaque. However the opaque bound is only known until the actual raster transform is determined, and in the worst corner case the whole layer rect could be non-opaque with some extreme scale factor. This defeats many opaque optimization. Prefer optimization over quality for this particular case. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2560723006 Cr-Commit-Position: refs/heads/master@{#461613} Committed: https://chromium.googlesource.com/chromium/src/+/c3593fe02146ff693ce324259b9b292bd43e4910

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase & add comments #

Patch Set 3 : minus patch 1 #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : change strategy #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M cc/layers/picture_layer.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
enne (OOO)
https://codereview.chromium.org/2560723006/diff/1/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/2560723006/diff/1/cc/layers/picture_layer.cc#newcode105 cc/layers/picture_layer.cc:105: recording_source_->SetBackgroundColor(UseTransformedRasterization() ? SK_ColorTRANSPARENT : SafeOpaqueBackgroundColor()); This needs a comment ...
3 years, 11 months ago (2017-01-03 22:53:08 UTC) #3
trchen
https://codereview.chromium.org/2560723006/diff/1/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/2560723006/diff/1/cc/layers/picture_layer.cc#newcode105 cc/layers/picture_layer.cc:105: recording_source_->SetBackgroundColor(UseTransformedRasterization() ? SK_ColorTRANSPARENT : SafeOpaqueBackgroundColor()); On 2017/01/03 22:53:07, enne ...
3 years, 11 months ago (2017-01-14 00:46:46 UTC) #4
enne (OOO)
https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc#newcode106 cc/layers/picture_layer.cc:106: // When transformed rasterization is used, we try to ...
3 years, 8 months ago (2017-03-29 13:01:42 UTC) #7
trchen
https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc#newcode106 cc/layers/picture_layer.cc:106: // When transformed rasterization is used, we try to ...
3 years, 8 months ago (2017-03-29 21:50:36 UTC) #8
enne (OOO)
On 2017/03/29 at 21:50:36, trchen wrote: > https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc > File cc/layers/picture_layer.cc (right): > > https://codereview.chromium.org/2560723006/diff/60001/cc/layers/picture_layer.cc#newcode106 ...
3 years, 8 months ago (2017-03-30 14:51:04 UTC) #9
trchen
On 2017/03/30 14:51:04, enne wrote: > On 2017/03/29 at 21:50:36, trchen wrote: > > > ...
3 years, 8 months ago (2017-03-30 18:24:26 UTC) #10
trchen
Done.
3 years, 8 months ago (2017-03-30 21:33:49 UTC) #12
enne (OOO)
lgtm, thanks. I am open to trying different approaches in the future, but I think ...
3 years, 8 months ago (2017-03-30 21:37:53 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/2560723006/100001
3 years, 8 months ago (2017-04-03 22:41:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/414127)
3 years, 8 months ago (2017-04-04 00:44:30 UTC) #18
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/2560723006/100001
3 years, 8 months ago (2017-04-04 01:00:15 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 02:13:12 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c3593fe02146ff693ce324259b9b...

Powered by Google App Engine
This is Rietveld 408576698