diff options
author | Alex Sakhartchouk <alexst@google.com> | 2011-06-14 13:14:57 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-14 13:14:57 -0700 |
commit | 9b309b99f75be646bf0536ed85e14facf962e891 (patch) | |
tree | cb371eb158f6f87a9ff5b13762812b7f4dc79eab /libs/rs/rsRuntime.h | |
parent | f0b517d9d287e86e6e57a372ddcb070cec1fe1c0 (diff) | |
parent | 304b1f5497155bcf91e7b855cfab7a675e80bf26 (diff) | |
download | frameworks_base-9b309b99f75be646bf0536ed85e14facf962e891.zip frameworks_base-9b309b99f75be646bf0536ed85e14facf962e891.tar.gz frameworks_base-9b309b99f75be646bf0536ed85e14facf962e891.tar.bz2 |
Merge "Allocation copy functions."
Diffstat (limited to 'libs/rs/rsRuntime.h')
-rw-r--r-- | libs/rs/rsRuntime.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/rs/rsRuntime.h b/libs/rs/rsRuntime.h index 6d45285..cb962a8 100644 --- a/libs/rs/rsRuntime.h +++ b/libs/rs/rsRuntime.h @@ -85,6 +85,21 @@ void rsrMeshComputeBoundingBox(Context *, Script *, Mesh *, void rsrColor(Context *, Script *, float r, float g, float b, float a); void rsrFinish(Context *, Script *); void rsrAllocationSyncAll(Context *, Script *, Allocation *); + +void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, + uint32_t dstOff, + uint32_t dstMip, + uint32_t count, + Allocation *srcAlloc, + uint32_t srcOff, uint32_t srcMip); +void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, + uint32_t dstXoff, uint32_t dstYoff, + uint32_t dstMip, uint32_t dstFace, + uint32_t width, uint32_t height, + Allocation *srcAlloc, + uint32_t srcXoff, uint32_t srcYoff, + uint32_t srcMip, uint32_t srcFace); + void rsrClearColor(Context *, Script *, float r, float g, float b, float a); void rsrClearDepth(Context *, Script *, float v); uint32_t rsrGetWidth(Context *, Script *); |