Searched refs:allocation (Results 1 - 19 of 19) sorted by relevance

/frameworks/rs/
H A DrsDriverLoader.cpp85 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init);
86 ret &= fn(RS_HAL_ALLOCATION_INIT_OEM, (void **)&rsc->mHal.funcs.allocation.initOem);
87 ret &= fn(RS_HAL_ALLOCATION_INIT_ADAPTER, (void **)&rsc->mHal.funcs.allocation.initAdapter);
88 ret &= fn(RS_HAL_ALLOCATION_DESTROY, (void **)&rsc->mHal.funcs.allocation.destroy);
89 ret &= fn(RS_HAL_ALLOCATION_GET_GRALLOC_BITS, (void **)&rsc->mHal.funcs.allocation.grallocBits);
90 ret &= fn(RS_HAL_ALLOCATION_RESIZE, (void **)&rsc->mHal.funcs.allocation.resize);
91 ret &= fn(RS_HAL_ALLOCATION_SYNC_ALL, (void **)&rsc->mHal.funcs.allocation.syncAll);
92 ret &= fn(RS_HAL_ALLOCATION_MARK_DIRTY, (void **)&rsc->mHal.funcs.allocation.markDirty);
93 ret &= fn(RS_HAL_ALLOCATION_SET_SURFACE, (void **)&rsc->mHal.funcs.allocation.setSurface);
94 ret &= fn(RS_HAL_ALLOCATION_IO_SEND, (void **)&rsc->mHal.funcs.allocation
[all...]
H A DrsProgramVertex.cpp46 "Unable to set fixed function emulation matrices because allocation is missing");
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
75 "Unable to set fixed function emulation matrix projection because allocation is missing");
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
93 "Unable to set fixed function emulation matrix modelview because allocation is missing");
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
111 "Unable to set fixed function emulation matrix texture because allocation i
[all...]
H A DrsAllocation.cpp76 if (rsc->mHal.funcs.allocation.initOem != nullptr) {
78 success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr);
86 success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment);
90 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences());
118 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) {
140 rsc->mHal.funcs.allocation.adapterOffset(rsc, this);
163 mRSC->mHal.funcs.allocation.destroy(mRSC, this);
167 rsc->mHal.funcs.allocation.syncAll(rsc, this, src);
180 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) {
182 mRSC->mHal.funcs.allocation
[all...]
H A DrsProgramFragment.cpp49 ALOGE("Unable to set fixed function emulation color because allocation is missing");
50 rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocation is missing");
57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
H A DrsMesh.cpp204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]);
210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]);
232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D(
262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc);
H A DrsScriptC_LibGL.cpp218 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
221 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
248 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a);
253 rsc->mHal.funcs.allocation.unlock1D(rsc, a);
H A DrsFont.cpp476 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0,
587 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc);
616 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc);
622 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc);
623 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc);
H A Drs_hal.h271 // Allocation to allocation copies
311 } allocation; member in struct:android::renderscript::__anon1695
/frameworks/rs/api/
H A Drs_allocation_data.spec21 an allocation.
39 arg: uint32_t dstMip, "Mip level in the destination allocation. 0 if mip mapping is not used."
41 arg: rs_allocation srcAlloc, "Source allocation."
43 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used."
46 Copies the specified number of cells from one allocation to another.
49 the same allocation yields undefined results.
52 of either allocation. Be careful!
69 arg: uint32_t dstMip, "Mip level in the destination allocation. 0 if mip mapping is not used."
70 arg: rs_allocation_cubemap_face dstFace, "Cubemap face of the destination allocation. Ignored for allocations that aren't cubemaps."
73 arg: rs_allocation srcAlloc, "Source allocation
[all...]
H A Drs_object_types.spec62 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.
H A Drs_io.spec23 <li>Send the processed allocation or receive the next allocation to process.</li></ul>
H A Drs_for_each.spec102 arg: const rs_script_call_t* sc, "Extra control information used to select a sub-region of the allocation to be processed or suggest a walking strategy. May be NULL."
106 @rs_kernel argument. If the specified kernel returns a value, an output allocation
108 and the output allocation if it exists, must have the same dimensions.
113 to the output allocation.
116 "root" in the specified script, and only a single input allocation can be used.
201 by options, no input or output allocation is required for a kernel launch using
203 and return value expected by the kernel function. The output allocation is
398 To get the dimension of specific allocation, use @rsAllocationGetDimX().
413 To get the dimension of specific allocation, use @rsAllocationGetDimY().
428 To get the dimension of specific allocation, us
[all...]
H A Drs_graphics.spec218 summary: Sync the contents of an allocation
220 Sync the contents of an allocation.
259 summary: Bind a constant allocation
371 summary: Bind a texture allocation
713 ret: rs_allocation, "allocation containing index data"
715 arg: uint32_t index, "index of the index allocation"
717 summary: Return an allocation containing index data
719 Returns an allocation containing index data or a null
720 allocation if only the primitive is specified
754 ret: rs_allocation, "allocation containin
[all...]
H A Drs_object_info.spec306 allocation. The results are undefined if the pointer is not from a valid Allocation.
/frameworks/base/libs/hwui/utils/
H A DFatVector.h56 InlineStdAllocator(Allocation& allocation) argument
57 : mAllocation(allocation) {}
/frameworks/rs/driver/
H A DrsdCore.cpp318 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy;
319 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend;
320 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java533 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION);
534 allocation.copyTo(mBitmap);
626 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION);
628 allocation.copyTo(pixels.array());
748 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION);
751 allocation.copyTo(bytes);
754 allocation.copyTo(floats);
758 "Trying to sync to an allocation with an unsupported element id: "
868 throw new RuntimeException("Cannot sync allocation backing!");
919 "Cannot allocate allocation wit
[all...]
/frameworks/rs/driver/runtime/
H A DAndroid.mk37 ll32/allocation.ll
40 ll64/allocation.ll
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java79 final Allocation allocation =
83 return allocation;

Completed in 599 milliseconds