diff options
Diffstat (limited to 'src/gallium/docs/source')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 4eb5b32edcf..540d30861b2 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -358,6 +358,16 @@ the maximum allowed legal value is 32. Returns TRUE if all usages can be satisfied. + +can_create_resource +^^^^^^^^^^^^^^^^^^^ + +Check if a resource can actually be created (but don't actually allocate any +memory). This is used to implement OpenGL's proxy textures. Typically, a +driver will simply check if the total size of the given resource is less than +some limit. + + .. _resource_create: resource_create |