#include "device/vr/public/mojom/xr_session.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "device/vr/public/mojom/xr_session.mojom-params-data.h"
namespace device {
namespace mojom {
NOINLINE static const char* RequestSessionErrorToStringHelper(RequestSessionError value) { … }
std::string RequestSessionErrorToString(RequestSessionError value) { … }
std::ostream& operator<<(std::ostream& os, RequestSessionError value) { … }
NOINLINE static const char* XRSessionFeatureToStringHelper(XRSessionFeature value) { … }
std::string XRSessionFeatureToString(XRSessionFeature value) { … }
std::ostream& operator<<(std::ostream& os, XRSessionFeature value) { … }
NOINLINE static const char* XRSessionModeToStringHelper(XRSessionMode value) { … }
std::string XRSessionModeToString(XRSessionMode value) { … }
std::ostream& operator<<(std::ostream& os, XRSessionMode value) { … }
NOINLINE static const char* XRDepthUsageToStringHelper(XRDepthUsage value) { … }
std::string XRDepthUsageToString(XRDepthUsage value) { … }
std::ostream& operator<<(std::ostream& os, XRDepthUsage value) { … }
NOINLINE static const char* XRDepthDataFormatToStringHelper(XRDepthDataFormat value) { … }
std::string XRDepthDataFormatToString(XRDepthDataFormat value) { … }
std::ostream& operator<<(std::ostream& os, XRDepthDataFormat value) { … }
namespace internal {
bool XRTrackedImage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRTrackedImage_Data::XRTrackedImage_Data()
: … { … }
bool XRDepthOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRDepthOptions_Data::XRDepthOptions_Data()
: … { … }
bool XRSessionOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XRSessionOptions_Data::XRSessionOptions_Data()
: … { … }
bool XrFrameStatistics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XrFrameStatistics_Data::XrFrameStatistics_Data()
: … { … }
bool XrLogMessage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
XrLogMessage_Data::XrLogMessage_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::RequestSessionError>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::RequestSessionError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::XRSessionFeature>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::XRSessionFeature value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::XRSessionMode>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::XRSessionMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::XRDepthUsage>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::XRDepthUsage value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::XRDepthDataFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::XRDepthDataFormat value) { … }
}