Searched defs:usages (Results 1 - 5 of 5) sorted by relevance

/frameworks/rs/cpp/
H A DScript.cpp65 void Script::FieldBase::init(RenderScript *rs, uint32_t dimx, uint32_t usages) { argument
66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
/frameworks/base/graphics/java/android/renderscript/
H A DScript.java298 protected void init(RenderScript rs, int dimx, int usages) { argument
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScript.java298 protected void init(RenderScript rs, int dimx, int usages) { argument
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
/frameworks/rs/
H A DrsAllocation.cpp28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
34 mHal.state.usageFlags = usages;
41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
552 uint32_t usages, uint32_t ptr) {
553 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips, (void *)ptr);
563 const void *data, size_t sizeBytes, uint32_t usages) {
566 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages, 0);
585 const void *data, size_t sizeBytes, uint32_t usages) {
591 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages,
550 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, uint32_t usages, uint32_t ptr) argument
561 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
583 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
31 mHal.state.usageFlags = usages;
38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
490 uint32_t usages, uint32_t ptr) {
491 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips, (void *)ptr);
501 const void *data, size_t sizeBytes, uint32_t usages) {
504 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages, 0);
523 const void *data, size_t sizeBytes, uint32_t usages) {
529 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages,
488 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, uint32_t usages, uint32_t ptr) argument
499 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
521 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]

Completed in 490 milliseconds