Mesa (master): gallium-docs: Add note on scissor.
Corbin Simpson
csimpson at kemper.freedesktop.org
Mon Jan 25 10:14:46 UTC 2010
Module: Mesa
Branch: master
Commit: 8cf1af45075a1bf8c302a513566b7ef2314264b7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cf1af45075a1bf8c302a513566b7ef2314264b7
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Mon Jan 25 01:12:30 2010 -0800
gallium-docs: Add note on scissor.
---
src/gallium/docs/source/context.rst | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index b7b625d..78b01cc 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -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``
More information about the mesa-commit
mailing list