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

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

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: new workaround Created 3 years, 8 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 IPC_STRUCT_TRAITS_MEMBER(flips_vertically) 122 IPC_STRUCT_TRAITS_MEMBER(flips_vertically)
123 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage) 123 IPC_STRUCT_TRAITS_MEMBER(disable_multisampling_color_mask_usage)
124 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage) 124 IPC_STRUCT_TRAITS_MEMBER(disable_webgl_rgb_multisampling_usage)
125 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow) 125 IPC_STRUCT_TRAITS_MEMBER(msaa_is_slow)
126 IPC_STRUCT_TRAITS_MEMBER(disable_one_component_textures) 126 IPC_STRUCT_TRAITS_MEMBER(disable_one_component_textures)
127 IPC_STRUCT_TRAITS_MEMBER(gpu_rasterization) 127 IPC_STRUCT_TRAITS_MEMBER(gpu_rasterization)
128 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation) 128 IPC_STRUCT_TRAITS_MEMBER(chromium_image_rgb_emulation)
129 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba) 129 IPC_STRUCT_TRAITS_MEMBER(emulate_rgb_buffer_with_rgba)
130 IPC_STRUCT_TRAITS_MEMBER(software_to_accelerated_canvas_upgrade) 130 IPC_STRUCT_TRAITS_MEMBER(software_to_accelerated_canvas_upgrade)
131 IPC_STRUCT_TRAITS_MEMBER(dc_layers) 131 IPC_STRUCT_TRAITS_MEMBER(dc_layers)
132 IPC_STRUCT_TRAITS_MEMBER(disable_non_empty_post_sub_buffers)
132 133
133 IPC_STRUCT_TRAITS_MEMBER(major_version) 134 IPC_STRUCT_TRAITS_MEMBER(major_version)
134 IPC_STRUCT_TRAITS_MEMBER(minor_version) 135 IPC_STRUCT_TRAITS_MEMBER(minor_version)
135 IPC_STRUCT_TRAITS_END() 136 IPC_STRUCT_TRAITS_END()
136 137
137 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper) 138 IPC_STRUCT_TRAITS_BEGIN(gpu::gles2::ContextCreationAttribHelper)
138 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size) 139 IPC_STRUCT_TRAITS_MEMBER(offscreen_framebuffer_size)
139 IPC_STRUCT_TRAITS_MEMBER(gpu_preference) 140 IPC_STRUCT_TRAITS_MEMBER(gpu_preference)
140 IPC_STRUCT_TRAITS_MEMBER(alpha_size) 141 IPC_STRUCT_TRAITS_MEMBER(alpha_size)
141 IPC_STRUCT_TRAITS_MEMBER(blue_size) 142 IPC_STRUCT_TRAITS_MEMBER(blue_size)
142 IPC_STRUCT_TRAITS_MEMBER(green_size) 143 IPC_STRUCT_TRAITS_MEMBER(green_size)
143 IPC_STRUCT_TRAITS_MEMBER(red_size) 144 IPC_STRUCT_TRAITS_MEMBER(red_size)
144 IPC_STRUCT_TRAITS_MEMBER(depth_size) 145 IPC_STRUCT_TRAITS_MEMBER(depth_size)
145 IPC_STRUCT_TRAITS_MEMBER(stencil_size) 146 IPC_STRUCT_TRAITS_MEMBER(stencil_size)
146 IPC_STRUCT_TRAITS_MEMBER(samples) 147 IPC_STRUCT_TRAITS_MEMBER(samples)
147 IPC_STRUCT_TRAITS_MEMBER(sample_buffers) 148 IPC_STRUCT_TRAITS_MEMBER(sample_buffers)
148 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved) 149 IPC_STRUCT_TRAITS_MEMBER(buffer_preserved)
149 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource) 150 IPC_STRUCT_TRAITS_MEMBER(bind_generates_resource)
150 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat) 151 IPC_STRUCT_TRAITS_MEMBER(fail_if_major_perf_caveat)
151 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory) 152 IPC_STRUCT_TRAITS_MEMBER(lose_context_when_out_of_memory)
152 IPC_STRUCT_TRAITS_MEMBER(context_type) 153 IPC_STRUCT_TRAITS_MEMBER(context_type)
153 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer) 154 IPC_STRUCT_TRAITS_MEMBER(should_use_native_gmb_for_backbuffer)
154 IPC_STRUCT_TRAITS_MEMBER(own_offscreen_surface) 155 IPC_STRUCT_TRAITS_MEMBER(own_offscreen_surface)
155 IPC_STRUCT_TRAITS_END() 156 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | services/ui/surfaces/display_output_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698