gallium-docs: Add note on scissor.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 25 Jan 2010 09:12:30 +0000 (01:12 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 25 Jan 2010 09:12:30 +0000 (01:12 -0800)
src/gallium/docs/source/context.rst

index b7b625d25eed2b0c0b277edb2eaa268ce8bdcd96..78b01cc9cbe0b033d477aad272baaa5a742f7a85 100644 (file)
@@ -54,7 +54,10 @@ objects. They all follow simple, one-method binding calls, e.g.
 * ``set_blend_color``
 * ``set_clip_state``
 * ``set_polygon_stipple``
-* ``set_scissor_state``
+* ``set_scissor_state`` sets the bounds for the scissor test, which culls
+  pixels before blending to render targets. If the :ref:`Rasterizer` does
+  not have the scissor test enabled, then the scissor bounds never need to
+  be set since they will not be used.
 * ``set_viewport_state``
 * ``set_vertex_elements``