Lines Matching refs:addrAlign
112 int addrAlign = 8; in Allocate() local
119 addrAlign = ALIGNMENT_SYSTEM_BUFFER; in Allocate()
122 addrAlign = ALIGNMENT_TEXTURE; in Allocate()
125 addrAlign = ALIGNMENT_VERTEX; in Allocate()
128 addrAlign = ALIGNMENT_RENDER_BUFFER; in Allocate()
131 addrAlign = ALIGNMENT_DISPLAY_BUFFER; in Allocate()
134 addrAlign = ALIGNMENT_3D_COMMAND_BUFFER; in Allocate()
145 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
152 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate()
157 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate()
164 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
169 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()