Lines Matching refs:addrAlign
113 int addrAlign = 8; in Allocate() local
120 addrAlign = ALIGNMENT_SYSTEM_BUFFER; in Allocate()
123 addrAlign = ALIGNMENT_TEXTURE; in Allocate()
126 addrAlign = ALIGNMENT_VERTEX; in Allocate()
129 addrAlign = ALIGNMENT_RENDER_BUFFER; in Allocate()
132 addrAlign = ALIGNMENT_DISPLAY_BUFFER; in Allocate()
135 addrAlign = ALIGNMENT_3D_COMMAND_BUFFER; in Allocate()
146 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
153 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate()
158 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate()
165 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
170 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()