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

/frameworks/rs/cpp/
H A DScript.cpp55 void Script::FieldBase::init(const sp<RS>& rs, uint32_t dimx, uint32_t usages) { argument
56 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
/frameworks/base/rs/java/android/renderscript/
H A DScript.java501 protected void init(RenderScript rs, int dimx, int usages) { argument
504 Allocation.USAGE_SCRIPT | usages);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScript.java542 protected void init(RenderScript rs, int dimx, int usages) { argument
543 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
/frameworks/rs/
H A DrsScriptC_Lib.cpp347 uint32_t usages, uintptr_t ptr) {
348 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr);
345 rsrAllocationCreateTyped(Context *rsc, const RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
H A DrsAllocation.cpp28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
34 mHal.state.usageFlags = usages;
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, argument
74 if (usages & RS_ALLOCATION_USAGE_OEM) {
76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr);
83 } else if (usages & RS_ALLOCATION_USAGE_INCREMENTAL_SUPPORT){
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
88 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
103 return Allocation::createAllocationStrided(rsc, type, usages, m
739 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
750 rsi_AllocationCreateStrided(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr, size_t requiredAlignment) argument
763 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
785 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]
H A DrsHidlAdaptation.cpp421 uint32_t usages, uintptr_t ptr)
427 (AllocationMipmapControl)mipmaps, usages, _ptr);
434 const void *data, size_t sizeBytes, uint32_t usages)
442 (AllocationMipmapControl)mipmaps, _bitmap, usages);
448 const void *data, size_t sizeBytes, uint32_t usages)
455 uint64_t allocation = GetIContextHandle(context)->allocationCubeCreateFromBitmap(_type, (AllocationMipmapControl)mipmaps, _bitmap, usages);
419 AllocationCreateTyped(RsContext context, RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
432 AllocationCreateFromBitmap(RsContext context, RsType type, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
446 AllocationCubeCreateFromBitmap(RsContext context, RsType type, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
H A DrsApiStubs.cpp338 uint32_t usages, uintptr_t ptr)
340 return RS_DISPATCH(ctxWrapper, AllocationCreateTyped, vtype, mipmaps, usages, ptr);
344 const void * data, size_t data_length, uint32_t usages)
346 return RS_DISPATCH(ctxWrapper, AllocationCreateFromBitmap, vtype, mipmaps, data, data_length, usages);
350 const void * data, size_t data_length, uint32_t usages)
352 return RS_DISPATCH(ctxWrapper, AllocationCubeCreateFromBitmap, vtype, mipmaps, data, data_length, usages);
337 rsAllocationCreateTyped(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
343 rsAllocationCreateFromBitmap(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, const void * data, size_t data_length, uint32_t usages) argument
349 rsAllocationCubeCreateFromBitmap(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, const void * data, size_t data_length, uint32_t usages) argument
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp316 RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages,
328 if (usages & ~validUsages) {
334 rsc, type, mipmaps, usages, (uintptr_t)ptr);
373 uint32_t usages, void *ptr) {
376 usages, ptr);
396 ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages,
399 usages, ptr);
315 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument
371 rsCreateAllocation(::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
395 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp337 RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages,
350 if (usages & ~validUsages) {
356 mipmaps, usages,
400 uint32_t usages, void *ptr) {
404 usages, ptr);
426 ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages,
431 usages, ptr);
336 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument
398 rsCreateAllocation(::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
425 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument

Completed in 141 milliseconds