Lines Matching refs:addrAlign
116 int addrAlign = 8; in Allocate() local
123 addrAlign = ALIGNMENT_SYSTEM_BUFFER; in Allocate()
126 addrAlign = ALIGNMENT_TEXTURE; in Allocate()
129 addrAlign = ALIGNMENT_VERTEX; in Allocate()
132 addrAlign = ALIGNMENT_RENDER_BUFFER; in Allocate()
135 addrAlign = ALIGNMENT_DISPLAY_BUFFER; in Allocate()
138 addrAlign = ALIGNMENT_3D_COMMAND_BUFFER; in Allocate()
149 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
156 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate()
161 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate()
168 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
173 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()