void WebExternalTextureLayerImpl::clearTexture() {
TextureLayer *layer = static_cast<TextureLayer*>(layer_->layer());
- layer->WillModifyTexture();
- layer->SetTextureMailbox(cc::TextureMailbox(),
- scoped_ptr<cc::SingleReleaseCallback>());
+ layer->ClearTexture();
}
void WebExternalTextureLayerImpl::setOpaque(bool opaque) {
static_cast<TextureLayer*>(layer_->layer())->SetRateLimitContext(rate_limit);
}
-unsigned WebExternalTextureLayerImpl::PrepareTexture() {
- NOTREACHED();
- return 0;
-}
-
bool WebExternalTextureLayerImpl::PrepareTextureMailbox(
cc::TextureMailbox* mailbox,
scoped_ptr<cc::SingleReleaseCallback>* release_callback,