diff options
author | Miao Wang <miaowang@google.com> | 2015-02-19 18:14:46 -0800 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2015-02-23 16:33:07 -0800 |
commit | cc8cea7477352898921044483a6c803e25d02665 (patch) | |
tree | a45084bbf8be9f8f591e4512bdef7cd55abefbdf /rs.spec | |
parent | e9c79f66478170e4e45e49c71f5e9324842916cf (diff) | |
download | rs-cc8cea7477352898921044483a6c803e25d02665.tar.gz |
Fix the bug for AllocationRead() that cannot handle 3d Allocation
correctly.
Add the following functions to make it symmetric for read and write.
- AllocationElementData
- AllocationElementRead
- Allocation3DRead
Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
Diffstat (limited to 'rs.spec')
-rw-r--r-- | rs.spec | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -174,6 +174,16 @@ Allocation1DElementData { param size_t comp_offset } +AllocationElementData { + param RsAllocation va + param uint32_t x + param uint32_t y + param uint32_t z + param uint32_t lod + param const void *data + param size_t comp_offset + } + Allocation2DData { param RsAllocation va param uint32_t xoff @@ -216,6 +226,16 @@ Allocation1DRead { param void *data } +AllocationElementRead { + param RsAllocation va + param uint32_t x + param uint32_t y + param uint32_t z + param uint32_t lod + param void *data + param size_t comp_offset + } + Allocation2DRead { param RsAllocation va param uint32_t xoff @@ -228,6 +248,18 @@ Allocation2DRead { param size_t stride } +Allocation3DRead { + param RsAllocation va + param uint32_t xoff + param uint32_t yoff + param uint32_t zoff + param uint32_t lod + param uint32_t w + param uint32_t h + param uint32_t d + param void *data + param size_t stride + } AllocationSyncAll { param RsAllocation va |