| 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 "gpu/gpu_export.h" | 8 #include "gpu/gpu_export.h" |
| 9 | 9 |
| 10 namespace gpu { | 10 namespace gpu { |
| 11 | 11 |
| 12 struct GPU_EXPORT Capabilities { | 12 struct GPU_EXPORT Capabilities { |
| 13 bool post_sub_buffer; | 13 bool post_sub_buffer; |
| 14 bool fast_npot_mo8_textures; | 14 bool fast_npot_mo8_textures; |
| 15 bool egl_image_external; | 15 bool egl_image_external; |
| 16 bool texture_format_bgra8888; | 16 bool texture_format_bgra8888; |
| 17 bool texture_format_etc1; | 17 bool texture_format_etc1; |
| 18 bool texture_rectangle; | 18 bool texture_rectangle; |
| 19 bool iosurface; | 19 bool iosurface; |
| 20 bool texture_usage; | 20 bool texture_usage; |
| 21 bool texture_storage; | 21 bool texture_storage; |
| 22 bool discard_framebuffer; | 22 bool discard_framebuffer; |
| 23 bool sync_query; | 23 bool sync_query; |
| 24 | |
| 25 // Capabilities below are not populated by GLES2Decoder. | |
| 26 bool map_image; | 24 bool map_image; |
| 27 | 25 |
| 28 Capabilities(); | 26 Capabilities(); |
| 29 }; | 27 }; |
| 30 | 28 |
| 31 } // namespace gpu | 29 } // namespace gpu |
| 32 | 30 |
| 33 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 31 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |