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

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: modify comment to explain the use of RGBA_8888 to trigger a driver workaround Created 4 years, 4 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
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_422) 113 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_422)
114 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_420v) 114 IPC_STRUCT_TRAITS_MEMBER(image_ycbcr_420v)
115 IPC_STRUCT_TRAITS_MEMBER(render_buffer_format_bgra8888) 115 IPC_STRUCT_TRAITS_MEMBER(render_buffer_format_bgra8888)
116 IPC_STRUCT_TRAITS_MEMBER(occlusion_query_boolean) 116 IPC_STRUCT_TRAITS_MEMBER(occlusion_query_boolean)
117 IPC_STRUCT_TRAITS_MEMBER(timer_queries) 117 IPC_STRUCT_TRAITS_MEMBER(timer_queries)
118 IPC_STRUCT_TRAITS_MEMBER(surfaceless) 118 IPC_STRUCT_TRAITS_MEMBER(surfaceless)
119 IPC_STRUCT_TRAITS_MEMBER(flips_vertically) 119 IPC_STRUCT_TRAITS_MEMBER(flips_vertically)
120 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage) 120 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage)
121 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage) 121 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage)
122 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow) 122 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow)
123 IPC_STRUCT_TRAITS_MEMBER(force_software_yuv_conversion)
123 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation) 124 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation)
124 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba) 125 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba)
125 126
126 IPC_STRUCT_TRAITS_MEMBER(major_version) 127 IPC_STRUCT_TRAITS_MEMBER(major_version)
127 IPC_STRUCT_TRAITS_MEMBER(minor_version) 128 IPC_STRUCT_TRAITS_MEMBER(minor_version)
128 IPC_STRUCT_TRAITS_END() 129 IPC_STRUCT_TRAITS_END()
129 130
130 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper) 131 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper)
131 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size) 132 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size)
132 IPC_STRUCT_TRAITS_MEMBER(gpu_preference) 133 IPC_STRUCT_TRAITS_MEMBER(gpu_preference)
133 IPC_STRUCT_TRAITS_MEMBER(alpha_size) 134 IPC_STRUCT_TRAITS_MEMBER(alpha_size)
134 IPC_STRUCT_TRAITS_MEMBER(blue_size) 135 IPC_STRUCT_TRAITS_MEMBER(blue_size)
135 IPC_STRUCT_TRAITS_MEMBER(green_size) 136 IPC_STRUCT_TRAITS_MEMBER(green_size)
136 IPC_STRUCT_TRAITS_MEMBER(red_size) 137 IPC_STRUCT_TRAITS_MEMBER(red_size)
137 IPC_STRUCT_TRAITS_MEMBER(depth_size) 138 IPC_STRUCT_TRAITS_MEMBER(depth_size)
138 IPC_STRUCT_TRAITS_MEMBER(stencil_size) 139 IPC_STRUCT_TRAITS_MEMBER(stencil_size)
139 IPC_STRUCT_TRAITS_MEMBER(samples) 140 IPC_STRUCT_TRAITS_MEMBER(samples)
140 IPC_STRUCT_TRAITS_MEMBER(sample_buffers) 141 IPC_STRUCT_TRAITS_MEMBER(sample_buffers)
141 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved) 142 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved)
142 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource) 143 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource)
143 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat) 144 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat)
144 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory) 145 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory)
145 IPC_STRUCT_TRAITS_MEMBER(context_type) 146 IPC_STRUCT_TRAITS_MEMBER(context_type)
146 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer) 147 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer)
147 IPC_STRUCT_TRAITS_END() 148 IPC_STRUCT_TRAITS_END()
OLDNEW
« gpu/config/gpu_driver_bug_workaround_type.h ('K') | « 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