On 01.01.2010 00:57, Brian Paul wrote: > The BY_REGION modes indicate that it's OK for the GPU to discard the > fragments in the region(s) which failed the occlusion test (perhaps > skipping other per-fragment ops that would have otherwise occurred). > See the spec at > http://www.opengl.org/registry/specs/NV/conditional_render.txt for > details. > > I'd be happy to omit those modes for now. But since they're in the NV > spec, I suspect NVIDIA hardware (at least) can make use of them. > > -Brian > > Hi, I was just told about hardware FIFO semaphores so now I know how I can make the nv50 *wait* for the query result, so I see no problem implementing (with) this context function.
The per-region modes seem to be split frame / SLI related (at least the commands sent to the GPU for them are the same as those for non-BY_REGION), which I haven't even begun to think about. > On Thu, Dec 31, 2009 at 3:12 PM, Keith Whitwell <kei...@vmware.com> wrote: > >> Brian, >> >> What's the meaning of the BY_REGION modes added to p_defines.h? I haven't >> looked at the NV extension too closely, but it's not obvious what these >> mean... >> >> Keith >> ________________________________________ >> From: Brian Paul [brian.e.p...@gmail.com] >> Sent: Thursday, December 31, 2009 1:55 PM >> To: mesa3d-dev >> Subject: [Mesa3d-dev] RFC: gallium changes for conditional rendering >> >> 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 >> >> > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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