Home
last modified time | relevance | path

Searched refs:commandSize (Results 1 – 11 of 11) sorted by relevance

/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResShader.cpp162 s32 commandSize = shaderInfo->GetCommonCommandSize(); in ResBinaryShader_Setup() local
164 u32* buffer = reinterpret_cast<u32*>(allocator->Alloc( commandSize, 4 )); in ResBinaryShader_Setup()
167 s32 writtenSize = shaderInfo->BuildCommonCommand(buffer, static_cast<u32>(commandSize)); in ResBinaryShader_Setup()
168 NW_ASSERT(writtenSize == commandSize); in ResBinaryShader_Setup()
339 …s32 commandSize = shaderInfo->GetShaderProgramCommandSize( vertexShaderIndex, geometryShaderIndex … in Setup() local
340 u32* buffer = reinterpret_cast<u32*>(allocator->Alloc( commandSize, 4 )); in Setup()
342 …aderInfo->BuildShaderProgramCommand( vertexShaderIndex, geometryShaderIndex, buffer, commandSize ); in Setup()
343 NW_ASSERT( writtenSize == commandSize ); in Setup()
Dgfx_ResShape.cpp269 s32 commandSize = internal::CalcSetupDrawIndexStreamCommand( resStream ); in Setup() local
270 resStream.ref().m_CommandCache = allocator->Alloc(commandSize, 4); in Setup()
271 resStream.ref().m_CommandCacheSize = commandSize; in Setup()
/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_ShaderBinaryInfo.cpp675 s32 commandSize = 0; in GetLoadCommandSize() local
682 commandSize += 2 * sizeof(u32); in GetLoadCommandSize()
683 commandSize += (countPerCommand - 1) * sizeof(u32); in GetLoadCommandSize()
687 commandSize += sizeof(u32); in GetLoadCommandSize()
698 return commandSize; in GetLoadCommandSize()
Dgfx_ActivateCommand.cpp161 s32 commandSize = 12; in CalcSetupActivateVertexAttributeCommandSize_() local
172 commandSize += 6; in CalcSetupActivateVertexAttributeCommandSize_()
176 commandSize += 4; in CalcSetupActivateVertexAttributeCommandSize_()
182 commandSize += 4; in CalcSetupActivateVertexAttributeCommandSize_()
185 return sizeof(u32) * commandSize; in CalcSetupActivateVertexAttributeCommandSize_()
/NW4C-1.3.3/include/nw/gfx/
Dgfx_MaterialState.h707 u32 commandSize = pixTexMapper.GetCommandSizeToSend(); in ActivateTextureMappers() local
709 internal::NWUseCmdlist(command, commandSize); in ActivateTextureMappers()
743 u32 commandSize = pixTexMapper.GetCommandSizeToSend(); in ActivateParticleTextureMappers() local
745 internal::NWUseCmdlist(command, commandSize); in ActivateParticleTextureMappers()
Dgfx_CommandUtil.h1772 int commandSize = (command->size + 1) & ~1; variable
1773 commandSize += 2;
1775 addr += commandSize;
1778 for (int i = 0; i < commandSize; i += 2)
1782 commandSize = i - 2;
1808 for (int i = 2; i < commandSize; i += 2)
1822 if (commandSize != 2)
/NW4C-1.3.3/sources/libraries/font/
Dfont_RectDrawer.cpp1531 u32 commandSize = 0; in BuildTextCommand() local
1538 commandSize = sizeof(TexEnv34AlphaCommands); in BuildTextCommand()
1543 commandSize = sizeof(TexEnv34Commands); in BuildTextCommand()
1545 NW_FONT_ADD_COMMANDS(pStringBuffer, commands, commandSize); in BuildTextCommand()
1557 commandSize = sizeof(TexEnvOperand34AlphaCommands); in BuildTextCommand()
1562 commandSize = sizeof(TexEnvOperand34Commands); in BuildTextCommand()
1564 NW_FONT_ADD_COMMANDS(pStringBuffer, commands, commandSize); in BuildTextCommand()
/NW4C-1.3.3/include/nw/demo/
Ddemo_GraphicsSystem.h465 …void AddLoadMeterCommandSize(s32 commandSize) { m_LoadMeterDescription.drawCommandBufferSize += co… in AddLoadMeterCommandSize() argument
/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_DrawerGraphics.cpp586 commandSize = sizeof( u32 ) * settingSize in SetUpTextures() enumerator
688 NW_FONT_RECTDRAWER_ADD_COMMAND( command, commandSize * num ); in SetUpTextures()
/NW4C-1.3.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp203 int commandSize = m_RenderSystem->GetCommandListSwapper()->GetCommandBufferSize(); in Invoke() local
204 m_RenderSystem->AddLoadMeterCommandSize(commandSize - m_StartCommand->GetCommandSize()); in Invoke()
/NW4C-1.3.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp203 int commandSize = m_RenderSystem->GetCommandListSwapper()->GetCommandBufferSize(); in Invoke() local
204 m_RenderSystem->AddLoadMeterCommandSize(commandSize - m_StartCommand->GetCommandSize()); in Invoke()