[Mesa-dev] Which code will do drawing commands in "ctx->buf"?
Michel Dänzer
michel at daenzer.net
Tue May 22 01:31:37 PDT 2012
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
More information about the mesa-dev
mailing list