chromium/out/Default/gen/services/viz/public/mojom/compositing/shared_image_format.mojom-shared.cc

// services/viz/public/mojom/compositing/shared_image_format.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 "services/viz/public/mojom/compositing/shared_image_format.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 "services/viz/public/mojom/compositing/shared_image_format.mojom-params-data.h"
namespace viz {
namespace mojom {

NOINLINE static const char* PlaneConfigToStringHelper(PlaneConfig value) {}

std::string PlaneConfigToString(PlaneConfig value) {}

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

NOINLINE static const char* SubsamplingToStringHelper(Subsampling value) {}

std::string SubsamplingToString(Subsampling value) {}

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

NOINLINE static const char* ChannelFormatToStringHelper(ChannelFormat value) {}

std::string ChannelFormatToString(ChannelFormat value) {}

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

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


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

MultiplanarFormat_Data::MultiplanarFormat_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace viz

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto