diff options
author | Nicolai Hähnle <[email protected]> | 2016-04-25 21:35:10 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-06-01 22:37:18 +0200 |
commit | 4ecc32b0e12d0a86f15beec1dd8b45063e7b2e20 (patch) | |
tree | bfc92df5c1ee4069b60b0383b9640ae16932f391 /src/mesa/state_tracker/st_pbo.h | |
parent | d9893feb2c9d86345ea561f84d03e89229faa35d (diff) |
st/mesa: begin moving PBO functions into their own file
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_pbo.h')
-rw-r--r-- | src/mesa/state_tracker/st_pbo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_pbo.h b/src/mesa/state_tracker/st_pbo.h new file mode 100644 index 00000000000..0ce30958410 --- /dev/null +++ b/src/mesa/state_tracker/st_pbo.h @@ -0,0 +1,35 @@ +/* + * Copyright 2016 Advanced Micro Devices, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, and/or sell copies of the Software, and to permit persons to whom + * the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHOR(S) AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + * USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef ST_PBO_H +#define ST_PBO_H + +struct st_context; + +extern void +st_init_pbo_helpers(struct st_context *st); + +extern void +st_destroy_pbo_helpers(struct st_context *st); + +#endif /* ST_PBO_H */ |