OLD | NEW |
---|---|
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 // actually have RGBA format. The client is responsible for handling most of | 151 // actually have RGBA format. The client is responsible for handling most of |
152 // the complexities associated with this. See | 152 // the complexities associated with this. See |
153 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more | 153 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more |
154 // details. | 154 // details. |
155 bool chromium_image_rgb_emulation; | 155 bool chromium_image_rgb_emulation; |
156 | 156 |
157 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to | 157 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to |
158 // work around this. See https://crbug.com/449150 for an example. | 158 // work around this. See https://crbug.com/449150 for an example. |
159 bool emulate_rgb_buffer_with_rgba; | 159 bool emulate_rgb_buffer_with_rgba; |
160 | 160 |
161 bool swap_buffers_with_damage; | |
piman
2016/09/08 04:27:11
nit: maybe move this around l.118 together with po
halliwell
2016/09/08 13:19:00
Done.
| |
162 | |
161 int major_version; | 163 int major_version; |
162 int minor_version; | 164 int minor_version; |
163 }; | 165 }; |
164 | 166 |
165 } // namespace gpu | 167 } // namespace gpu |
166 | 168 |
167 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 169 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |