Home | History | Annotate | Download | only in driver

Lines Matching refs:Allocation

33 size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
35 // Allocation::ioReceive. Return early and avoid clobberring any
82 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
96 size_t offsets[Allocation::MAX_LOD];
141 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
144 Allocation::kMinimumRSAlignment);
147 uint8_t *GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff,
159 void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
179 void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
199 void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
291 using android::renderscript::Allocation;
299 bool rsovAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) {
313 void rsovAllocationDestroy(const Context *rsc, Allocation *alloc) {
319 void rsovAllocationData1D(const Context *rsc, const Allocation *alloc,
327 // Skip the copy if we are the same allocation. This can arise from
337 void rsovAllocationData2D(const Context *rsc, const Allocation *alloc,
378 // When copying from an array to an Allocation, the src pointer
389 void rsovAllocationData3D(const Context *rsc, const Allocation *alloc,
417 void rsovAllocationRead1D(const Context *rsc, const Allocation *alloc,
424 // Skip the copy if we are the same allocation. This can arise from
430 void rsovAllocationRead2D(const Context *rsc, const Allocation *alloc,
444 // Skip the copy if we are the same allocation. This can arise from
459 void rsovAllocationRead3D(const Context *rsc, const Allocation *alloc,
475 // Skip the copy if we are the same allocation. This can arise from
489 void *rsovAllocationLock1D(const Context *rsc, const Allocation *alloc) {
493 void rsovAllocationUnlock1D(const Context *rsc, const Allocation *alloc) {}
495 void rsovAllocationData1D_alloc(const Context *rsc, const Allocation *dstAlloc,
497 const Allocation *srcAlloc, uint32_t srcXoff,
501 const Context *rsc, const Allocation *dstAlloc, uint32_t dstXoff,
503 uint32_t w, uint32_t h, const Allocation *srcAlloc, uint32_t srcXoff,
516 const Context *rsc, const Allocation *dstAlloc, uint32_t dstXoff,
518 uint32_t d, const Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff,
535 const Context *rsc, const Allocation *dstAlloc, uint32_t dstXoff,
537 uint32_t w, uint32_t h, const Allocation *srcAlloc, uint32_t srcXoff,
541 "Non-script allocation copies not "
550 void rsovAllocationData3D_alloc(const Context *rsc, const Allocation *dstAlloc,
554 const Allocation *srcAlloc, uint32_t srcXoff,
559 "Non-script allocation copies not "
568 void rsovAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) {
570 const Allocation *base = alloc->mHal.state.baseAlloc;
587 bool rsovAllocationAdapterInit(const Context *rsc, Allocation *alloc) {
588 // TODO: may need a RSoV Allocation here
596 // We need to build an allocation that looks like a subset of the parent
597 // allocation
603 void rsovAllocationSyncAll(const Context *rsc, const Allocation *alloc,
608 void rsovAllocationMarkDirty(const Context *rsc, const Allocation *alloc) {
612 void rsovAllocationResize(const Context *rsc, const Allocation *alloc,
620 const Allocation *alloc) {
642 uint32_t rsovAllocationGrallocBits(const Context *rsc, Allocation *alloc) {
647 const Allocation *alloc,
657 void rsovAllocationSetSurface(const Context *rsc, Allocation *alloc,
662 void rsovAllocationIoSend(const Context *rsc, Allocation *alloc) {
666 void rsovAllocationIoReceive(const Context *rsc, Allocation *alloc) {
670 void rsovAllocationElementData(const Context *rsc, const Allocation *alloc,
688 void rsovAllocationElementRead(const Context *rsc, const Allocation *alloc,