chromium/gpu/ipc/common/command_buffer_mojom_traits.h

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

#ifndef GPU_IPC_COMMON_COMMAND_BUFFER_MOJOM_TRAITS_H_
#define GPU_IPC_COMMON_COMMAND_BUFFER_MOJOM_TRAITS_H_

#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/common/gpu_channel.mojom-shared.h"
#include "gpu/ipc/common/gpu_command_buffer_traits.h"

namespace mojo {

template <>
struct GPU_EXPORT StructTraits<gpu::mojom::CommandBufferStateDataView,
                               gpu::CommandBuffer::State> {};

}  // namespace mojo

#endif  // GPU_IPC_COMMON_COMMAND_BUFFER_MOJOM_TRAITS_H_