Home
last modified time | relevance | path

Searched refs:texture_layer_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_compositing_helper.cc220 texture_layer_ = NULL; in OnContainerDestroy()
251 if (!texture_layer_.get()) { in OnBuffersSwappedPrivate()
252 texture_layer_ = cc::TextureLayer::CreateForMailbox(NULL); in OnBuffersSwappedPrivate()
253 texture_layer_->SetIsDrawable(true); in OnBuffersSwappedPrivate()
256 background_layer_->AddChild(texture_layer_); in OnBuffersSwappedPrivate()
271 texture_layer_.get()); in OnBuffersSwappedPrivate()
297 texture_layer_->SetFlipped(!is_software_frame); in OnBuffersSwappedPrivate()
298 texture_layer_->SetTextureMailbox(texture_mailbox, release_callback.Pass()); in OnBuffersSwappedPrivate()
299 texture_layer_->SetNeedsDisplay(); in OnBuffersSwappedPrivate()
372 DCHECK(!texture_layer_.get()); in OnCompositorFrameSwapped()
[all …]
Dbrowser_plugin_compositing_helper.h130 scoped_refptr<cc::TextureLayer> texture_layer_; variable
/external/chromium_org/cc/layers/
Dtexture_layer_unittest.cc1433 texture_layer_ = TextureLayer::Create(this); in SetupTree()
1434 texture_layer_->SetBounds(gfx::Size(10, 10)); in SetupTree()
1435 texture_layer_->SetAnchorPoint(gfx::PointF()); in SetupTree()
1436 texture_layer_->SetIsDrawable(true); in SetupTree()
1437 root->AddChild(texture_layer_); in SetupTree()
1455 texture_layer_->ClearClient(); in DidCommitAndDrawFrame()
1456 texture_layer_->SetNeedsDisplay(); in DidCommitAndDrawFrame()
1498 scoped_refptr<TextureLayer> texture_layer_; member in cc::__anon6c6d13890111::TextureLayerClientTest
1564 texture_layer_ = TextureLayer::Create(this); in SetupTree()
1565 texture_layer_->SetBounds(gfx::Size(10, 10)); in SetupTree()
[all …]
/external/chromium_org/ui/compositor/
Dlayer.cc438 if (texture_layer_.get()) in SwitchToLayer()
439 texture_layer_->WillModifyTexture(); in SwitchToLayer()
456 texture_layer_ = NULL; in SwitchToLayer()
489 if (!texture_layer_.get()) { in SetExternalTexture()
493 texture_layer_ = new_layer; in SetExternalTexture()
506 if (!texture_layer_.get() || !texture_layer_->uses_mailbox()) { in SetTextureMailbox()
511 texture_layer_ = new_layer; in SetTextureMailbox()
513 texture_layer_->SetTextureMailbox(mailbox, release_callback.Pass()); in SetTextureMailbox()
646 DCHECK(texture_layer_.get()); in PrepareTexture()
936 if (texture_layer_.get()) { in RecomputeDrawsContentAndUVRect()
[all …]
Dlayer.h269 return texture_layer_.get() || delegated_renderer_layer_.get(); in has_external_content()
479 scoped_refptr<cc::TextureLayer> texture_layer_; variable
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_android.cc130 texture_layer_ = cc::TextureLayer::Create(NULL); in RenderWidgetHostViewAndroid()
131 layer_ = texture_layer_; in RenderWidgetHostViewAndroid()
148 if (texture_layer_.get()) in ~RenderWidgetHostViewAndroid()
149 texture_layer_->ClearClient(); in ~RenderWidgetHostViewAndroid()
889 texture_layer_->SetTextureId(texture_id_in_layer_); in BuffersSwapped()
890 texture_layer_->SetIsDrawable(true); in BuffersSwapped()
891 texture_layer_->SetContentsOpaque(true); in BuffersSwapped()
958 texture_layer_->SetTextureId(0); in AcceleratedSurfaceRelease()
959 texture_layer_->SetIsDrawable(false); in AcceleratedSurfaceRelease()
1209 texture_layer_->SetBounds(clipped_content); in ClipContents()
[all …]
Drender_widget_host_view_android.h300 scoped_refptr<cc::TextureLayer> texture_layer_; variable
/external/chromium_org/content/renderer/pepper/
Dpepper_plugin_instance_impl.cc675 if (texture_layer_) { in InvalidateRect()
677 texture_layer_->SetNeedsDisplay(); in InvalidateRect()
679 texture_layer_->SetNeedsDisplayRect(rect); in InvalidateRect()
687 if (texture_layer_) { in ScrollRect()
706 if (!texture_layer_.get()) in CommitBackingTexture()
714 texture_layer_->SetTextureMailbox( in CommitBackingTexture()
717 texture_layer_->SetNeedsDisplay(); in CommitBackingTexture()
1889 if ((want_layer == !!texture_layer_.get()) && in UpdateLayer()
1895 if (texture_layer_) { in UpdateLayer()
1901 texture_layer_ = NULL; in UpdateLayer()
[all …]
Dpepper_plugin_instance_impl.h668 scoped_refptr<cc::TextureLayer> texture_layer_; variable