Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何将图像数据存储在 X 服务器内存中,以便图像的渲染(例如在滚动中)更快,从而可以减少到 x 客户端的往返行程?
我终于想出了怎么做。我们可以使用支持像素图,也可以使用函数调用 gdk_draw_drawable() 将窗口的一部分直接复制到可绘制对象。使用 pixmap 会将图像数据存储在服务器端,因此将减少到客户端的往返次数