gallium/docs: clarify gen_name/get_vendor/get_device_vendor behavior
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 21:18:09 +0000 (23:18 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000 (18:24 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/docs/source/screen.rst

index 852c31b24c397a61da6d8c44bc6d15524748b31a..288fb5cb3cc1a31bbc8fb2bcd40f08e08a5aa369 100644 (file)
@@ -624,17 +624,26 @@ get_name
 
 Returns an identifying name for the screen.
 
+The returned string should remain valid and immutable for the lifetime of
+pipe_screen.
+
 get_vendor
 ^^^^^^^^^^
 
 Returns the screen vendor.
 
+The returned string should remain valid and immutable for the lifetime of
+pipe_screen.
+
 get_device_vendor
 ^^^^^^^^^^^^^^^^^
 
 Returns the actual vendor of the device driving the screen
 (as opposed to the driver vendor).
 
+The returned string should remain valid and immutable for the lifetime of
+pipe_screen.
+
 .. _get_param:
 
 get_param