Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: gpu/ipc/gpu_command_buffer_traits_multi.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/gpu_command_buffer_traits.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/gpu_command_buffer_traits_multi.h
diff --git a/gpu/ipc/gpu_command_buffer_traits_multi.h b/gpu/ipc/gpu_command_buffer_traits_multi.h
new file mode 100644
index 0000000000000000000000000000000000000000..0978f79f9b3354ecaeef5cf097c461586b9bb12f
--- /dev/null
+++ b/gpu/ipc/gpu_command_buffer_traits_multi.h
@@ -0,0 +1,59 @@
+// Copyright 2014 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.
+
+// Multiply-included message file, hence no include guard here.
+#include "gpu/command_buffer/common/capabilities.h"
+#include "gpu/gpu_export.h"
+#include "ipc/ipc_message_utils.h"
+#include "ipc/param_traits_macros.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT GPU_EXPORT
+
+IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::ShaderPrecision)
+ IPC_STRUCT_TRAITS_MEMBER(min_range)
+ IPC_STRUCT_TRAITS_MEMBER(max_range)
+ IPC_STRUCT_TRAITS_MEMBER(precision)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::PerStagePrecisions)
+ IPC_STRUCT_TRAITS_MEMBER(low_int)
+ IPC_STRUCT_TRAITS_MEMBER(medium_int)
+ IPC_STRUCT_TRAITS_MEMBER(high_int)
+ IPC_STRUCT_TRAITS_MEMBER(low_float)
+ IPC_STRUCT_TRAITS_MEMBER(medium_float)
+ IPC_STRUCT_TRAITS_MEMBER(high_float)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities)
+ IPC_STRUCT_TRAITS_MEMBER(vertex_shader_precisions)
+ IPC_STRUCT_TRAITS_MEMBER(fragment_shader_precisions)
+ IPC_STRUCT_TRAITS_MEMBER(max_combined_texture_image_units)
+ IPC_STRUCT_TRAITS_MEMBER(max_cube_map_texture_size)
+ IPC_STRUCT_TRAITS_MEMBER(max_fragment_uniform_vectors)
+ IPC_STRUCT_TRAITS_MEMBER(max_renderbuffer_size)
+ IPC_STRUCT_TRAITS_MEMBER(max_texture_image_units)
+ IPC_STRUCT_TRAITS_MEMBER(max_texture_size)
+ IPC_STRUCT_TRAITS_MEMBER(max_varying_vectors)
+ IPC_STRUCT_TRAITS_MEMBER(max_vertex_attribs)
+ IPC_STRUCT_TRAITS_MEMBER(max_vertex_texture_image_units)
+ IPC_STRUCT_TRAITS_MEMBER(max_vertex_uniform_vectors)
+ IPC_STRUCT_TRAITS_MEMBER(num_compressed_texture_formats)
+ IPC_STRUCT_TRAITS_MEMBER(num_shader_binary_formats)
+ IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource_chromium)
+ IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer)
+ IPC_STRUCT_TRAITS_MEMBER(egl_image_external)
+ IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888)
+ IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1)
+ IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot)
+ IPC_STRUCT_TRAITS_MEMBER(texture_rectangle)
+ IPC_STRUCT_TRAITS_MEMBER(iosurface)
+ IPC_STRUCT_TRAITS_MEMBER(texture_usage)
+ IPC_STRUCT_TRAITS_MEMBER(texture_storage)
+ IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer)
+ IPC_STRUCT_TRAITS_MEMBER(sync_query)
+ IPC_STRUCT_TRAITS_MEMBER(image)
+ IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced)
+ IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced_coherent)
+IPC_STRUCT_TRAITS_END()
« no previous file with comments | « gpu/ipc/gpu_command_buffer_traits.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698