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 #include "cc/output/context_provider.h" | 5 #include "cc/output/context_provider.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 namespace cc { | 9 namespace cc { |
10 | 10 |
11 ContextProvider::Capabilities::Capabilities() | 11 ContextProvider::Capabilities::Capabilities() |
12 : bind_uniform_location(false), | 12 : discard_backbuffer(false), |
13 discard_backbuffer(false), | |
14 egl_image_external(false), | 13 egl_image_external(false), |
15 fast_npot_mo8_textures(false), | 14 fast_npot_mo8_textures(false), |
16 iosurface(false), | 15 iosurface(false), |
17 map_image(false), | 16 map_image(false), |
18 map_sub(false), | 17 map_sub(false), |
19 post_sub_buffer(false), | 18 post_sub_buffer(false), |
20 set_visibility(false), | 19 set_visibility(false), |
21 shallow_flush(false), | 20 shallow_flush(false), |
22 swapbuffers_complete_callback(false), | 21 swapbuffers_complete_callback(false), |
23 texture_format_bgra8888(false), | 22 texture_format_bgra8888(false), |
24 texture_format_etc1(false), | 23 texture_format_etc1(false), |
25 texture_rectangle(false), | 24 texture_rectangle(false), |
26 texture_storage(false), | 25 texture_storage(false), |
27 texture_usage(false), | 26 texture_usage(false), |
28 discard_framebuffer(false), | 27 discard_framebuffer(false), |
29 max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {} | 28 max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {} |
30 | 29 |
31 } // namespace cc | 30 } // namespace cc |
OLD | NEW |