I've been playing gallium on NV40 hardware a bit this week, so far it seems very nice. However... :)
The hardware supports selective clearing of each channel of the primary render target, depth, and stencil buffers in a single operation. The current buffer clear interface is called with separate pipe_surface structs for each GL_x_BUFFER_BIT, which makes it difficult to use this functionality (which is somewhat faster when clearing both colour and depth/stencil buffers at the same time). Is there any plan for a pipe->fb_clear() (for example) interface, which would pass in a bit mask saying "clear these buffers that are currently bound to the framebuffer", similar to the interface in the "old" driver model? Cheers, Ben. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev