diff options
| author | Alex Sakhartchouk <alexst@google.com> | 2010-09-01 16:34:48 -0700 |
|---|---|---|
| committer | Alex Sakhartchouk <alexst@google.com> | 2010-09-02 10:45:39 -0700 |
| commit | 8e95466b5aa16b13c9e39b7ff8167f47a643c4ba (patch) | |
| tree | 50354e0b120c28a99467ce8ce0f82872e8b19fe6 /libs/rs/scriptc | |
| parent | 6d8fe9b40bf7ffba54c21f5b142dd247326cd9a6 (diff) | |
| download | frameworks_base-8e95466b5aa16b13c9e39b7ff8167f47a643c4ba.zip frameworks_base-8e95466b5aa16b13c9e39b7ff8167f47a643c4ba.tar.gz frameworks_base-8e95466b5aa16b13c9e39b7ff8167f47a643c4ba.tar.bz2 | |
Adding ability to dirty the allocation and notify shaders using it.
Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
Diffstat (limited to 'libs/rs/scriptc')
| -rw-r--r-- | libs/rs/scriptc/rs_math.rsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/scriptc/rs_math.rsh b/libs/rs/scriptc/rs_math.rsh index c842ef1..5720b05 100644 --- a/libs/rs/scriptc/rs_math.rsh +++ b/libs/rs/scriptc/rs_math.rsh @@ -107,6 +107,10 @@ extern bool __attribute__((overloadable)) extern rs_allocation __attribute__((overloadable)) rsGetAllocation(const void *); +// Mark the allocation dirty and notify those using it +extern void __attribute__((overloadable)) + rsAllocationMarkDirty(rs_allocation); + // Return the dimensions associated with an allocation. extern uint32_t __attribute__((overloadable)) rsAllocationGetDimX(rs_allocation); |
