HomeSort by relevance Sort by last modified time
    Searched refs:m_bytesAllocated (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Canvas2DLayerManager.cpp 43 : m_bytesAllocated(0)
52 ASSERT(!m_bytesAllocated);
108 m_bytesAllocated += layer->bytesAllocated();
117 ASSERT((intptr_t)m_bytesAllocated + deltaBytes >= 0);
118 m_bytesAllocated = (intptr_t)m_bytesAllocated + deltaBytes;
132 if (m_bytesAllocated > m_maxBytesAllocated) {
135 while (m_bytesAllocated > m_targetBytesAllocated && layer) {
136 layer->freeMemoryIfPossible(m_bytesAllocated - m_targetBytesAllocated);
142 while (m_bytesAllocated > m_targetBytesAllocated && leastRecentlyUsedLayer)
    [all...]
Canvas2DLayerManager.h 55 size_t m_bytesAllocated;
Canvas2DLayerBridge.h 80 size_t bytesAllocated() const {return m_bytesAllocated;}
93 size_t m_bytesAllocated;
Canvas2DLayerBridge.cpp 78 , m_bytesAllocated(0)
166 intptr_t delta = (intptr_t)bytesAllocated - (intptr_t)m_bytesAllocated;
167 m_bytesAllocated = bytesAllocated;
208 m_bytesAllocated -= bytesFreed;
  /external/chromium_org/third_party/WebKit/Source/web/tests/
Canvas2DLayerManagerTest.cpp 61 return m_bytesAllocated;
76 m_bytesAllocated -= bytesFreed;
124 EXPECT_EQ((size_t)0, manager.m_bytesAllocated);
126 EXPECT_EQ((size_t)1, manager.m_bytesAllocated);
129 EXPECT_EQ((size_t)2, manager.m_bytesAllocated);
132 EXPECT_EQ((size_t)1, manager.m_bytesAllocated);
136 EXPECT_EQ((size_t)1, manager.m_bytesAllocated);
139 EXPECT_EQ((size_t)3, manager.m_bytesAllocated);
142 EXPECT_EQ((size_t)1, manager.m_bytesAllocated);

Completed in 1077 milliseconds