Home
last modified time | relevance | path

Searched refs:mailboxInfo (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCanvas2DLayerBridge.cpp103 Vector<MailboxInfo>::iterator mailboxInfo; in ~Canvas2DLayerBridge() local
104 for (mailboxInfo = m_mailboxes.begin(); mailboxInfo < m_mailboxes.end(); mailboxInfo++) { in ~Canvas2DLayerBridge()
105 ASSERT(mailboxInfo->m_status != MailboxInUse); in ~Canvas2DLayerBridge()
106 if (mailboxInfo->m_status == MailboxReleased) { in ~Canvas2DLayerBridge()
107 if (mailboxInfo->m_mailbox.syncPoint) { in ~Canvas2DLayerBridge()
108 context()->waitSyncPoint(mailboxInfo->m_mailbox.syncPoint); in ~Canvas2DLayerBridge()
109 mailboxInfo->m_mailbox.syncPoint = 0; in ~Canvas2DLayerBridge()
112 mailboxInfo->m_image->getTexture()->invalidateCachedState(); in ~Canvas2DLayerBridge()
282 Vector<MailboxInfo>::iterator mailboxInfo; in prepareMailbox() local
283 for (mailboxInfo = m_mailboxes.begin(); mailboxInfo < m_mailboxes.end(); mailboxInfo++) { in prepareMailbox()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DDrawingBuffer.cpp225 RefPtr<MailboxInfo> mailboxInfo = m_textureMailboxes[i]; in mailboxReleased() local
226 if (!memcmp(mailboxInfo->mailbox.name, mailbox.name, sizeof(mailbox.name))) { in mailboxReleased()
227 mailboxInfo->mailbox.syncPoint = mailbox.syncPoint; in mailboxReleased()
228 m_recycledMailboxes.append(mailboxInfo.release()); in mailboxReleased()
240 RefPtr<MailboxInfo> mailboxInfo = m_recycledMailboxes.last().release(); in recycledMailbox() local
243 if (mailboxInfo->mailbox.syncPoint) { in recycledMailbox()
244 context()->waitSyncPoint(mailboxInfo->mailbox.syncPoint); in recycledMailbox()
245 mailboxInfo->mailbox.syncPoint = 0; in recycledMailbox()
248 context()->bindTexture(GL_TEXTURE_2D, mailboxInfo->textureId); in recycledMailbox()
249 context()->consumeTextureCHROMIUM(GL_TEXTURE_2D, mailboxInfo->mailbox.name); in recycledMailbox()
[all …]