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");
469 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) {
522 void rsdAllocationResize(const Context *rsc, const Allocation *alloc,
529 ALOGE("Resize cannot be called on a USAGE_SHARED allocation");
550 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) {
584 void rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc,
591 "Attempting to sync allocation from render target, "
592 "for non-render target allocation");
623 void rsdAllocationMarkDirty(const Context *rsc, const Allocation *alloc) {
629 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
654 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
740 void rsdAllocationIoSend(const Context *rsc, Allocation *alloc) {
768 void rsdAllocationIoReceive(const Context *rsc, Allocation *alloc) {
778 void rsdAllocationData1D(const Context *rsc, const Allocation *alloc,
787 // Skip the copy if we are the same allocation. This can arise from
798 void rsdAllocationData2D(const Context *rsc, const Allocation *alloc,
813 // Skip the copy if we are the same allocation. This can arise from
858 void rsdAllocationData3D(const Context *rsc, const Allocation *alloc,
877 // Skip the copy if we are the same allocation. This can arise from
897 void rsdAllocationRead1D(const Context *rsc, const Allocation *alloc,
903 // Skip the copy if we are the same allocation. This can arise from
909 void rsdAllocationRead2D(const Context *rsc, const Allocation *alloc,
922 // Skip the copy if we are the same allocation. This can arise from
938 void rsdAllocationRead3D(const Context *rsc, const Allocation *alloc,
954 // Skip the copy if we are the same allocation. This can arise from
969 const android::renderscript::Allocation *alloc) {
974 const android::renderscript::Allocation *alloc) {
979 const android::renderscript::Allocation *dstAlloc,
981 const android::renderscript::Allocation *srcAlloc,
987 const android::renderscript::Allocation *dstAlloc,
990 const android::renderscript::Allocation *srcAlloc,
1005 const android::renderscript::Allocation *dstAlloc,
1008 const android::renderscript::Allocation *srcAlloc,
1026 const android::renderscript::Allocation *dstAlloc,
1029 const android::renderscript::Allocation *srcAlloc,
1033 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1043 const android::renderscript::Allocation *dstAlloc,
1047 const android::renderscript::Allocation *srcAlloc,
1051 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not "
1060 void rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc,
1080 void rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc,
1100 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1118 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1136 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1154 void rsdAllocationGenerateMipmaps(const Context *rsc, const Allocation *alloc) {
1177 android::renderscript::Allocation *alloc)