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

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

Created:
7 years, 5 months ago by piman
Modified:
7 years, 5 months ago
Reviewers:
jamesr, jdduke (slow), danakj, clholgat, dtrainor, no sievers
CC:
chromium-reviews, yusukes+watch_chromium.org, jonathan.backer, Ian Vollick, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, aelias_OOO_until_Jul13, clholgat, David Trainor- moved to gerrit
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 implifies externally-exposed state. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212008

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : wrong base #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -156 lines) Patch
M cc/layers/texture_layer.h View 4 chunks +13 lines, -6 lines 0 comments Download
M cc/layers/texture_layer.cc View 7 chunks +25 lines, -23 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 10 chunks +216 lines, -123 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +1 line, -1 line 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, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
piman
danakj: please review jamesr: webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc sievers: content/browser/renderer_host/render_widget_host_view_android.cc Needs https://codereview.chromium.org/18796008/ for the tests.
7 years, 5 months ago (2013-07-15 23:16:48 UTC) #1
jamesr
lgtm
7 years, 5 months ago (2013-07-15 23:17:41 UTC) #2
danakj
LGTM https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc#newcode46 cc/layers/texture_layer.cc:46: } Should we ClearClient() in here? Or DCHECK ...
7 years, 5 months ago (2013-07-15 23:25:05 UTC) #3
no sievers
On 2013/07/15 23:16:48, piman wrote: > danakj: please review > jamesr: webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc > sievers: content/browser/renderer_host/render_widget_host_view_android.cc ...
7 years, 5 months ago (2013-07-15 23:28:42 UTC) #4
piman
https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc#newcode46 cc/layers/texture_layer.cc:46: } On 2013/07/15 23:25:05, danakj wrote: > Should we ...
7 years, 5 months ago (2013-07-16 00:03:11 UTC) #5
danakj
https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/19303003/diff/1/cc/layers/texture_layer.cc#newcode46 cc/layers/texture_layer.cc:46: } On 2013/07/16 00:03:12, piman wrote: > On 2013/07/15 ...
7 years, 5 months ago (2013-07-16 00:03:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/19303003/9001
7 years, 5 months ago (2013-07-17 01:16:25 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=15577
7 years, 5 months ago (2013-07-17 03:26:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/19303003/17001
7 years, 5 months ago (2013-07-17 04:13:56 UTC) #9
commit-bot: I haz the power
Change committed as 212008
7 years, 5 months ago (2013-07-17 09:24:32 UTC) #10
jdduke (slow)
[+clholgat, +aelias, +dtrainor] Chrome for Android makes use of TextureLayer::SetTextureId for most of its custom ...
7 years, 5 months ago (2013-07-17 15:11:04 UTC) #11
clholgat_google.com
The old way is deprecated. The new way is not yet ready. I think there ...
7 years, 5 months ago (2013-07-17 16:40:37 UTC) #12
danakj
On Wed, Jul 17, 2013 at 9:40 AM, Carson Holgate <clholgat@google.com> wrote: > The old ...
7 years, 5 months ago (2013-07-17 16:45:01 UTC) #13
dtrainor
AFAIK ImageLayer doesn't work with compressed images and always keeps a software copy (not at ...
7 years, 5 months ago (2013-07-17 16:48:11 UTC) #14
dtrainor
Ah sorry by compressed images I mean ETC1 texture compression. On Jul 17, 2013 9:48 ...
7 years, 5 months ago (2013-07-17 16:48:45 UTC) #15
no sievers
TextureLayerClient::PrepareTexture() provides the same functionality as TextureLayer::SetTextureId(). The trick is just to manage client lifetime ...
7 years, 5 months ago (2013-07-17 16:52:32 UTC) #16
no sievers
On 2013/07/17 16:52:32, Daniel Sievers wrote: > TextureLayerClient::PrepareTexture() provides the same functionality as > TextureLayer::SetTextureId(). ...
7 years, 5 months ago (2013-07-17 17:20:55 UTC) #17
jdduke (slow)
On 2013/07/17 16:52:32, Daniel Sievers wrote: > TextureLayerClient::PrepareTexture() provides the same functionality as > TextureLayer::SetTextureId(). ...
7 years, 5 months ago (2013-07-17 17:26:04 UTC) #18
aberent
7 years, 5 months ago (2013-07-18 11:03:56 UTC) #19
Message was sent while issue was closed.
With agreement from piman@ I have reverted this CL for now, since it breaks
Chrome for Android. The revert is https://codereview.chromium.org/19463010, and
the bug is https://code.google.com/p/chromium/issues/detail?id=261151.

Powered by Google App Engine
This is Rietveld 408576698