#include "protos/perfetto/trace/gpu/vulkan_memory_event.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
_pb;
_pbi;
namespace perfetto {
namespace protos {
PROTOBUF_CONSTEXPR VulkanMemoryEventAnnotation::VulkanMemoryEventAnnotation(
::_pbi::ConstantInitialized): … { … }
struct VulkanMemoryEventAnnotationDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VulkanMemoryEventAnnotationDefaultTypeInternal _VulkanMemoryEventAnnotation_default_instance_;
PROTOBUF_CONSTEXPR VulkanMemoryEvent::VulkanMemoryEvent(
::_pbi::ConstantInitialized): … { … }
struct VulkanMemoryEventDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VulkanMemoryEventDefaultTypeInternal _VulkanMemoryEvent_default_instance_;
}
}
namespace perfetto {
namespace protos {
bool VulkanMemoryEvent_Source_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> VulkanMemoryEvent_Source_strings[6] = …;
static const char VulkanMemoryEvent_Source_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry VulkanMemoryEvent_Source_entries[] = …;
static const int VulkanMemoryEvent_Source_entries_by_number[] = …;
const std::string& VulkanMemoryEvent_Source_Name(
VulkanMemoryEvent_Source value) { … }
bool VulkanMemoryEvent_Source_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VulkanMemoryEvent_Source* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_UNSPECIFIED;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_DRIVER;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_DEVICE;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_DEVICE_MEMORY;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_BUFFER;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::SOURCE_IMAGE;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::Source_MIN;
constexpr VulkanMemoryEvent_Source VulkanMemoryEvent::Source_MAX;
constexpr int VulkanMemoryEvent::Source_ARRAYSIZE;
#endif
bool VulkanMemoryEvent_Operation_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> VulkanMemoryEvent_Operation_strings[6] = …;
static const char VulkanMemoryEvent_Operation_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry VulkanMemoryEvent_Operation_entries[] = …;
static const int VulkanMemoryEvent_Operation_entries_by_number[] = …;
const std::string& VulkanMemoryEvent_Operation_Name(
VulkanMemoryEvent_Operation value) { … }
bool VulkanMemoryEvent_Operation_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VulkanMemoryEvent_Operation* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_UNSPECIFIED;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_CREATE;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_DESTROY;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_BIND;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_DESTROY_BOUND;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::OP_ANNOTATIONS;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::Operation_MIN;
constexpr VulkanMemoryEvent_Operation VulkanMemoryEvent::Operation_MAX;
constexpr int VulkanMemoryEvent::Operation_ARRAYSIZE;
#endif
bool VulkanMemoryEvent_AllocationScope_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> VulkanMemoryEvent_AllocationScope_strings[6] = …;
static const char VulkanMemoryEvent_AllocationScope_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry VulkanMemoryEvent_AllocationScope_entries[] = …;
static const int VulkanMemoryEvent_AllocationScope_entries_by_number[] = …;
const std::string& VulkanMemoryEvent_AllocationScope_Name(
VulkanMemoryEvent_AllocationScope value) { … }
bool VulkanMemoryEvent_AllocationScope_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VulkanMemoryEvent_AllocationScope* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_UNSPECIFIED;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_COMMAND;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_OBJECT;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_CACHE;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_DEVICE;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::SCOPE_INSTANCE;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::AllocationScope_MIN;
constexpr VulkanMemoryEvent_AllocationScope VulkanMemoryEvent::AllocationScope_MAX;
constexpr int VulkanMemoryEvent::AllocationScope_ARRAYSIZE;
#endif
class VulkanMemoryEventAnnotation::_Internal { … };
VulkanMemoryEventAnnotation::VulkanMemoryEventAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
VulkanMemoryEventAnnotation::VulkanMemoryEventAnnotation(const VulkanMemoryEventAnnotation& from)
: … { … }
inline void VulkanMemoryEventAnnotation::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
VulkanMemoryEventAnnotation::~VulkanMemoryEventAnnotation() { … }
inline void VulkanMemoryEventAnnotation::SharedDtor() { … }
void VulkanMemoryEventAnnotation::SetCachedSize(int size) const { … }
void VulkanMemoryEventAnnotation::clear_value() { … }
void VulkanMemoryEventAnnotation::Clear() { … }
const char* VulkanMemoryEventAnnotation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* VulkanMemoryEventAnnotation::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t VulkanMemoryEventAnnotation::ByteSizeLong() const { … }
void VulkanMemoryEventAnnotation::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void VulkanMemoryEventAnnotation::MergeFrom(const VulkanMemoryEventAnnotation& from) { … }
void VulkanMemoryEventAnnotation::CopyFrom(const VulkanMemoryEventAnnotation& from) { … }
bool VulkanMemoryEventAnnotation::IsInitialized() const { … }
void VulkanMemoryEventAnnotation::InternalSwap(VulkanMemoryEventAnnotation* other) { … }
std::string VulkanMemoryEventAnnotation::GetTypeName() const { … }
class VulkanMemoryEvent::_Internal { … };
VulkanMemoryEvent::VulkanMemoryEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
VulkanMemoryEvent::VulkanMemoryEvent(const VulkanMemoryEvent& from)
: … { … }
inline void VulkanMemoryEvent::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
VulkanMemoryEvent::~VulkanMemoryEvent() { … }
inline void VulkanMemoryEvent::SharedDtor() { … }
void VulkanMemoryEvent::SetCachedSize(int size) const { … }
void VulkanMemoryEvent::Clear() { … }
const char* VulkanMemoryEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* VulkanMemoryEvent::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t VulkanMemoryEvent::ByteSizeLong() const { … }
void VulkanMemoryEvent::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void VulkanMemoryEvent::MergeFrom(const VulkanMemoryEvent& from) { … }
void VulkanMemoryEvent::CopyFrom(const VulkanMemoryEvent& from) { … }
bool VulkanMemoryEvent::IsInitialized() const { … }
void VulkanMemoryEvent::InternalSwap(VulkanMemoryEvent* other) { … }
std::string VulkanMemoryEvent::GetTypeName() const { … }
}
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::perfetto::protos::VulkanMemoryEventAnnotation*
Arena::CreateMaybeMessage< ::perfetto::protos::VulkanMemoryEventAnnotation >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::perfetto::protos::VulkanMemoryEvent*
Arena::CreateMaybeMessage< ::perfetto::protos::VulkanMemoryEvent >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>