OSDN Git Service

gallium/docs: adds documentation for multi viewport cap
authorZack Rusin <zackr@vmware.com>
Sat, 25 May 2013 13:14:57 +0000 (09:14 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 25 May 2013 13:49:20 +0000 (09:49 -0400)
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/docs/source/screen.rst

index 2630491..683080c 100644 (file)
@@ -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: