On Die, 2012-05-22 at 13:32 +0800, Homer Hsing wrote: > I have a newbie question when tracing a bug in MESA. > > > After "__glXFlushRenderBuffer" calling "xcb_glx_render", which code > will do drawing commands in "ctx->buf" ? > > > Reference: in MESA src/glx/glxext.c, > GLubyte * __glXFlushRenderBuffer(struct glx_context * ctx, GLubyte * > pc) { > /* some code omitted */ > xcb_glx_render(c, ctx->currentContextTag, size, > (const uint8_t *) ctx->buf); > /* some code omitted */ > }
The commands are submitted to the X server via the X11 protocol and executed there. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev