Hello, In the following code why mage->base.row_pitches[0] is divided by 4 and passed as width to xcb_put_function() ?
26 static VkResult 25 x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index, ... 15 14 cookie = xcb_put_image(chain->conn, XCB_IMAGE_FORMAT_Z_PIXMAP, 13 chain->window, 12 chain->gc, 11 image->base.row_pitches[0] / 4, 10 chain->extent.height, 9 0,0,0,24, 8 image->base.row_pitches[0] * chain->extent.height, 7 myptr); Thanks, Vivek
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev