Displaying 2 results from an estimated 2 matches for "gallium_trace".
2016 Apr 05
2
a few questions about OpenGL and nouveau
Hi... I know... glBegin/glEnd is deprecated but I have an old computer
32bit CPU,
running fedora 19, mesa-9.2.4, NV63... any help are welcomed.
Please forgive if I misuderstood everything.
So I have a simple OpenGL program that draws a black background and a white
line... I will write the code of myline() inside of main() so as I can
learn.
main (..) {
X and glX stuff...
/* at this moment I
2016 Apr 05
0
a few questions about OpenGL and nouveau
...y
> ctx->Driver.MapBufferRange...*/
The gallium state tracker does not support immediate vertex
submission. There's a "vbo" layer in front of it which converts
immediate vertex submissions into writes to a VBO, which is then bound
and drawn with.
You may be interested in doing GALLIUM_TRACE=foo.xml [on a debug mesa
build] which will create an xml file of all the state tracker calls.
It will show you the VBO setup, etc.
State is only emitted at draw time (or something like blits, clears,
etc). So doing glViewport() does nothing. It dirties internal state,
which is then emitted at draw...