Lines Matching refs:usage
50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) : in Allocation() argument
53 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | in Allocation()
63 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) { in Allocation()
65 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT | in Allocation()
73 mUsage = usage; in Allocation()
382 RsAllocationMipmapControl mips, uint32_t usage) { in createTyped() argument
383 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, 0); in createTyped()
388 return new Allocation(id, rs, type, usage); in createTyped()
392 RsAllocationMipmapControl mips, uint32_t usage, void *pointer) { in createTyped() argument
393 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, (uint32_t)pointer); in createTyped()
397 return new Allocation(id, rs, type, usage); in createTyped()
401 uint32_t usage) { in createTyped() argument
402 return createTyped(rs, type, RS_ALLOCATION_MIPMAP_NONE, usage); in createTyped()
406 size_t count, uint32_t usage) { in createSized() argument
413 RS_ALLOCATION_MIPMAP_NONE, usage, 0); in createSized()
417 return new Allocation(id, rs, t, usage); in createSized()