OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Multiply-included message file, hence no include guard here. |
| 6 #include "gpu/command_buffer/common/capabilities.h" |
| 7 #include "gpu/gpu_export.h" |
| 8 #include "ipc/ipc_message_utils.h" |
| 9 #include "ipc/param_traits_macros.h" |
| 10 |
| 11 #undef IPC_MESSAGE_EXPORT |
| 12 #define IPC_MESSAGE_EXPORT GPU_EXPORT |
| 13 |
| 14 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::ShaderPrecision) |
| 15 IPC_STRUCT_TRAITS_MEMBER(min_range) |
| 16 IPC_STRUCT_TRAITS_MEMBER(max_range) |
| 17 IPC_STRUCT_TRAITS_MEMBER(precision) |
| 18 IPC_STRUCT_TRAITS_END() |
| 19 |
| 20 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::PerStagePrecisions) |
| 21 IPC_STRUCT_TRAITS_MEMBER(low_int) |
| 22 IPC_STRUCT_TRAITS_MEMBER(medium_int) |
| 23 IPC_STRUCT_TRAITS_MEMBER(high_int) |
| 24 IPC_STRUCT_TRAITS_MEMBER(low_float) |
| 25 IPC_STRUCT_TRAITS_MEMBER(medium_float) |
| 26 IPC_STRUCT_TRAITS_MEMBER(high_float) |
| 27 IPC_STRUCT_TRAITS_END() |
| 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) |
| 30 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_precisions) |
| 31 IPC_STRUCT_TRAITS_MEMBER(fragment_shader_precisions) |
| 32 IPC_STRUCT_TRAITS_MEMBER(max_combined_texture_image_units) |
| 33 IPC_STRUCT_TRAITS_MEMBER(max_cube_map_texture_size) |
| 34 IPC_STRUCT_TRAITS_MEMBER(max_fragment_uniform_vectors) |
| 35 IPC_STRUCT_TRAITS_MEMBER(max_renderbuffer_size) |
| 36 IPC_STRUCT_TRAITS_MEMBER(max_texture_image_units) |
| 37 IPC_STRUCT_TRAITS_MEMBER(max_texture_size) |
| 38 IPC_STRUCT_TRAITS_MEMBER(max_varying_vectors) |
| 39 IPC_STRUCT_TRAITS_MEMBER(max_vertex_attribs) |
| 40 IPC_STRUCT_TRAITS_MEMBER(max_vertex_texture_image_units) |
| 41 IPC_STRUCT_TRAITS_MEMBER(max_vertex_uniform_vectors) |
| 42 IPC_STRUCT_TRAITS_MEMBER(num_compressed_texture_formats) |
| 43 IPC_STRUCT_TRAITS_MEMBER(num_shader_binary_formats) |
| 44 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource_chromium) |
| 45 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) |
| 46 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) |
| 47 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) |
| 48 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) |
| 49 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) |
| 50 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle) |
| 51 IPC_STRUCT_TRAITS_MEMBER(iosurface) |
| 52 IPC_STRUCT_TRAITS_MEMBER(texture_usage) |
| 53 IPC_STRUCT_TRAITS_MEMBER(texture_storage) |
| 54 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer) |
| 55 IPC_STRUCT_TRAITS_MEMBER(sync_query) |
| 56 IPC_STRUCT_TRAITS_MEMBER(image) |
| 57 IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced) |
| 58 IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced_coherent) |
| 59 IPC_STRUCT_TRAITS_END() |
OLD | NEW |