diff options
author | Alex Sakhartchouk <alexst@google.com> | 2011-06-16 11:05:13 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2011-06-16 11:05:13 -0700 |
commit | a94952436aeb251f587c1bccdf94c7f75285dfe2 (patch) | |
tree | 7441b7c5b98f8a12c612e1e748cfcce875f10249 /driver/rsdRuntimeStubs.cpp | |
parent | 74a827988567a9d65954bb0d825a3ba4a97e2947 (diff) | |
download | rs-a94952436aeb251f587c1bccdf94c7f75285dfe2.tar.gz |
Adding ability to read back fbo data to renderscript
Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
Diffstat (limited to 'driver/rsdRuntimeStubs.cpp')
-rw-r--r-- | driver/rsdRuntimeStubs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/driver/rsdRuntimeStubs.cpp b/driver/rsdRuntimeStubs.cpp index bd8b3c32..25302aa5 100644 --- a/driver/rsdRuntimeStubs.cpp +++ b/driver/rsdRuntimeStubs.cpp @@ -95,6 +95,8 @@ static void SC_AllocationCopy1DRange(Allocation *dstAlloc, Allocation *srcAlloc, uint32_t srcOff, uint32_t srcMip) { GET_TLS(); + rsrAllocationCopy1DRange(rsc, dstAlloc, dstOff, dstMip, count, + srcAlloc, srcOff, srcMip); } static void SC_AllocationCopy2DRange(Allocation *dstAlloc, @@ -105,6 +107,11 @@ static void SC_AllocationCopy2DRange(Allocation *dstAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) { GET_TLS(); + rsrAllocationCopy2DRange(rsc, dstAlloc, + dstXoff, dstYoff, dstMip, dstFace, + width, height, + srcAlloc, + srcXoff, srcYoff, srcMip, srcFace); } |