[Mesa-dev] [PATCH] gallium/docs: adds documentation for multi viewport cap

Zack Rusin zackr at vmware.com
Fri May 24 14:40:08 PDT 2013


Signed-off-by: Zack Rusin <zackr at vmware.com>
---
 src/gallium/docs/source/screen.rst |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 2630491..0957e56 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -164,6 +164,10 @@ The integer capabilities:
   for permutational swizzles.
 * ``PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE``: The maximum accessible size with
   a buffer sampler view, in bytes.
+* ``PIPE_CAP_MAX_VIEWPORTS``: The maximum number of viewports (and scissors
+  since they are linked) a driver can support. Returning 0 is equivalent
+  to returning 1 because every driver has to support at least a single
+  viewport/scissor combination.
 
 
 .. _pipe_capf:
-- 
1.7.10.4


More information about the mesa-dev mailing list