#include "gpu/ipc/common/device_perf_info.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 "gpu/ipc/common/device_perf_info.mojom-params-data.h"
namespace gpu {
namespace mojom {
NOINLINE static const char* Direct3DFeatureLevelToStringHelper(Direct3DFeatureLevel value) { … }
std::string Direct3DFeatureLevelToString(Direct3DFeatureLevel value) { … }
std::ostream& operator<<(std::ostream& os, Direct3DFeatureLevel value) { … }
NOINLINE static const char* HasDiscreteGpuToStringHelper(HasDiscreteGpu value) { … }
std::string HasDiscreteGpuToString(HasDiscreteGpu value) { … }
std::ostream& operator<<(std::ostream& os, HasDiscreteGpu value) { … }
namespace internal {
bool DevicePerfInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePerfInfo_Data::DevicePerfInfo_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::Direct3DFeatureLevel>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::Direct3DFeatureLevel value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::HasDiscreteGpu>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::HasDiscreteGpu value) { … }
}