Home | History | Annotate | Download | only in layers

Lines Matching refs:mailbox

129 void TextureLayer::SetTextureMailbox(const TextureMailbox& mailbox) {
131 DCHECK(!mailbox.IsValid() || !holder_ref_ ||
132 !mailbox.Equals(holder_ref_->holder()->mailbox()));
133 // If we never commited the mailbox, we need to release it here.
134 if (mailbox.IsValid())
135 holder_ref_ = MailboxHolder::Create(mailbox);
169 // we will need to set the mailbox again on a new TextureLayerImpl the next
185 TextureMailbox mailbox;
187 &mailbox, layer_tree_host()->UsingSharedMemoryResources())) {
188 SetTextureMailbox(mailbox);
202 // SetTextureMailbox could be called externally and the same mailbox used for
224 texture_mailbox = holder->mailbox().CopyWithNewCallback(callback);
265 TextureLayer::MailboxHolder::MailboxHolder(const TextureMailbox& mailbox)
268 mailbox_(mailbox),
269 sync_point_(mailbox.sync_point()),
278 TextureLayer::MailboxHolder::Create(const TextureMailbox& mailbox) {
280 new MailboxHolder(mailbox)));