Lines Matching full:allocation
92 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc,
104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr,
123 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) {
165 static void UploadToTexture(const Context *rsc, const Allocation *alloc) {
203 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) {
228 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) {
255 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
303 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
315 size_t offsets[Allocation::MAX_LOD];
371 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) {
385 // Allocation is allocated when the surface is created
388 // user-provided allocation
401 // validate that here, otherwise fall back to not use the user-backed allocation
403 ALOGV("User-backed allocation failed stride requirement, falling back to separate allocation");
468 ALOGE("pointer for allocation: %p", alloc);
469 ALOGE("pointer for allocation.drv: %p", &alloc->mHal.drv);
476 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) {
533 void rsdAllocationResize(const Context *rsc, const Allocation *alloc,
540 ALOGE("Resize cannot be called on a USAGE_SHARED allocation");
561 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) {
595 void rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc,
602 "Attempting to sync allocation from render target, "
603 "for non-render target allocation");
632 // this particular Allocation
640 void rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) {
646 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
671 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
757 void rsdAllocationIoSend(const Context *rsc, Allocation *alloc) {
785 void rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) {
795 void rsdAllocationData1D(const Context *rsc, const Allocation *alloc,
804 // Skip the copy if we are the same allocation. This can arise from
815 void rsdAllocationData2D(const Context *rsc, const Allocation *alloc,
830 // Skip the copy if we are the same allocation. This can arise from
875 void rsdAllocationData3D(const Context *rsc, const Allocation *alloc,
894 // Skip the copy if we are the same allocation. This can arise from
914 void rsdAllocationRead1D(const Context *rsc, const Allocation *alloc,
920 // Skip the copy if we are the same allocation. This can arise from
926 void rsdAllocationRead2D(const Context *rsc, const Allocation *alloc,
939 // Skip the copy if we are the same allocation. This can arise from
955 void rsdAllocationRead3D(const Context *rsc, const Allocation *alloc,
971 // Skip the copy if we are the same allocation. This can arise from
986 const android::renderscript::Allocation *alloc) {
991 const android::renderscript::Allocation *alloc) {
996 const android::renderscript::Allocation *dstAlloc,
998 const android::renderscript::Allocation *srcAlloc,
1004 const android::renderscript::Allocation *dstAlloc,
1007 const android::renderscript::Allocation *srcAlloc,
1022 const android::renderscript::Allocation *dstAlloc,
1025 const android::renderscript::Allocation *srcAlloc,
1043 const android::renderscript::Allocation *dstAlloc,
1046 const android::renderscript::Allocation *srcAlloc,
1050 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1060 const android::renderscript::Allocation *dstAlloc,
1064 const android::renderscript::Allocation *srcAlloc,
1068 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1077 void rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc,
1097 void rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc,
1117 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1135 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1153 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1171 void rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) {
1194 android::renderscript::Allocation *alloc)
1200 const Allocation *alloc,