Here's my first stab at adding conditional rendering to gallium (and softpipe and the Mesa state tracker).
It's pretty simple. There's one new pipe_context function: render_condition(). It specifies the pipe_query object to check before rendering. If the query parameter is NULL it means render normally. This is for implementing GL_NV_conditional_render and the corresponding feature in OpenGL 3.0. Comments? -Brian
0001-gallium-pipe_context-render_condition-and-mode-f.patch
Description: Binary data
0002-softpipe-implement-conditional-rendering.patch
Description: Binary data
0003-st-mesa-move-st_query_object-type-to-header-to-make.patch
Description: Binary data
0004-st-mesa-implement-conditional-rendering.patch
Description: Binary data
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev