| 260 | } |
| 261 | |
| 262 | void WindowRectAllocator::invalidateClosedWindows() |
| 263 | { |
| 264 | for ( auto it = windows_.begin(); it != windows_.end(); ) |
| 265 | { |
| 266 | if ( it->second.state_ == AllocationState::None ) |
| 267 | { |
| 268 | it = windows_.erase( it ); |
| 269 | continue; |
| 270 | } |
| 271 | else if ( it->second.state_ == AllocationState::Set ) |
| 272 | it->second.state_ = AllocationState::None; // we will validate that this window is still present when window Begin function will be called |
| 273 | |
| 274 | ++it; |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | WindowRectAllocator& getDefaultWindowRectAllocator() |
| 279 | { |
no test coverage detected