diff options
Diffstat (limited to 'src/gallium/auxiliary/util/u_upload_mgr.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_upload_mgr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_upload_mgr.h b/src/gallium/auxiliary/util/u_upload_mgr.h index 45382917021..536467eb35c 100644 --- a/src/gallium/auxiliary/util/u_upload_mgr.h +++ b/src/gallium/auxiliary/util/u_upload_mgr.h @@ -62,6 +62,13 @@ struct u_upload_mgr * u_upload_create_default(struct pipe_context *pipe); /** + * Create an uploader with identical parameters as another one, but using + * the given pipe_context instead. + */ +struct u_upload_mgr * +u_upload_clone(struct pipe_context *pipe, struct u_upload_mgr *upload); + +/** * Destroy the upload manager. */ void u_upload_destroy( struct u_upload_mgr *upload ); |