diff options
author | Tim Murray <timmurray@google.com> | 2012-11-26 13:52:04 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2012-11-27 14:57:22 -0800 |
commit | 358747a3118301c5faeee73c98dd5f839bbfb54a (patch) | |
tree | 75e852bf7c2d51b5beebddc07c7729e464a5f79c /rs_hal.h | |
parent | 7b3e3093f745134345dadf89498ad16e1f9c0e71 (diff) | |
download | rs-358747a3118301c5faeee73c98dd5f839bbfb54a.tar.gz |
Add support for 2D strided copies to/from an allocation with the C++ API.
Change-Id: I55cd7512f683f8d36d2b75f894931fd0657521bc
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,7 +157,7 @@ typedef struct { void (*data2D)(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, - const void *data, size_t sizeBytes); + const void *data, size_t sizeBytes, size_t stride); void (*data3D)(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, @@ -169,7 +169,7 @@ typedef struct { void (*read2D)(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, - void *data, size_t sizeBytes); + void *data, size_t sizeBytes, size_t stride); void (*read3D)(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, |