summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2012-11-26 13:52:04 -0800
committerTim Murray <timmurray@google.com>2012-11-27 14:57:22 -0800
commit358747a3118301c5faeee73c98dd5f839bbfb54a (patch)
tree75e852bf7c2d51b5beebddc07c7729e464a5f79c /rs_hal.h
parent7b3e3093f745134345dadf89498ad16e1f9c0e71 (diff)
downloadrs-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 877fd96f..4f562d56 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -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,