chromium/out/Default/gen/ui/gfx/mojom/buffer_types.mojom-shared.cc

// ui/gfx/mojom/buffer_types.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 "ui/gfx/mojom/buffer_types.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 "ui/gfx/mojom/buffer_types.mojom-params-data.h"
namespace gfx {
namespace mojom {

NOINLINE static const char* BufferFormatToStringHelper(BufferFormat value) {}

std::string BufferFormatToString(BufferFormat value) {}

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

NOINLINE static const char* BufferUsageToStringHelper(BufferUsage value) {}

std::string BufferUsageToString(BufferUsage value) {}

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

NOINLINE static const char* BufferPlaneToStringHelper(BufferPlane value) {}

std::string BufferPlaneToString(BufferPlane value) {}

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

namespace internal {


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

BufferUsageAndFormat_Data::BufferUsageAndFormat_Data()
    :{}


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

GpuMemoryBufferId_Data::GpuMemoryBufferId_Data()
    :{}


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

GpuMemoryBufferHandle_Data::GpuMemoryBufferHandle_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace gfx

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto