MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / createNewPixmap

Method createNewPixmap

source/x11/xserver.cpp:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425XPixmapPtr 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
432XPixmapPtr XServer::getPixmap(U32 pixmap) {
433 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(pixmapsMutex);

Callers 2

x11_CreatePixmapFunction · 0.80
x11_CreateBitmapFromDataFunction · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected