From: Marek Olšák Date: Wed, 7 Jun 2017 21:18:09 +0000 (+0200) Subject: gallium/docs: clarify gen_name/get_vendor/get_device_vendor behavior X-Git-Tag: android-x86-8.1-r1~12784 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7448342a1f51f928611f3f7aefa7f2180aa05ecf;p=android-x86%2Fexternal-mesa.git gallium/docs: clarify gen_name/get_vendor/get_device_vendor behavior Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 852c31b24c3..288fb5cb3cc 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -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