| 344 | } |
| 345 | |
| 346 | void CDX9SubPicAllocator::ClearCache() |
| 347 | { |
| 348 | { |
| 349 | // Clear the allocator of any remaining subpics |
| 350 | CAutoLock Lock(&ms_SurfaceQueueLock); |
| 351 | for (auto& pSubPic : m_AllocatedSurfaces) { |
| 352 | pSubPic->m_pAllocator = nullptr; |
| 353 | } |
| 354 | m_AllocatedSurfaces.clear(); |
| 355 | m_FreeSurfaces.clear(); |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | // ISubPicAllocator |
| 360 |
nothing calls this directly
no outgoing calls
no test coverage detected