search for: draw_elements

Displaying 2 results from an estimated 2 matches for "draw_elements".

2009 Dec 28
3
Synchronization mostly missing?
...as vertices going to infinity, and random polygons appearing. This can be seen in progs/demos/engine, progs/demos/dinoshade, Blender, Extreme Tux Racer and probably any non-trivial OpenGL software. The problem can be significantly reduced by just adding a waiting loop at the end of draw_arrays and draw_elements, or by synchronizing drawing by adding and calling the following function instead of pipe->flush in nv40_vbo.c: I think the remaining artifacts may be due to missing 2D engine synchronization, but I'm not sure how that works. Note that this causes the CPU to wait for rendering, which is not...
2010 Jan 15
0
More on GART vertex buffer corruption
...1, subchannel 1 (0xbeef3097),offset 0x0100,increment 00000000 NV40TCL.NOP And probably waits for the fence afterwards. 0x1710 does something relating to vertex buffer caching. 0x1d6c and 0x1d70 are a 3D engine fence emission. Adding 0x1710 and waiting for our usual fences both before and after draw_elements did not fix the problem. I haven't tried using the 3D fencing mechanism. It seems we might be better off always putting vertex buffers in VRAM, since the blob does so and while writing to them might be a bit slower, the required synchronization may be even worse. I attached a renouveau test f...