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

// services/viz/public/mojom/compositing/shared_image_format.mojom-shared.h 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.

#ifndef SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_SHARED_IMAGE_FORMAT_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_SHARED_IMAGE_FORMAT_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "services/viz/public/mojom/compositing/shared_image_format.mojom-shared-internal.h"
#include "services/viz/public/mojom/compositing/internal/singleplanar_format.mojom-shared.h"







namespace viz::mojom {
class MultiplanarFormatDataView;

class SharedImageFormatDataView;


}  // viz::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::viz::mojom::MultiplanarFormatDataView> {};

template <>
struct MojomTypeTraits<::viz::mojom::SharedImageFormatDataView> {};

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class PlaneConfig : int32_t {};

 std::ostream& operator<<(std::ostream& os, PlaneConfig value);
inline bool IsKnownEnumValue(PlaneConfig value) {}


enum class Subsampling : int32_t {};

 std::ostream& operator<<(std::ostream& os, Subsampling value);
inline bool IsKnownEnumValue(Subsampling value) {}


enum class ChannelFormat : int32_t {};

 std::ostream& operator<<(std::ostream& os, ChannelFormat value);
inline bool IsKnownEnumValue(ChannelFormat value) {}


class MultiplanarFormatDataView {};


class SharedImageFormatDataView {};



}  // viz::mojom

namespace std {

template <>
struct hash<::viz::mojom::PlaneConfig>
    : public mojo::internal::EnumHashImpl<::viz::mojom::PlaneConfig> {};

template <>
struct hash<::viz::mojom::Subsampling>
    : public mojo::internal::EnumHashImpl<::viz::mojom::Subsampling> {};

template <>
struct hash<::viz::mojom::ChannelFormat>
    : public mojo::internal::EnumHashImpl<::viz::mojom::ChannelFormat> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::viz::mojom::PlaneConfig, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::Subsampling, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::ChannelFormat, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::MultiplanarFormatDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::SharedImageFormatDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {



inline void SharedImageFormatDataView::GetMultiplanarFormatDataView(
    MultiplanarFormatDataView* output) const {}


}  // viz::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::PlaneConfig> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::Subsampling> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::ChannelFormat> {};

} // namespace perfetto

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_SHARED_IMAGE_FORMAT_MOJOM_SHARED_H_