Mesa (master): docs: Clarify PIPE_TEXTURE_USAGE_DYNAMIC.

Corbin Simpson csimpson at kemper.freedesktop.org
Tue Jan 19 02:12:47 UTC 2010


Module: Mesa
Branch: master
Commit: 09f69b1e5d4e9a4086950de97e0bff46e70bd686
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09f69b1e5d4e9a4086950de97e0bff46e70bd686

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Mon Jan 18 18:05:55 2010 -0800

docs: Clarify PIPE_TEXTURE_USAGE_DYNAMIC.

---

 src/gallium/docs/source/screen.rst |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index bac6313..72bb75a 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -23,7 +23,7 @@ texture that can be used as multiple things.
   validated here is implicitly also a depthbuffer.
 * ``SAMPLER``: A texture that may be sampled from in a fragment or vertex
   shader.
-* ``DYNAMIC``: XXX undefined
+* ``DYNAMIC``: A texture that will be mapped frequently.
 
 Methods
 -------
@@ -59,6 +59,10 @@ See if a format can be used in a specific manner.
 
 Returns TRUE if all usages can be satisfied.
 
+.. note::
+
+   ``PIPE_TEXTURE_USAGE_DYNAMIC`` is not a valid usage.
+
 texture_create
 ^^^^^^^^^^^^^^
 




More information about the mesa-commit mailing list