/frameworks/rs/ |
D | rsDriverLoader.cpp | 77 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init); in LoadHalTable() 78 ret &= fn(RS_HAL_ALLOCATION_INIT_OEM, (void **)&rsc->mHal.funcs.allocation.initOem); in LoadHalTable() 79 ret &= fn(RS_HAL_ALLOCATION_INIT_ADAPTER, (void **)&rsc->mHal.funcs.allocation.initAdapter); in LoadHalTable() 80 ret &= fn(RS_HAL_ALLOCATION_DESTROY, (void **)&rsc->mHal.funcs.allocation.destroy); in LoadHalTable() 81 ret &= fn(RS_HAL_ALLOCATION_GET_GRALLOC_BITS, (void **)&rsc->mHal.funcs.allocation.grallocBits); in LoadHalTable() 82 ret &= fn(RS_HAL_ALLOCATION_RESIZE, (void **)&rsc->mHal.funcs.allocation.resize); in LoadHalTable() 83 ret &= fn(RS_HAL_ALLOCATION_SYNC_ALL, (void **)&rsc->mHal.funcs.allocation.syncAll); in LoadHalTable() 84 ret &= fn(RS_HAL_ALLOCATION_MARK_DIRTY, (void **)&rsc->mHal.funcs.allocation.markDirty); in LoadHalTable() 85 ret &= fn(RS_HAL_ALLOCATION_SET_SURFACE, (void **)&rsc->mHal.funcs.allocation.setSurface); in LoadHalTable() 86 ret &= fn(RS_HAL_ALLOCATION_IO_SEND, (void **)&rsc->mHal.funcs.allocation.ioSend); in LoadHalTable() [all …]
|
D | rsProgramVertex.cpp | 48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 77 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix() 81 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix() 95 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setModelviewMatrix() 99 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix() 113 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setTextureMatrix() 117 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setTextureMatrix() 132 rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0])); in getProjectionMatrix() 134 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in getProjectionMatrix() [all …]
|
D | rsAllocation.cpp | 75 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocationStrided() 77 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided() 85 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided() 89 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided() 117 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) { in createAdapter() 139 rsc->mHal.funcs.allocation.adapterOffset(rsc, this); in adapterOffset() 165 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation() 169 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll() 182 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) { in getPointer() 184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer() [all …]
|
D | rsHidlAdaptation.cpp | 214 const void* RsHidlAdaptation::AllocationGetType(RsContext context, RsAllocation allocation) in AllocationGetType() argument 217 uint64_t _allocation = (uint64_t)(uintptr_t)allocation; in AllocationGetType() 426 uint64_t allocation = GetIContextHandle(context)->allocationCreateTyped(_type, in AllocationCreateTyped() local 428 return (RsAllocation) allocation; in AllocationCreateTyped() 441 uint64_t allocation = GetIContextHandle(context)->allocationCreateFromBitmap(_type, in AllocationCreateFromBitmap() local 443 return (RsAllocation) allocation; in AllocationCreateFromBitmap() 455 …uint64_t allocation = GetIContextHandle(context)->allocationCubeCreateFromBitmap(_type, (Allocatio… in AllocationCubeCreateFromBitmap() local 456 return (RsAllocation) allocation; in AllocationCubeCreateFromBitmap() 459 RsNativeWindow RsHidlAdaptation::AllocationGetSurface (RsContext context, RsAllocation allocation) in AllocationGetSurface() argument 461 uint64_t _allocation = (uint64_t)(uintptr_t)allocation; in AllocationGetSurface() [all …]
|
D | rsScriptC_LibGL.cpp | 214 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 217 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 244 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 249 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
D | rsMesh.cpp | 204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]); in uploadAll() 210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]); in uploadAll() 232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox() 262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc); in computeBBox()
|
/frameworks/rs/script_api/ |
D | rs_allocation_data.spec | 21 an allocation. 73 arg: rs_allocation srcAlloc, "Source allocation." 76 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used." 77 arg: rs_allocation_cubemap_face srcFace, "Cubemap face of the source allocation. Ignored for alloc…
|
D | rs_object_types.spec | 62 summary: Handle to an allocation 64 An opaque handle to a RenderScript allocation. 112 summary: Bitfield to specify how an allocation is used 115 relevant to an allocation or an operation on an allocation.
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 170 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation>* allocation) { in newLinearAllocation() argument 171 if (allocation == nullptr) { in newLinearAllocation() 175 allocation->reset(); in newLinearAllocation() 191 allocation->reset(new C2AllocationBlob(std::move(graphicAllocation), in newLinearAllocation() 197 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) { in priorLinearAllocation() argument 198 if (allocation == nullptr) { in priorLinearAllocation() 202 allocation->reset(); in priorLinearAllocation() 223 allocation->reset(new C2AllocationBlob(std::move(graphicAllocation), capacity, mTraits->id)); in priorLinearAllocation()
|
D | C2DmaBufAllocator.cpp | 371 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation>* allocation) { in newLinearAllocation() argument 372 if (allocation == nullptr) { in newLinearAllocation() 376 allocation->reset(); in newLinearAllocation() 406 *allocation = alloc; in newLinearAllocation() 412 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) { in priorLinearAllocation() argument 413 *allocation = nullptr; in priorLinearAllocation() 428 *allocation = alloc; in priorLinearAllocation()
|
D | C2AllocatorIon.cpp | 574 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation> *allocation) { in newLinearAllocation() argument 575 if (allocation == nullptr) { in newLinearAllocation() 579 allocation->reset(); in newLinearAllocation() 596 *allocation = alloc; in newLinearAllocation() 602 const C2Handle *handle, std::shared_ptr<C2LinearAllocation> *allocation) { in priorLinearAllocation() argument 603 *allocation = nullptr; in priorLinearAllocation() 618 *allocation = alloc; in priorLinearAllocation()
|
D | C2AllocatorGralloc.cpp | 838 std::shared_ptr<C2GraphicAllocation> *allocation); 842 std::shared_ptr<C2GraphicAllocation> *allocation); 870 std::shared_ptr<C2GraphicAllocation> *allocation) { in newGraphicAllocation() argument 889 allocation->reset(new C2AllocationGralloc( in newGraphicAllocation() 901 std::shared_ptr<C2GraphicAllocation> *allocation) { in priorGraphicAllocation() argument 924 allocation->reset(new C2AllocationGralloc( in priorGraphicAllocation() 949 std::shared_ptr<C2GraphicAllocation> *allocation) { in newGraphicAllocation() argument 950 return mImpl->newGraphicAllocation(width, height, format, usage, allocation); in newGraphicAllocation() 955 std::shared_ptr<C2GraphicAllocation> *allocation) { in priorGraphicAllocation() argument 956 return mImpl->priorGraphicAllocation(handle, allocation); in priorGraphicAllocation()
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2AllocatorBlob.h | 37 std::shared_ptr<C2LinearAllocation> *allocation) override; 41 std::shared_ptr<C2LinearAllocation> *allocation) override;
|
D | C2AllocatorGralloc.h | 76 std::shared_ptr<C2GraphicAllocation> *allocation) override; 80 std::shared_ptr<C2GraphicAllocation> *allocation) override;
|
D | C2AllocatorIon.h | 48 std::shared_ptr<C2LinearAllocation> *allocation) override; 52 std::shared_ptr<C2LinearAllocation> *allocation) override;
|
D | C2DmaBufAllocator.h | 36 std::shared_ptr<C2LinearAllocation>* allocation) override; 39 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) override;
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_d1new_helper.rsh | 4 // Need to access global allocation here 6 // This allocation has three float values of red, green, blue 14 // This allocation contains four floats: red, green, blue, alpha 16 // This allocation contains four floats: red, green, blue, alpha 18 // This allocation contains the kernel stack info: only one float per cell 40 //Compute layer matte using global allocation 123 // Use global allocation for filter from back most layer to focus layer 178 // Filter target layer use global allocation using integral image 211 // Use global allocation to filter layer from the
|
/frameworks/native/libs/ui/include/ui/ |
D | FatVector.h | 47 explicit InlineStdAllocator(Allocation& allocation) : mAllocation(allocation) {} in InlineStdAllocator() argument
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FatVector.h | 47 explicit InlineStdAllocator(Allocation& allocation) : mAllocation(allocation) {} in InlineStdAllocator() argument
|
/frameworks/native/include/ui/ |
D | FatVector.h | 47 explicit InlineStdAllocator(Allocation& allocation) : mAllocation(allocation) {} in InlineStdAllocator() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeExtensionController.java | 97 public FakeExtension(Object allocation) { in FakeExtension() argument 98 mAllocation = allocation; in FakeExtension()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 533 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 534 allocation.copyTo(mBitmap); in syncToAllocationBacking() 626 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 628 allocation.copyTo(pixels.array()); in syncToAllocationBacking() 748 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 751 allocation.copyTo(bytes); in syncToAllocationBacking() 754 allocation.copyTo(floats); in syncToAllocationBacking()
|
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/ |
D | rs_single_source.rscript | 21 // global allocation used for void kernel 44 // allocation[x] = x
|
/frameworks/rs/script_api/include/ |
D | rs_object_types.rsh | 66 * rs_allocation: Handle to an allocation 68 * An opaque handle to a RenderScript allocation. 109 * rs_allocation_usage_type: Bitfield to specify how an allocation is used 112 * relevant to an allocation or an operation on an allocation.
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | instance.rscript | 7 // Set our allocation based on the global input value.
|