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

Function x11_GetImage

source/x11/x11common.cpp:1592–1599  ·  view source on GitHub ↗

XImage* XGetImage(Display* display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format)

Source from the content-addressed store, hash-verified

1590
1591// XImage* XGetImage(Display* display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format)
1592static void x11_GetImage(CPU* cpu) {
1593 KThread* thread = cpu->thread;
1594 XServer* server = XServer::getServer();
1595 XDrawablePtr d = server->getDrawable(ARG2);
1596 VisualPtr visual = d->getVisual();
1597
1598 EAX = d->getImage(thread, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8, visual->red_mask, visual->green_mask, visual->blue_mask);
1599}
1600
1601// int XPutImage(Display* display, Drawable d, GC gc, XImage* image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)
1602static void x11_PutImage(CPU* cpu) {

Callers

nothing calls this directly

Calls 3

getDrawableMethod · 0.80
getImageMethod · 0.80
getVisualMethod · 0.45

Tested by

no test coverage detected