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

// gpu/ipc/common/gpu_channel.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_channel.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_channel.mojom-params-data.h"
namespace gpu {
namespace mojom {

NOINLINE static const char* ContextTypeToStringHelper(ContextType value) {}

std::string ContextTypeToString(ContextType value) {}

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

NOINLINE static const char* ContextColorSpaceToStringHelper(ContextColorSpace value) {}

std::string ContextColorSpaceToString(ContextColorSpace value) {}

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

NOINLINE static const char* SchedulingPriorityToStringHelper(SchedulingPriority value) {}

std::string SchedulingPriorityToString(SchedulingPriority value) {}

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

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


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

ContextCreationAttribs_Data::ContextCreationAttribs_Data()
    :{}


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

CreateCommandBufferParams_Data::CreateCommandBufferParams_Data()
    :{}


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

CommandBufferState_Data::CommandBufferState_Data()
    :{}


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

ScheduleImageDecodeParams_Data::ScheduleImageDecodeParams_Data()
    :{}


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

DeferredRequest_Data::DeferredRequest_Data()
    :{}


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

DeferredCommandBufferRequest_Data::DeferredCommandBufferRequest_Data()
    :{}


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

AsyncFlushParams_Data::AsyncFlushParams_Data()
    :{}


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

SetDefaultFramebufferSharedImageParams_Data::SetDefaultFramebufferSharedImageParams_Data()
    :{}


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

SharedImageInfo_Data::SharedImageInfo_Data()
    :{}


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

CreateSharedImageParams_Data::CreateSharedImageParams_Data()
    :{}


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

CreateSharedImageWithDataParams_Data::CreateSharedImageWithDataParams_Data()
    :{}


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

CreateSharedImageWithBufferParams_Data::CreateSharedImageWithBufferParams_Data()
    :{}


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

UpdateSharedImageParams_Data::UpdateSharedImageParams_Data()
    :{}


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

AddReferenceToSharedImageParams_Data::AddReferenceToSharedImageParams_Data()
    :{}


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

CopyToGpuMemoryBufferParams_Data::CopyToGpuMemoryBufferParams_Data()
    :{}


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

GpuChannel_CrashForTesting_Params_Data::GpuChannel_CrashForTesting_Params_Data()
    :{}


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

GpuChannel_TerminateForTesting_Params_Data::GpuChannel_TerminateForTesting_Params_Data()
    :{}


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

GpuChannel_GetChannelToken_Params_Data::GpuChannel_GetChannelToken_Params_Data()
    :{}


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

GpuChannel_GetChannelToken_ResponseParams_Data::GpuChannel_GetChannelToken_ResponseParams_Data()
    :{}


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

GpuChannel_Flush_Params_Data::GpuChannel_Flush_Params_Data()
    :{}


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

GpuChannel_Flush_ResponseParams_Data::GpuChannel_Flush_ResponseParams_Data()
    :{}


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

GpuChannel_GetSharedMemoryForFlushId_Params_Data::GpuChannel_GetSharedMemoryForFlushId_Params_Data()
    :{}


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

GpuChannel_GetSharedMemoryForFlushId_ResponseParams_Data::GpuChannel_GetSharedMemoryForFlushId_ResponseParams_Data()
    :{}


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

GpuChannel_CreateCommandBuffer_Params_Data::GpuChannel_CreateCommandBuffer_Params_Data()
    :{}


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

GpuChannel_CreateCommandBuffer_ResponseParams_Data::GpuChannel_CreateCommandBuffer_ResponseParams_Data()
    :{}


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

GpuChannel_DestroyCommandBuffer_Params_Data::GpuChannel_DestroyCommandBuffer_Params_Data()
    :{}


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

GpuChannel_DestroyCommandBuffer_ResponseParams_Data::GpuChannel_DestroyCommandBuffer_ResponseParams_Data()
    :{}


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

GpuChannel_ScheduleImageDecode_Params_Data::GpuChannel_ScheduleImageDecode_Params_Data()
    :{}


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

GpuChannel_FlushDeferredRequests_Params_Data::GpuChannel_FlushDeferredRequests_Params_Data()
    :{}


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

GpuChannel_CreateGpuMemoryBuffer_Params_Data::GpuChannel_CreateGpuMemoryBuffer_Params_Data()
    :{}


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

GpuChannel_CreateGpuMemoryBuffer_ResponseParams_Data::GpuChannel_CreateGpuMemoryBuffer_ResponseParams_Data()
    :{}


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

GpuChannel_GetGpuMemoryBufferHandleInfo_Params_Data::GpuChannel_GetGpuMemoryBufferHandleInfo_Params_Data()
    :{}


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

GpuChannel_GetGpuMemoryBufferHandleInfo_ResponseParams_Data::GpuChannel_GetGpuMemoryBufferHandleInfo_ResponseParams_Data()
    :{}


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

GpuChannel_WaitForTokenInRange_Params_Data::GpuChannel_WaitForTokenInRange_Params_Data()
    :{}


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

GpuChannel_WaitForTokenInRange_ResponseParams_Data::GpuChannel_WaitForTokenInRange_ResponseParams_Data()
    :{}


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

GpuChannel_WaitForGetOffsetInRange_Params_Data::GpuChannel_WaitForGetOffsetInRange_Params_Data()
    :{}


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

GpuChannel_WaitForGetOffsetInRange_ResponseParams_Data::GpuChannel_WaitForGetOffsetInRange_ResponseParams_Data()
    :{}


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

CommandBuffer_SetGetBuffer_Params_Data::CommandBuffer_SetGetBuffer_Params_Data()
    :{}


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

CommandBuffer_RegisterTransferBuffer_Params_Data::CommandBuffer_RegisterTransferBuffer_Params_Data()
    :{}


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

CommandBuffer_CreateGpuFenceFromHandle_Params_Data::CommandBuffer_CreateGpuFenceFromHandle_Params_Data()
    :{}


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

CommandBuffer_GetGpuFenceHandle_Params_Data::CommandBuffer_GetGpuFenceHandle_Params_Data()
    :{}


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

CommandBuffer_GetGpuFenceHandle_ResponseParams_Data::CommandBuffer_GetGpuFenceHandle_ResponseParams_Data()
    :{}


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

CommandBuffer_SignalSyncToken_Params_Data::CommandBuffer_SignalSyncToken_Params_Data()
    :{}


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

CommandBuffer_SignalQuery_Params_Data::CommandBuffer_SignalQuery_Params_Data()
    :{}


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

CommandBufferClient_OnConsoleMessage_Params_Data::CommandBufferClient_OnConsoleMessage_Params_Data()
    :{}


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

CommandBufferClient_OnGpuSwitched_Params_Data::CommandBufferClient_OnGpuSwitched_Params_Data()
    :{}


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

CommandBufferClient_OnDestroyed_Params_Data::CommandBufferClient_OnDestroyed_Params_Data()
    :{}


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

CommandBufferClient_OnReturnData_Params_Data::CommandBufferClient_OnReturnData_Params_Data()
    :{}


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

CommandBufferClient_OnSignalAck_Params_Data::CommandBufferClient_OnSignalAck_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto