Lines Matching refs:description
108 FrameBufferObject::SetDescription(const Description& description) in SetDescription() argument
110 m_Description = description; in SetDescription()
112 if (description.fboID == 0) in SetDescription()
114 this->SetFboID(description.fboID); in SetDescription()
118 m_Description = description; in SetDescription()
143 const FrameBufferObject::Description& description = this->GetDescription(); in ActivateBuffer() local
148 if ( description.fboID != 0 ) in ActivateBuffer()
150 glBindFramebuffer( GL_FRAMEBUFFER, description.fboID ); in ActivateBuffer()
155 NW_ALIGN_ASSERT( description.depthAddress, 0x8 ); in ActivateBuffer()
156 NW_ALIGN_ASSERT( description.colorAddress, 0x8 ); in ActivateBuffer()
157 NW_ALIGN_ASSERT( description.height, 0x8 ); in ActivateBuffer()
158 NW_ALIGN_ASSERT( description.width, 0x8 ); in ActivateBuffer()
159 NW_ASSERT( description.height <= 1024 ); in ActivateBuffer()
160 NW_ASSERT( description.width <= 1024 ); in ActivateBuffer()
165 switch ( description.depthFormat ) in ActivateBuffer()
172 NW_ASSERTMSG( description.depthAddress == NULL, "Unknown depth format" ); in ActivateBuffer()
175 switch ( description.colorFormat ) in ActivateBuffer()
184 NW_ASSERTMSG( description.colorAddress == NULL, "Unknown color format" ); in ActivateBuffer()
187 if (description.depthAddress == NULL) in ActivateBuffer()
199 … (description.colorAddress != NULL) ? (nngxGetPhysicalAddr( description.colorAddress ) >> 3) : 0, in ActivateBuffer()
202 description.width | ((description.height - 1) << 12) | 0x01000000, in ActivateBuffer()
205 description.width | ((description.height - 1) << 12) | 0x01000000, in ActivateBuffer()
208 (description.useBlock32)? 1 : 0, in ActivateBuffer()
223 … (description.depthAddress != NULL) ? (nngxGetPhysicalAddr( description.depthAddress ) >> 3) : 0, in ActivateBuffer()
225 … (description.colorAddress != NULL) ? (nngxGetPhysicalAddr( description.colorAddress ) >> 3) : 0, in ActivateBuffer()
226 description.width | ((description.height - 1) << 12) | 0x01000000, in ActivateBuffer()
228 description.width | ((description.height - 1) << 12) | 0x01000000, in ActivateBuffer()
237 (description.useBlock32)? 1 : 0, in ActivateBuffer()
255 const FrameBufferObject::Description& description = this->GetDescription(); in ClearBuffer() local
268 colorAddress = description.colorAddress; in ClearBuffer()
270 switch ( description.colorFormat ) in ClearBuffer()
310 colorSize = description.height * description.width * colorWidth / 8; in ClearBuffer()
315 depthAddress = description.depthAddress; in ClearBuffer()
324 switch ( description.depthFormat ) in ClearBuffer()
351 depthSize = description.height * description.width * depthWidth / 8; in ClearBuffer()