/frameworks/rs/cpp/ |
H A D | Script.cpp | 56 void Script::FieldBase::init(sp<RS> rs, uint32_t dimx, uint32_t usages) { argument 57 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Script.java | 501 protected void init(RenderScript rs, int dimx, int usages) { argument 504 Allocation.USAGE_SCRIPT | usages);
|
/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 292 uint32_t usages, uintptr_t ptr) { 293 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr); 290 rsrAllocationCreateTyped(Context *rsc, const RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
|
H A D | rsAllocation.cpp | 29 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument 35 mHal.state.usageFlags = usages; 62 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, argument 75 if (usages & RS_ALLOCATION_USAGE_OEM) { 77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); 84 } else if (usages & RS_ALLOCATION_USAGE_INCREMENTAL_SUPPORT){ 85 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); 89 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); 102 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument 104 return Allocation::createAllocationStrided(rsc, type, usages, m 779 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument 790 rsi_AllocationCreateStrided(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr, size_t requiredAlignment) argument 803 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument 825 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 542 protected void init(RenderScript rs, int dimx, int usages) { argument 543 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 321 RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, 334 if (usages & ~validUsages) { 340 mipmaps, usages, 384 uint32_t usages, void *ptr) { 388 usages, ptr); 410 ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, 415 usages, ptr); 320 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument 382 rsCreateAllocation(::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument 409 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
|