| Index: content/common/gpu/create_gpu_memory_buffer_from_handle_params.h
|
| diff --git a/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h b/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f3d109a65b7bfde03a4398ee5ca8a01b29429f36
|
| --- /dev/null
|
| +++ b/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
|
| +#define CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
|
| +
|
| +#include "ui/gfx/gpu_memory_buffer.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CreateGpuMemoryBufferFromHandleParams {
|
| + CreateGpuMemoryBufferFromHandleParams();
|
| + ~CreateGpuMemoryBufferFromHandleParams();
|
| +
|
| + gfx::GpuMemoryBufferHandle handle;
|
| + gfx::GpuMemoryBufferId id;
|
| + gfx::Size size;
|
| + gfx::BufferFormat format;
|
| + int32_t client_id;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
|
|
|