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) {
254 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
294 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
306 size_t offsets[Allocation::MAX_LOD];
362 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) {
376 // Allocation is allocated when the surface is created
379 // user-provided allocation
392 // validate that here, otherwise fall back to not use the user-backed allocation
394 ALOGV("User-backed allocation failed stride requirement, falling back to separate allocation");
460 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) {
513 void rsdAllocationResize(const Context *rsc, const Allocation *alloc,
520 ALOGE("Resize cannot be called on a USAGE_SHARED allocation");
541 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) {
575 void rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc,
582 "Attempting to sync allocation from render target, "
583 "for non-render target allocation");
614 void rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) {
626 void* rsdAllocationGetSurface(const Context *rsc, const Allocation *alloc) {
648 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
673 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
765 void rsdAllocationIoSend(const Context *rsc, Allocation *alloc) {
793 void rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) {
827 void rsdAllocationData1D(const Context *rsc, const Allocation *alloc,
837 // Skip the copy if we are the same allocation. This can arise from
848 void rsdAllocationData2D(const Context *rsc, const Allocation *alloc,
863 // Skip the copy if we are the same allocation. This can arise from
899 void rsdAllocationData3D(const Context *rsc, const Allocation *alloc,
918 // Skip the copy if we are the same allocation. This can arise from
938 void rsdAllocationRead1D(const Context *rsc, const Allocation *alloc,
944 // Skip the copy if we are the same allocation. This can arise from
950 void rsdAllocationRead2D(const Context *rsc, const Allocation *alloc,
963 // Skip the copy if we are the same allocation. This can arise from
979 void rsdAllocationRead3D(const Context *rsc, const Allocation *alloc,
995 // Skip the copy if we are the same allocation. This can arise from
1010 const android::renderscript::Allocation *alloc) {
1015 const android::renderscript::Allocation *alloc) {
1020 const android::renderscript::Allocation *dstAlloc,
1022 const android::renderscript::Allocation *srcAlloc,
1028 const android::renderscript::Allocation *dstAlloc,
1031 const android::renderscript::Allocation *srcAlloc,
1046 const android::renderscript::Allocation *dstAlloc,
1049 const android::renderscript::Allocation *srcAlloc,
1067 const android::renderscript::Allocation *dstAlloc,
1070 const android::renderscript::Allocation *srcAlloc,
1074 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1084 const android::renderscript::Allocation *dstAlloc,
1088 const android::renderscript::Allocation *srcAlloc,
1092 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1101 void rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc,
1121 void rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc,
1141 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1159 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1177 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1195 void rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) {