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

Side by Side Diff: gpu/ipc/common/gpu_command_buffer_traits_multi.h

Issue 2242453002: Avoid planar YUV resources when one component EGL images are not supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Abstract out resource immutability. Created 4 years, 3 months 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 unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard here. 5 // Multiply-included message file, hence no include guard here.
6 6
7 #include "gpu/command_buffer/common/capabilities.h" 7 #include "gpu/command_buffer/common/capabilities.h"
8 #include "gpu/command_buffer/common/constants.h" 8 #include "gpu/command_buffer/common/constants.h"
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
10 #include "gpu/gpu_export.h" 10 #include "gpu/gpu_export.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_422) 114 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_422)
115 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_420v) 115 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_420v)
116 IPC_STRUCT_TRAITS_MEMBER(render_buffer_format_bgra8888) 116 IPC_STRUCT_TRAITS_MEMBER(render_buffer_format_bgra8888)
117 IPC_STRUCT_TRAITS_MEMBER(occlusion_query_boolean) 117 IPC_STRUCT_TRAITS_MEMBER(occlusion_query_boolean)
118 IPC_STRUCT_TRAITS_MEMBER(timer_queries) 118 IPC_STRUCT_TRAITS_MEMBER(timer_queries)
119 IPC_STRUCT_TRAITS_MEMBER(surfaceless) 119 IPC_STRUCT_TRAITS_MEMBER(surfaceless)
120 IPC_STRUCT_TRAITS_MEMBER(flips_vertically) 120 IPC_STRUCT_TRAITS_MEMBER(flips_vertically)
121 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage) 121 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage)
122 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage) 122 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage)
123 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow) 123 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow)
124 IPC_STRUCT_TRAITS_MEMBER(disable_one_component_textures)
124 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation) 125 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation)
125 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba) 126 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba)
126 127
127 IPC_STRUCT_TRAITS_MEMBER(major_version) 128 IPC_STRUCT_TRAITS_MEMBER(major_version)
128 IPC_STRUCT_TRAITS_MEMBER(minor_version) 129 IPC_STRUCT_TRAITS_MEMBER(minor_version)
129 IPC_STRUCT_TRAITS_END() 130 IPC_STRUCT_TRAITS_END()
130 131
131 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper) 132 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper)
132 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size) 133 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size)
133 IPC_STRUCT_TRAITS_MEMBER(gpu_preference) 134 IPC_STRUCT_TRAITS_MEMBER(gpu_preference)
134 IPC_STRUCT_TRAITS_MEMBER(alpha_size) 135 IPC_STRUCT_TRAITS_MEMBER(alpha_size)
135 IPC_STRUCT_TRAITS_MEMBER(blue_size) 136 IPC_STRUCT_TRAITS_MEMBER(blue_size)
136 IPC_STRUCT_TRAITS_MEMBER(green_size) 137 IPC_STRUCT_TRAITS_MEMBER(green_size)
137 IPC_STRUCT_TRAITS_MEMBER(red_size) 138 IPC_STRUCT_TRAITS_MEMBER(red_size)
138 IPC_STRUCT_TRAITS_MEMBER(depth_size) 139 IPC_STRUCT_TRAITS_MEMBER(depth_size)
139 IPC_STRUCT_TRAITS_MEMBER(stencil_size) 140 IPC_STRUCT_TRAITS_MEMBER(stencil_size)
140 IPC_STRUCT_TRAITS_MEMBER(samples) 141 IPC_STRUCT_TRAITS_MEMBER(samples)
141 IPC_STRUCT_TRAITS_MEMBER(sample_buffers) 142 IPC_STRUCT_TRAITS_MEMBER(sample_buffers)
142 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved) 143 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved)
143 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource) 144 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource)
144 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat) 145 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat)
145 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory) 146 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory)
146 IPC_STRUCT_TRAITS_MEMBER(context_type) 147 IPC_STRUCT_TRAITS_MEMBER(context_type)
147 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer) 148 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer)
148 IPC_STRUCT_TRAITS_END() 149 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698