| 423 | } |
| 424 | |
| 425 | XPixmapPtr XServer::createNewPixmap(U32 width, U32 height, U32 depth, const VisualPtr& visual) { |
| 426 | BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(pixmapsMutex); |
| 427 | XPixmapPtr result = std::make_shared<XPixmap>(width, height, depth, visual); |
| 428 | pixmaps.set(result->id, result); |
| 429 | return result; |
| 430 | } |
| 431 | |
| 432 | XPixmapPtr XServer::getPixmap(U32 pixmap) { |
| 433 | BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(pixmapsMutex); |
no test coverage detected