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? <br><br><div class="gmail_quote">2012/5/22 Michel Dänzer <span dir="ltr"><<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Die, 2012-05-22 at 13:32 +0800, Homer Hsing wrote:<br>
> I have a newbie question when tracing a bug in MESA.<br>
><br>
><br>
> After "__glXFlushRenderBuffer" calling "xcb_glx_render", which code<br>
> will do drawing commands in "ctx->buf" ?<br>
><br>
><br>
> Reference: in MESA src/glx/glxext.c,<br>
> GLubyte * __glXFlushRenderBuffer(struct glx_context * ctx, GLubyte *<br>
> pc) {<br>
> /* some code omitted */<br>
> xcb_glx_render(c, ctx->currentContextTag, size,<br>
> (const uint8_t *) ctx->buf);<br>
> /* some code omitted */<br>
> }<br>
<br>
</div></div>The commands are submitted to the X server via the X11 protocol and<br>
executed there.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Earthling Michel Dänzer | <a href="http://www.amd.com" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast | Debian, X and DRI developer<br>
</font></span></blockquote></div><br>