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

Issue 222903005: cc: Let skia veto gpu rasterization. (Closed)

Created:
6 years, 8 months ago by alokp
Modified:
6 years, 8 months ago
Reviewers:
ajuma, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, ernstm, Vangelis Kokkevis, bsalomon, humper_pleaseuseotheraccount
Visibility:
Public.

Description

cc: Let skia veto gpu rasterization. Once gpu rasterization is disabled on a layer, it will stay disabled. BUG=329722 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262994

Patch Set 1 #

Patch Set 2 : unit-tests pass #

Patch Set 3 : add PictureLayerImplTest #

Patch Set 4 : moved raster-site stickiness to PictureLayer #

Patch Set 5 : added comments #

Total comments: 8

Patch Set 6 : replaced && with &= #

Total comments: 4

Patch Set 7 : rebase #

Total comments: 2

Patch Set 8 : rebase #

Patch Set 9 : added comment about SetNeedsCommit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -129 lines) Patch
M cc/layers/picture_layer.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 7 8 3 chunks +33 lines, -7 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -19 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 6 chunks +19 lines, -97 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 2 chunks +83 lines, -0 lines 0 comments Download
M cc/resources/picture.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/picture.cc View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M cc/resources/picture_pile.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M cc/resources/picture_pile.cc View 1 2 3 4 5 6 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
alokp
ernstm, vangelis: FYI bsalomon, humper: We need to discuss the usage of GrContext argument in ...
6 years, 8 months ago (2014-04-04 18:19:42 UTC) #1
enne (OOO)
https://codereview.chromium.org/222903005/diff/70001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/222903005/diff/70001/cc/layers/picture_layer.cc#newcode154 cc/layers/picture_layer.cc:154: // This flag will be pushed with the next ...
6 years, 8 months ago (2014-04-04 18:34:19 UTC) #2
enne (OOO)
(Also, unrelated, but I think the "sticky flag on a cc::Layer" pattern isn't the best, ...
6 years, 8 months ago (2014-04-04 18:40:44 UTC) #3
alokp
I agree about moving the sticky state to blink. I will look into it separately. ...
6 years, 8 months ago (2014-04-04 18:50:34 UTC) #4
enne (OOO)
https://codereview.chromium.org/222903005/diff/70001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/222903005/diff/70001/cc/layers/picture_layer.cc#newcode154 cc/layers/picture_layer.cc:154: // This flag will be pushed with the next ...
6 years, 8 months ago (2014-04-04 19:40:07 UTC) #5
alokp
https://codereview.chromium.org/222903005/diff/90001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/222903005/diff/90001/cc/layers/picture_layer.cc#newcode162 cc/layers/picture_layer.cc:162: return has_gpu_rasterization_hint_ == TRIBOOL_TRUE && I do not think ...
6 years, 8 months ago (2014-04-04 21:53:45 UTC) #6
enne (OOO)
Oh, I see. I missed the point that there's two independently sticky settings. Sorry for ...
6 years, 8 months ago (2014-04-04 22:33:29 UTC) #7
bsalomon_chromium
The reason we would need the GrContext is that it has a set of capabilities ...
6 years, 8 months ago (2014-04-07 13:24:39 UTC) #8
alokp
On 2014/04/07 13:24:39, bsalomon1 wrote: > The reason we would need the GrContext is that ...
6 years, 8 months ago (2014-04-07 16:43:29 UTC) #9
alokp
Ali: Can you take a look. I moved around a few of the tests you ...
6 years, 8 months ago (2014-04-07 16:44:29 UTC) #10
humper
On 2014/04/07 16:43:29, Alok Priyadarshi wrote: > On 2014/04/07 13:24:39, bsalomon1 wrote: > > The ...
6 years, 8 months ago (2014-04-07 16:46:21 UTC) #11
ajuma
lgtm with a nit: https://codereview.chromium.org/222903005/diff/90001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (left): https://codereview.chromium.org/222903005/diff/90001/cc/layers/picture_layer_impl_unittest.cc#oldcode1632 cc/layers/picture_layer_impl_unittest.cc:1632: class HybridRasterizationPictureLayerImplTest : public PictureLayerImplTest ...
6 years, 8 months ago (2014-04-07 17:38:25 UTC) #12
alokp
https://codereview.chromium.org/222903005/diff/100001/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/222903005/diff/100001/cc/resources/picture_pile.cc#newcode253 cc/resources/picture_pile.cc:253: is_suitable_for_gpu_rasterization_ &= enne@: I need to move this flag ...
6 years, 8 months ago (2014-04-09 18:28:27 UTC) #13
enne (OOO)
https://codereview.chromium.org/222903005/diff/100001/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/222903005/diff/100001/cc/resources/picture_pile.cc#newcode253 cc/resources/picture_pile.cc:253: is_suitable_for_gpu_rasterization_ &= On 2014/04/09 18:28:27, Alok Priyadarshi wrote: > ...
6 years, 8 months ago (2014-04-09 18:32:53 UTC) #14
alokp
I looked at moving the veto to the impl-thread so that we could pass GrContext ...
6 years, 8 months ago (2014-04-09 23:12:47 UTC) #15
alokp
The CQ bit was checked by alokp@chromium.org
6 years, 8 months ago (2014-04-09 23:22:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/222903005/140001
6 years, 8 months ago (2014-04-09 23:22:18 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 00:33:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-04-10 00:33:07 UTC) #19
alokp
The CQ bit was checked by alokp@chromium.org
6 years, 8 months ago (2014-04-10 00:40:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/222903005/140001
6 years, 8 months ago (2014-04-10 00:41:15 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 01:04:21 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-10 01:04:22 UTC) #23
alokp
The CQ bit was checked by alokp@chromium.org
6 years, 8 months ago (2014-04-10 06:44:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/222903005/140001
6 years, 8 months ago (2014-04-10 06:44:56 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 07:17:47 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-10 07:17:47 UTC) #27
alokp
The CQ bit was checked by alokp@chromium.org
6 years, 8 months ago (2014-04-10 14:10:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/222903005/140001
6 years, 8 months ago (2014-04-10 14:10:18 UTC) #29
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 15:12:22 UTC) #30
Message was sent while issue was closed.
Change committed as 262994

Powered by Google App Engine
This is Rietveld 408576698