Lines Matching refs:align
97 void *DEMOGfxAllocMEM1(u32 size, u32 align) in DEMOGfxAllocMEM1() argument
101 if (align < 4) in DEMOGfxAllocMEM1()
103 align = 4; in DEMOGfxAllocMEM1()
110 ptr = MEMAllocFromExpHeapEx(gDEMOMem1Heap, size, align); in DEMOGfxAllocMEM1()
111 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocMEM1()
124 void *DEMOGfxAllocBucket(u32 size, u32 align) in DEMOGfxAllocBucket() argument
128 void * ptr = MEMAllocFromExpHeapEx(gDEMOBucketHeap, size, align); in DEMOGfxAllocBucket()
129 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocBucket()
142 void *DEMOGfxAllocMEM2(u32 size, u32 align) in DEMOGfxAllocMEM2() argument
146 if (align < 4) in DEMOGfxAllocMEM2()
148 align = 4; in DEMOGfxAllocMEM2()
151 ptr = DEMOAllocEx(size, align); in DEMOGfxAllocMEM2()
152 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocMEM2()
455 u32 size, align; in DEMOGfxInit() local
456 GX2CalcColorBufferAuxInfo(&DEMOColorBuffer, &size, &align); in DEMOGfxInit()
457 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxInit()
478 u32 size, align; in DEMOGfxInit() local
479 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxInit()
480 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxInit()
642 u32 size, align; in DEMOGfxAcquiredForeground() local
643 GX2CalcColorBufferAuxInfo(&DEMOColorBuffer, &size, &align); in DEMOGfxAcquiredForeground()
644 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxAcquiredForeground()
659 u32 size, align; in DEMOGfxAcquiredForeground() local
660 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxAcquiredForeground()
661 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxAcquiredForeground()