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

Side by Side Diff: gpu/command_buffer/common/capabilities.h

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: fix cc_unittests 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "gpu/gpu_export.h" 10 #include "gpu/gpu_export.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 bool chromium_image_rgb_emulation = false; 165 bool chromium_image_rgb_emulation = false;
166 166
167 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to 167 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to
168 // work around this. See https://crbug.com/449150 for an example. 168 // work around this. See https://crbug.com/449150 for an example.
169 bool emulate_rgb_buffer_with_rgba = false; 169 bool emulate_rgb_buffer_with_rgba = false;
170 170
171 // When true, is safe to convert a canvas from software to accelerated. 171 // When true, is safe to convert a canvas from software to accelerated.
172 // See https://crbug.com/710029. 172 // See https://crbug.com/710029.
173 bool software_to_accelerated_canvas_upgrade = true; 173 bool software_to_accelerated_canvas_upgrade = true;
174 174
175 // When true, non-empty post sub buffer calls are unsupported.
176 bool disable_non_empty_post_sub_buffers = false;
jbauman 2017/04/20 00:23:47 Wouldn't an empty PostSubBuffers with a surfaceles
reveman 2017/04/20 18:21:35 Almost. We still need to commit the primary plane
177
175 int major_version = 2; 178 int major_version = 2;
176 int minor_version = 0; 179 int minor_version = 0;
177 }; 180 };
178 181
179 } // namespace gpu 182 } // namespace gpu
180 183
181 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 184 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698