| 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/command_buffer/common/constants.h" | |
| 8 #include "gpu/gpu_export.h" | |
| 9 #include "ipc/ipc_message_utils.h" | |
| 10 #include "ipc/param_traits_macros.h" | |
| 11 | |
| 12 #undef IPC_MESSAGE_EXPORT | |
| 13 #define IPC_MESSAGE_EXPORT GPU_EXPORT | |
| 14 | |
| 15 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::Error, gpu::error::kErrorLast) | |
| 16 IPC_ENUM_TRAITS_MIN_MAX_VALUE( | |
| 17 gpu::CommandBufferNamespace, | |
| 18 gpu::CommandBufferNamespace::INVALID, | |
| 19 gpu::CommandBufferNamespace::NUM_COMMAND_BUFFER_NAMESPACES - 1) | |
| 20 | |
| 21 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::ShaderPrecision) | |
| 22 IPC_STRUCT_TRAITS_MEMBER(min_range) | |
| 23 IPC_STRUCT_TRAITS_MEMBER(max_range) | |
| 24 IPC_STRUCT_TRAITS_MEMBER(precision) | |
| 25 IPC_STRUCT_TRAITS_END() | |
| 26 | |
| 27 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities::PerStagePrecisions) | |
| 28 IPC_STRUCT_TRAITS_MEMBER(low_int) | |
| 29 IPC_STRUCT_TRAITS_MEMBER(medium_int) | |
| 30 IPC_STRUCT_TRAITS_MEMBER(high_int) | |
| 31 IPC_STRUCT_TRAITS_MEMBER(low_float) | |
| 32 IPC_STRUCT_TRAITS_MEMBER(medium_float) | |
| 33 IPC_STRUCT_TRAITS_MEMBER(high_float) | |
| 34 IPC_STRUCT_TRAITS_END() | |
| 35 | |
| 36 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) | |
| 37 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_precisions) | |
| 38 IPC_STRUCT_TRAITS_MEMBER(fragment_shader_precisions) | |
| 39 IPC_STRUCT_TRAITS_MEMBER(max_combined_texture_image_units) | |
| 40 IPC_STRUCT_TRAITS_MEMBER(max_cube_map_texture_size) | |
| 41 IPC_STRUCT_TRAITS_MEMBER(max_fragment_uniform_vectors) | |
| 42 IPC_STRUCT_TRAITS_MEMBER(max_renderbuffer_size) | |
| 43 IPC_STRUCT_TRAITS_MEMBER(max_texture_image_units) | |
| 44 IPC_STRUCT_TRAITS_MEMBER(max_texture_size) | |
| 45 IPC_STRUCT_TRAITS_MEMBER(max_varying_vectors) | |
| 46 IPC_STRUCT_TRAITS_MEMBER(max_vertex_attribs) | |
| 47 IPC_STRUCT_TRAITS_MEMBER(max_vertex_texture_image_units) | |
| 48 IPC_STRUCT_TRAITS_MEMBER(max_vertex_uniform_vectors) | |
| 49 IPC_STRUCT_TRAITS_MEMBER(num_compressed_texture_formats) | |
| 50 IPC_STRUCT_TRAITS_MEMBER(num_shader_binary_formats) | |
| 51 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource_chromium) | |
| 52 | |
| 53 IPC_STRUCT_TRAITS_MEMBER(max_3d_texture_size) | |
| 54 IPC_STRUCT_TRAITS_MEMBER(max_array_texture_layers) | |
| 55 IPC_STRUCT_TRAITS_MEMBER(max_color_attachments) | |
| 56 IPC_STRUCT_TRAITS_MEMBER(max_combined_fragment_uniform_components) | |
| 57 IPC_STRUCT_TRAITS_MEMBER(max_combined_uniform_blocks) | |
| 58 IPC_STRUCT_TRAITS_MEMBER(max_combined_vertex_uniform_components) | |
| 59 IPC_STRUCT_TRAITS_MEMBER(max_copy_texture_chromium_size) | |
| 60 IPC_STRUCT_TRAITS_MEMBER(max_draw_buffers) | |
| 61 IPC_STRUCT_TRAITS_MEMBER(max_element_index) | |
| 62 IPC_STRUCT_TRAITS_MEMBER(max_elements_indices) | |
| 63 IPC_STRUCT_TRAITS_MEMBER(max_elements_vertices) | |
| 64 IPC_STRUCT_TRAITS_MEMBER(max_fragment_input_components) | |
| 65 IPC_STRUCT_TRAITS_MEMBER(max_fragment_uniform_blocks) | |
| 66 IPC_STRUCT_TRAITS_MEMBER(max_fragment_uniform_components) | |
| 67 IPC_STRUCT_TRAITS_MEMBER(max_program_texel_offset) | |
| 68 IPC_STRUCT_TRAITS_MEMBER(max_samples) | |
| 69 IPC_STRUCT_TRAITS_MEMBER(max_server_wait_timeout) | |
| 70 IPC_STRUCT_TRAITS_MEMBER(max_texture_lod_bias) | |
| 71 IPC_STRUCT_TRAITS_MEMBER(max_transform_feedback_interleaved_components) | |
| 72 IPC_STRUCT_TRAITS_MEMBER(max_transform_feedback_separate_attribs) | |
| 73 IPC_STRUCT_TRAITS_MEMBER(max_transform_feedback_separate_components) | |
| 74 IPC_STRUCT_TRAITS_MEMBER(max_uniform_block_size) | |
| 75 IPC_STRUCT_TRAITS_MEMBER(max_uniform_buffer_bindings) | |
| 76 IPC_STRUCT_TRAITS_MEMBER(max_varying_components) | |
| 77 IPC_STRUCT_TRAITS_MEMBER(max_vertex_output_components) | |
| 78 IPC_STRUCT_TRAITS_MEMBER(max_vertex_uniform_blocks) | |
| 79 IPC_STRUCT_TRAITS_MEMBER(max_vertex_uniform_components) | |
| 80 IPC_STRUCT_TRAITS_MEMBER(min_program_texel_offset) | |
| 81 IPC_STRUCT_TRAITS_MEMBER(num_extensions) | |
| 82 IPC_STRUCT_TRAITS_MEMBER(num_program_binary_formats) | |
| 83 IPC_STRUCT_TRAITS_MEMBER(uniform_buffer_offset_alignment) | |
| 84 | |
| 85 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) | |
| 86 IPC_STRUCT_TRAITS_MEMBER(commit_overlay_planes) | |
| 87 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) | |
| 88 IPC_STRUCT_TRAITS_MEMBER(texture_format_atc) | |
| 89 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) | |
| 90 IPC_STRUCT_TRAITS_MEMBER(texture_format_dxt1) | |
| 91 IPC_STRUCT_TRAITS_MEMBER(texture_format_dxt5) | |
| 92 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) | |
| 93 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) | |
| 94 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle) | |
| 95 IPC_STRUCT_TRAITS_MEMBER(iosurface) | |
| 96 IPC_STRUCT_TRAITS_MEMBER(texture_usage) | |
| 97 IPC_STRUCT_TRAITS_MEMBER(texture_storage) | |
| 98 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer) | |
| 99 IPC_STRUCT_TRAITS_MEMBER(sync_query) | |
| 100 IPC_STRUCT_TRAITS_MEMBER(image) | |
| 101 IPC_STRUCT_TRAITS_MEMBER(future_sync_points) | |
| 102 IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced) | |
| 103 IPC_STRUCT_TRAITS_MEMBER(blend_equation_advanced_coherent) | |
| 104 IPC_STRUCT_TRAITS_MEMBER(texture_rg) | |
| 105 IPC_STRUCT_TRAITS_MEMBER(texture_half_float_linear) | |
| 106 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_422) | |
| 107 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_420v) | |
| 108 IPC_STRUCT_TRAITS_MEMBER(render_buffer_format_bgra8888) | |
| 109 IPC_STRUCT_TRAITS_MEMBER(occlusion_query_boolean) | |
| 110 IPC_STRUCT_TRAITS_MEMBER(timer_queries) | |
| 111 IPC_STRUCT_TRAITS_MEMBER(surfaceless) | |
| 112 IPC_STRUCT_TRAITS_MEMBER(flips_vertically) | |
| 113 | |
| 114 IPC_STRUCT_TRAITS_MEMBER(major_version) | |
| 115 IPC_STRUCT_TRAITS_MEMBER(minor_version) | |
| 116 IPC_STRUCT_TRAITS_END() | |
| OLD | NEW |