| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool chromium_image_rgb_emulation = false; | 167 bool chromium_image_rgb_emulation = false; |
| 168 | 168 |
| 169 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to | 169 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to |
| 170 // work around this. See https://crbug.com/449150 for an example. | 170 // work around this. See https://crbug.com/449150 for an example. |
| 171 bool emulate_rgb_buffer_with_rgba = false; | 171 bool emulate_rgb_buffer_with_rgba = false; |
| 172 | 172 |
| 173 // When true, is safe to convert a canvas from software to accelerated. | 173 // When true, is safe to convert a canvas from software to accelerated. |
| 174 // See https://crbug.com/710029. | 174 // See https://crbug.com/710029. |
| 175 bool software_to_accelerated_canvas_upgrade = true; | 175 bool software_to_accelerated_canvas_upgrade = true; |
| 176 | 176 |
| 177 // When true, non-empty post sub buffer calls are unsupported. |
| 178 bool disable_non_empty_post_sub_buffers = false; |
| 179 |
| 177 int major_version = 2; | 180 int major_version = 2; |
| 178 int minor_version = 0; | 181 int minor_version = 0; |
| 179 }; | 182 }; |
| 180 | 183 |
| 181 } // namespace gpu | 184 } // namespace gpu |
| 182 | 185 |
| 183 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 186 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |