Searched refs:CommandHeader (Results 1 – 2 of 2) sorted by relevance
122 ANGLE_INLINE const CommandHeader *NextCommand(const CommandHeader *command) in NextCommand()124 return reinterpret_cast<const CommandHeader *>(reinterpret_cast<const uint8_t *>(command) + in NextCommand()131 for (const CommandHeader *command : mCommands) in executeCommands()133 for (const CommandHeader *currentCommand = command; in executeCommands()534 for (const CommandHeader *command : mCommands) in getMemoryUsageStats()536 const CommandHeader *commandEnd = command; in getMemoryUsageStats()543 reinterpret_cast<const uint8_t *>(command) + sizeof(CommandHeader::id); in getMemoryUsageStats()552 for (const CommandHeader *command : mCommands) in dumpCommands()554 for (const CommandHeader *currentCommand = command; in dumpCommands()
416 struct CommandHeader struct421 static_assert(sizeof(CommandHeader) == 4, "Check CommandHeader size"); argument650 reinterpret_cast<CommandHeader *>(mCurrentWritePointer)->id = CommandID::Invalid; in initialize()673 CommandHeader *header = reinterpret_cast<CommandHeader *>(mCurrentWritePointer); in commonInit()680 reinterpret_cast<CommandHeader *>(mCurrentWritePointer)->id = CommandID::Invalid; in commonInit()681 return Offset<StructType>(header, sizeof(CommandHeader)); in commonInit()688 mCommands.push_back(reinterpret_cast<CommandHeader *>(mCurrentWritePointer)); in allocateNewBlock()699 constexpr size_t fixedAllocationSize = sizeof(StructType) + sizeof(CommandHeader); in initCommand()702 if (mCurrentBytesRemaining < (allocationSize + sizeof(CommandHeader))) in initCommand()714 constexpr size_t allocationSize = sizeof(StructType) + sizeof(CommandHeader); in initCommand()[all …]