Searched refs:commandSize (Results 1 – 11 of 11) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResShader.cpp | 171 s32 commandSize = shaderInfo->GetCommonCommandSize(); in ResBinaryShader_Setup() local 173 u32* buffer = reinterpret_cast<u32*>(allocator->Alloc( commandSize, 4 )); in ResBinaryShader_Setup() 176 s32 writtenSize = shaderInfo->BuildCommonCommand(buffer, static_cast<u32>(commandSize)); in ResBinaryShader_Setup() 177 NW_ASSERT(writtenSize == commandSize); in ResBinaryShader_Setup() 348 …s32 commandSize = shaderInfo->GetShaderProgramCommandSize( vertexShaderIndex, geometryShaderIndex … in Setup() local 349 u32* buffer = reinterpret_cast<u32*>(allocator->Alloc( commandSize, 4 )); in Setup() 351 …aderInfo->BuildShaderProgramCommand( vertexShaderIndex, geometryShaderIndex, buffer, commandSize ); in Setup() 352 NW_ASSERT( writtenSize == commandSize ); in Setup()
|
| D | gfx_ResShape.cpp | 270 s32 commandSize = internal::CalcSetupDrawIndexStreamCommand( resStream ); in Setup() local 271 resStream.ref().m_CommandCache = allocator->Alloc(commandSize, 4); in Setup() 272 resStream.ref().m_CommandCacheSize = commandSize; in Setup()
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ShaderBinaryInfo.cpp | 677 s32 commandSize = 0; in GetLoadCommandSize() local 684 commandSize += 2 * sizeof(u32); in GetLoadCommandSize() 685 commandSize += (countPerCommand - 1) * sizeof(u32); in GetLoadCommandSize() 689 commandSize += sizeof(u32); in GetLoadCommandSize() 700 return commandSize; in GetLoadCommandSize()
|
| D | gfx_ActivateCommand.cpp | 163 s32 commandSize = 12; in CalcSetupActivateVertexAttributeCommandSize_() local 174 commandSize += 6; in CalcSetupActivateVertexAttributeCommandSize_() 178 commandSize += 4; in CalcSetupActivateVertexAttributeCommandSize_() 184 commandSize += 4; in CalcSetupActivateVertexAttributeCommandSize_() 187 return sizeof(u32) * commandSize; in CalcSetupActivateVertexAttributeCommandSize_()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_MaterialState.h | 709 u32 commandSize = pixTexMapper.GetCommandSizeToSend(); in ActivateTextureMappers() local 711 internal::NWUseCmdlist(command, commandSize); in ActivateTextureMappers() 745 u32 commandSize = pixTexMapper.GetCommandSizeToSend(); in ActivateParticleTextureMappers() local 747 internal::NWUseCmdlist(command, commandSize); in ActivateParticleTextureMappers()
|
| D | gfx_CommandUtil.h | 1774 int commandSize = (command->size + 1) & ~1; variable 1775 commandSize += 2; 1777 addr += commandSize; 1780 for (int i = 0; i < commandSize; i += 2) 1784 commandSize = i - 2; 1810 for (int i = 2; i < commandSize; i += 2) 1824 if (commandSize != 2)
|
| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_RectDrawer.cpp | 1561 u32 commandSize = 0; in BuildTextCommand() local 1573 commandSize = sizeof(TexEnv34AlphaCommands); in BuildTextCommand() 1578 commandSize = sizeof(TexEnv34Commands); in BuildTextCommand() 1580 NW_FONT_ADD_COMMANDS(pStringBuffer, commands, commandSize); in BuildTextCommand() 1592 commandSize = sizeof(TexEnvOperand34AlphaCommands); in BuildTextCommand() 1597 commandSize = sizeof(TexEnvOperand34Commands); in BuildTextCommand() 1599 NW_FONT_ADD_COMMANDS(pStringBuffer, commands, commandSize); in BuildTextCommand()
|
| /NW4C-2.0.3/include/nw/demo/ |
| D | demo_GraphicsSystem.h | 467 …void AddLoadMeterCommandSize(s32 commandSize) { m_LoadMeterDescription.drawCommandBufferSize += co… in AddLoadMeterCommandSize() argument
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_DrawerGraphics.cpp | 619 commandSize = sizeof( u32 ) * settingSize in SetUpTextures() enumerator 734 NW_FONT_RECTDRAWER_ADD_COMMAND( command, commandSize * num ); in SetUpTextures()
|
| /NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/ |
| D | ProjectionShadowDemo.cpp | 205 int commandSize = m_RenderSystem->GetCommandListSwapper()->GetCommandBufferSize(); in Invoke() local 206 m_RenderSystem->AddLoadMeterCommandSize(commandSize - m_StartCommand->GetCommandSize()); in Invoke()
|
| /NW4C-2.0.3/demos/gfx/ShadowMapDemo/sources/ |
| D | ShadowMapDemo.cpp | 205 int commandSize = m_RenderSystem->GetCommandListSwapper()->GetCommandBufferSize(); in Invoke() local 206 m_RenderSystem->AddLoadMeterCommandSize(commandSize - m_StartCommand->GetCommandSize()); in Invoke()
|