Lines Matching refs:CommandGraphNode
268 float CalculateSecondaryCommandBufferPoolWaste(const std::vector<CommandGraphNode *> nodes) in CalculateSecondaryCommandBufferPoolWaste()
273 for (const CommandGraphNode *node : nodes) in CalculateSecondaryCommandBufferPoolWaste()
364 CommandGraphNode *writingNode = writingResource->mCurrentWritingNode; in addWriteDependency()
377 CommandGraphNode *readingNode = readingResource->mCurrentWritingNode; in addReadDependency()
383 CommandGraphNode::SetHappensBeforeDependency(mCurrentWritingNode, readingNode); in addReadDependency()
399 CommandGraphNode *newCommands = in startNewCommands()
405 void CommandGraphResource::onWriteImpl(ContextVk *contextVk, CommandGraphNode *writingNode) in onWriteImpl()
412 CommandGraphNode::SetHappensBeforeDependencies(mCurrentReadingNodes.data(), in onWriteImpl()
419 CommandGraphNode::SetHappensBeforeDependency(mCurrentWritingNode, writingNode); in onWriteImpl()
426 CommandGraphNode::CommandGraphNode(CommandGraphNodeFunction function, in CommandGraphNode() function in rx::vk::CommandGraphNode
443 CommandGraphNode::~CommandGraphNode() in ~CommandGraphNode()
451 angle::Result CommandGraphNode::beginOutsideRenderPassRecording(ContextVk *context, in beginOutsideRenderPassRecording()
474 angle::Result CommandGraphNode::beginInsideRenderPassRecording(ContextVk *context, in beginInsideRenderPassRecording()
502 void CommandGraphNode::storeRenderPassInfo(const Framebuffer &framebuffer, in storeRenderPassInfo()
516 void CommandGraphNode::SetHappensBeforeDependencies(CommandGraphNode **beforeNodes, in SetHappensBeforeDependencies()
518 CommandGraphNode *afterNode) in SetHappensBeforeDependencies()
532 void CommandGraphNode::SetHappensBeforeDependencies(CommandGraphNode *beforeNode, in SetHappensBeforeDependencies()
533 CommandGraphNode **afterNodes, in SetHappensBeforeDependencies()
542 bool CommandGraphNode::hasParents() const in hasParents()
547 void CommandGraphNode::setQueryPool(const QueryPool *queryPool, uint32_t queryIndex) in setQueryPool()
558 void CommandGraphNode::setFenceSync(const vk::Event &event) in setFenceSync()
565 void CommandGraphNode::setDebugMarker(GLenum source, std::string &&marker) in setDebugMarker()
574 bool CommandGraphNode::isChildOf(CommandGraphNode *parent) in isChildOf()
576 std::set<CommandGraphNode *> visitedList; in isChildOf()
577 std::vector<CommandGraphNode *> openList; in isChildOf()
581 CommandGraphNode *current = openList.back(); in isChildOf()
597 VisitedState CommandGraphNode::visitedState() const in visitedState()
602 void CommandGraphNode::visitParents(std::vector<CommandGraphNode *> *stack) in visitParents()
609 angle::Result CommandGraphNode::visitAndExecute(vk::Context *context, in visitAndExecute()
802 const std::vector<CommandGraphNode *> &CommandGraphNode::getParentsForDiagnostics() const in getParentsForDiagnostics()
807 void CommandGraphNode::setDiagnosticInfo(CommandGraphResourceType resourceType, in setDiagnosticInfo()
814 bool CommandGraphNode::hasDiagnosticID() const in hasDiagnosticID()
821 std::string CommandGraphNode::dumpCommandsForDiagnostics(const char *separator) const in dumpCommandsForDiagnostics()
889 void CommandGraphNode::getMemoryUsageStatsForDiagnostics(size_t *usedMemoryOut, in getMemoryUsageStatsForDiagnostics()
953 CommandGraphNode *CommandGraph::allocateNode(CommandGraphNodeFunction function) in allocateNode()
956 CommandGraphNode *newCommands = new CommandGraphNode(function, mPoolAllocator); in allocateNode()
961 CommandGraphNode *CommandGraph::allocateBarrierNode(CommandGraphNodeFunction function, in allocateBarrierNode()
965 CommandGraphNode *newNode = allocateNode(function); in allocateBarrierNode()
972 void CommandGraph::setNewBarrier(CommandGraphNode *newBarrier) in setNewBarrier()
975 CommandGraphNode *previousBarrier = getLastBarrierNode(&previousBarrierIndex); in setNewBarrier()
981 CommandGraphNode::SetHappensBeforeDependencies( in setNewBarrier()
1003 CommandGraphNode *previousBarrier = getLastBarrierNode(&previousBarrierIndex); in submitCommands()
1009 CommandGraphNode::SetHappensBeforeDependencies( in submitCommands()
1018 std::vector<CommandGraphNode *> nodeStack; in submitCommands()
1030 for (CommandGraphNode *topLevelNode : mNodes) in submitCommands()
1041 CommandGraphNode *node = nodeStack.back(); in submitCommands()
1089 for (CommandGraphNode *node : mNodes) in clear()
1098 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::BeginQuery, in beginQuery()
1105 CommandGraphNode *newNode = in endQuery()
1112 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::WriteTimestamp, in writeTimestamp()
1131 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::SetFenceSync, in setFenceSync()
1139 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::WaitFenceSync, in waitFenceSync()
1147 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::GraphBarrier, in memoryBarrier()
1154 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::InsertDebugMarker, in insertDebugMarker()
1161 CommandGraphNode *newNode = allocateBarrierNode(CommandGraphNodeFunction::PushDebugMarker, in pushDebugMarker()
1190 std::map<const CommandGraphNode *, int> nodeIDMap; in dumpGraphDotFile()
1197 const CommandGraphNode *node = mNodes[nodeIndex]; in dumpGraphDotFile()
1211 for (const CommandGraphNode *node : mNodes) in dumpGraphDotFile()
1304 for (const CommandGraphNode *node : mNodes) in dumpGraphDotFile()
1308 for (const CommandGraphNode *parent : node->getParentsForDiagnostics()) in dumpGraphDotFile()
1329 CommandGraphNode *CommandGraph::getLastBarrierNode(size_t *indexOut) in getLastBarrierNode()
1337 CommandGraphNode *nextBarrier) in addDependenciesToNextBarrier()
1345 CommandGraphNode::SetHappensBeforeDependency(mNodes[i], nextBarrier); in addDependenciesToNextBarrier()