[Mesa-dev] Which code will do drawing commands in "ctx->buf"?

Homer Hsing homer.hsing at gmail.com
Tue May 22 01:55:30 PDT 2012


Thanks :) Btw, is the code executing the drawing commands also in MESA? If
it is, which files are they in? If  not, where can I find the
code executing the drawing commands?

2012/5/22 Michel Dänzer <michel at daenzer.net>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120522/98377b77/attachment.htm>


More information about the mesa-dev mailing list