diff options
author | Marek Olšák <[email protected]> | 2010-06-02 05:50:58 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-02 06:01:22 +0200 |
commit | 37f3454eb3afa1297126a8d77a563d734c292a37 (patch) | |
tree | ecef6b95adaf132fef15fd23caa7daed86a018f7 /src/gallium/drivers/r300/r300_winsys.h | |
parent | ae3063066cb209efd07413f125bb86108906b033 (diff) |
r300g: let the driver determine the GEM domain for buffer_create
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_winsys.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h index f7cbbde410a..d59a45a00a9 100644 --- a/src/gallium/drivers/r300/r300_winsys.h +++ b/src/gallium/drivers/r300/r300_winsys.h @@ -74,8 +74,9 @@ struct r300_winsys_screen { struct r300_winsys_buffer *(*buffer_create)(struct r300_winsys_screen *ws, unsigned alignment, unsigned usage, + enum r300_buffer_domain domain, unsigned size); - + /** * Map the entire data store of a buffer object into the client's address. * flags is bitmask of R300_WINSYS_BUFFER_USAGE_CPU_READ/WRITE flags. |