| 225 | } |
| 226 | |
| 227 | bool TexPool::Exist(IDParam const& id) |
| 228 | { |
| 229 | m_storMtx->Lock(); |
| 230 | bool ret = (m_stor[id.GetIDHash()].get() != NULL); |
| 231 | m_storMtx->Unlock(); |
| 232 | return ret; |
| 233 | } |
| 234 | |
| 235 | intrusive_ptr<graph::Surface> TexPool::Get(IDParam const& id) |
| 236 | { |
no test coverage detected