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

Issue 213743005: cc: Remove TextureLayer::SetTextureId and TextureLayer::WillModifyTexture (Closed)

Created:
6 years, 8 months ago by piman
Modified:
6 years, 8 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, Ian Vollick, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, danakj+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

cc: Remove TextureLayer::SetTextureId and TextureLayer::WillModifyTexture These are not used anymore except for clearing the client-provided texture, so this removes 1 of 4 TextureLayer paths, and simplifies externally-exposed state. BUG=337922 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261380

Patch Set 1 #

Patch Set 2 : fix compile #

Total comments: 18

Patch Set 3 : address review comments #

Patch Set 4 : rebase on top of https://codereview.chromium.org/219963015/, fix assert #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -164 lines) Patch
M cc/layers/texture_layer.h View 1 2 3 4 5 4 chunks +13 lines, -7 lines 0 comments Download
M cc/layers/texture_layer.cc View 1 2 6 chunks +21 lines, -27 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 8 chunks +200 lines, -121 lines 0 comments Download
M content/shell/renderer/test_runner/TestPlugin.cpp View 1 1 chunk +2 lines, -5 lines 0 comments Download
M ui/compositor/layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
piman
danakj: please review. This is essentially a rebase of https://chromiumcodereview.appspot.com/19303003 enne: OWNERs for webkit/renderer/compositor_bindings
6 years, 8 months ago (2014-04-01 05:06:28 UTC) #1
danakj
Yay, thanks! https://codereview.chromium.org/213743005/diff/20001/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/213743005/diff/20001/cc/layers/texture_layer.cc#newcode60 cc/layers/texture_layer.cc:60: } else { else if (texture_id_) ? ...
6 years, 8 months ago (2014-04-01 15:03:36 UTC) #2
enne (OOO)
webkit/compositor_bindings/ rslgtm
6 years, 8 months ago (2014-04-01 17:28:03 UTC) #3
piman
Addressed review comments, but this CL isn't enough for Android which introduced some more SetTextureId ...
6 years, 8 months ago (2014-04-01 20:21:10 UTC) #4
piman
We're removing the non-ubercomp path on Android in https://codereview.chromium.org/219963015/, so rebased on top of that ...
6 years, 8 months ago (2014-04-01 23:59:29 UTC) #5
danakj
LGTM w/ 1 more thing https://codereview.chromium.org/213743005/diff/60001/cc/layers/texture_layer.h File cc/layers/texture_layer.h (right): https://codereview.chromium.org/213743005/diff/60001/cc/layers/texture_layer.h#newcode95 cc/layers/texture_layer.h:95: // this call it ...
6 years, 8 months ago (2014-04-02 14:47:37 UTC) #6
piman
The CQ bit was checked by piman@chromium.org
6 years, 8 months ago (2014-04-02 22:11:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/213743005/100001
6 years, 8 months ago (2014-04-02 22:11:32 UTC) #8
piman
https://codereview.chromium.org/213743005/diff/60001/cc/layers/texture_layer.h File cc/layers/texture_layer.h (right): https://codereview.chromium.org/213743005/diff/60001/cc/layers/texture_layer.h#newcode95 cc/layers/texture_layer.h:95: // this call it is safe to destroy the ...
6 years, 8 months ago (2014-04-02 22:11:36 UTC) #9
danakj
On Wed, Apr 2, 2014 at 6:11 PM, <piman@chromium.org> wrote: > > https://codereview.chromium.org/213743005/diff/60001/cc/ > layers/texture_layer.h ...
6 years, 8 months ago (2014-04-02 22:35:39 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 08:37:20 UTC) #11
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 08:37:20 UTC) #12
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 8 months ago (2014-04-03 14:25:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/213743005/100001
6 years, 8 months ago (2014-04-03 14:26:04 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 14:40:59 UTC) #15
Message was sent while issue was closed.
Change committed as 261380

Powered by Google App Engine
This is Rietveld 408576698