Home
last modified time | relevance | path

Searched refs:m_discardable (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DPurgeableVector.cpp84 if (m_discardable) { in moveDataFromDiscardableToVector()
85 m_vector.append(static_cast<const char*>(m_discardable->data()), m_discardableSize); in moveDataFromDiscardableToVector()
92 m_discardable.clear(); in clearDiscardable()
106 const size_t currentSize = m_discardable ? m_discardableSize : m_vector.size(); in append()
116 memcpy(static_cast<char*>(m_discardable->data()) + m_discardableSize, data, length); in append()
144 return m_discardable ? static_cast<char*>(m_discardable->data()) : m_vector.data(); in data()
149 return m_discardable ? m_discardableSize : m_vector.size(); in size()
176 if (!m_discardable) in lock()
179 return m_discardable->lock(); in lock()
190 ASSERT(!m_discardable); in unlock()
[all …]
DPurgeableVector.h118 OwnPtr<blink::WebDiscardableMemory> m_discardable; variable
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DDiscardablePixelRef.cpp85 m_discardable = adoptPtr(blink::Platform::current()->allocateAndLockDiscardableMemory(bytes)); in allocAndLockDiscardableMemory()
86 if (m_discardable) { in allocAndLockDiscardableMemory()
87 m_lockedMemory = m_discardable->data(); in allocAndLockDiscardableMemory()
95 if (!m_lockedMemory && m_discardable->lock()) in onNewLockPixels()
96 m_lockedMemory = m_discardable->data(); in onNewLockPixels()
110 m_discardable->unlock(); in onUnlockPixels()
DDiscardablePixelRef.h65 OwnPtr<blink::WebDiscardableMemory> m_discardable; variable