chromium/out/Default/gen/gpu/ipc/common/gpu_preferences.mojom-shared.cc

// gpu/ipc/common/gpu_preferences.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "gpu/ipc/common/gpu_preferences.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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/gpu_preferences.mojom-params-data.h"
namespace gpu {
namespace mojom {

NOINLINE static const char* VulkanImplementationNameToStringHelper(VulkanImplementationName value) {}

std::string VulkanImplementationNameToString(VulkanImplementationName value) {}

std::ostream& operator<<(std::ostream& os, VulkanImplementationName value) {}

NOINLINE static const char* WebGPUAdapterNameToStringHelper(WebGPUAdapterName value) {}

std::string WebGPUAdapterNameToString(WebGPUAdapterName value) {}

std::ostream& operator<<(std::ostream& os, WebGPUAdapterName value) {}

NOINLINE static const char* WebGPUPowerPreferenceToStringHelper(WebGPUPowerPreference value) {}

std::string WebGPUPowerPreferenceToString(WebGPUPowerPreference value) {}

std::ostream& operator<<(std::ostream& os, WebGPUPowerPreference value) {}

NOINLINE static const char* GrContextTypeToStringHelper(GrContextType value) {}

std::string GrContextTypeToString(GrContextType value) {}

std::ostream& operator<<(std::ostream& os, GrContextType value) {}

NOINLINE static const char* DawnBackendValidationLevelToStringHelper(DawnBackendValidationLevel value) {}

std::string DawnBackendValidationLevelToString(DawnBackendValidationLevel value) {}

std::ostream& operator<<(std::ostream& os, DawnBackendValidationLevel value) {}

namespace internal {


// static
bool GpuPreferences_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

GpuPreferences_Data::GpuPreferences_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace gpu

namespace perfetto {

// static
void TraceFormatTraits<::gpu::mojom::VulkanImplementationName>::WriteIntoTrace(
   perfetto::TracedValue context, ::gpu::mojom::VulkanImplementationName value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::gpu::mojom::WebGPUAdapterName>::WriteIntoTrace(
   perfetto::TracedValue context, ::gpu::mojom::WebGPUAdapterName value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::gpu::mojom::WebGPUPowerPreference>::WriteIntoTrace(
   perfetto::TracedValue context, ::gpu::mojom::WebGPUPowerPreference value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::gpu::mojom::GrContextType>::WriteIntoTrace(
   perfetto::TracedValue context, ::gpu::mojom::GrContextType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::gpu::mojom::DawnBackendValidationLevel>::WriteIntoTrace(
   perfetto::TracedValue context, ::gpu::mojom::DawnBackendValidationLevel value) {}

} // namespace perfetto