Home
last modified time | relevance | path

Searched refs:CommandHeader (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp133 ANGLE_INLINE const CommandHeader *NextCommand(const CommandHeader *command) in NextCommand()
135 return reinterpret_cast<const CommandHeader *>(reinterpret_cast<const uint8_t *>(command) + in NextCommand()
145 for (const CommandHeader *command : mCommands) in executeCommands()
147 for (const CommandHeader *currentCommand = command; in executeCommands()
596 for (const CommandHeader *command : mCommands) in getMemoryUsageStats()
598 const CommandHeader *commandEnd = command; in getMemoryUsageStats()
605 reinterpret_cast<const uint8_t *>(command) + sizeof(CommandHeader::id); in getMemoryUsageStats()
614 for (const CommandHeader *command : mCommands) in dumpCommands()
616 for (const CommandHeader *currentCommand = command; in dumpCommands()
DSecondaryCommandBuffer.h452 struct CommandHeader struct
457 static_assert(sizeof(CommandHeader) == 4, "Check CommandHeader size"); argument
723 reinterpret_cast<CommandHeader *>(mCurrentWritePointer)->id = CommandID::Invalid; in initialize()
764 CommandHeader *header = reinterpret_cast<CommandHeader *>(mCurrentWritePointer); in commonInit()
771 reinterpret_cast<CommandHeader *>(mCurrentWritePointer)->id = CommandID::Invalid; in commonInit()
772 return Offset<StructType>(header, sizeof(CommandHeader)); in commonInit()
779 mCommands.push_back(reinterpret_cast<CommandHeader *>(mCurrentWritePointer));
790 constexpr size_t fixedAllocationSize = sizeof(StructType) + sizeof(CommandHeader); in initCommand()
793 const size_t requiredSize = allocationSize + sizeof(CommandHeader); in initCommand()
817 constexpr size_t allocationSize = paramSize + sizeof(CommandHeader); in initCommand()
[all …]