Index: content/common/gpu/create_image_params.h |
diff --git a/content/common/gpu/create_image_params.h b/content/common/gpu/create_image_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa831b48269498ff92d01b93954525f33e5670bd |
--- /dev/null |
+++ b/content/common/gpu/create_image_params.h |
@@ -0,0 +1,29 @@ |
+// 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_IMAGE_PARAMS_H_ |
+#define CONTENT_COMMON_GPU_CREATE_IMAGE_PARAMS_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "ui/gfx/buffer_types.h" |
+#include "ui/gfx/geometry/size.h" |
+#include "ui/gfx/gpu_memory_buffer.h" |
+ |
+namespace content { |
+ |
+struct CONTENT_EXPORT CreateImageParams { |
+ CreateImageParams(); |
+ ~CreateImageParams(); |
+ |
+ int32_t id; |
+ gfx::GpuMemoryBufferHandle gpu_memory_buffer; |
+ gfx::Size size; |
+ gfx::BufferFormat format; |
+ uint32_t internal_format; |
+ uint64_t image_release_count; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_GPU_CREATE_IMAGE_PARAMS_H_ |