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

Side by Side Diff: cc/output/context_provider.cc

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 7 years, 3 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 #include "cc/output/context_provider.h" 5 #include "cc/output/context_provider.h"
6 6
7 #include <limits>
8
7 namespace cc { 9 namespace cc {
8 10
9 ContextProvider::Capabilities::Capabilities() 11 ContextProvider::Capabilities::Capabilities()
10 : bind_uniform_location(false), 12 : bind_uniform_location(false),
11 discard_backbuffer(false), 13 discard_backbuffer(false),
12 egl_image_external(false), 14 egl_image_external(false),
13 fast_npot_mo8_textures(false), 15 fast_npot_mo8_textures(false),
14 iosurface(false), 16 iosurface(false),
15 map_image(false), 17 map_image(false),
16 map_sub(false), 18 map_sub(false),
17 post_sub_buffer(false), 19 post_sub_buffer(false),
18 set_visibility(false), 20 set_visibility(false),
19 shallow_flush(false), 21 shallow_flush(false),
20 swapbuffers_complete_callback(false), 22 swapbuffers_complete_callback(false),
21 texture_format_bgra8888(false), 23 texture_format_bgra8888(false),
22 texture_rectangle(false), 24 texture_rectangle(false),
23 texture_storage(false), 25 texture_storage(false),
24 texture_usage(false) {} 26 texture_usage(false),
27 max_transfer_buffer_usage_bytes(std::numeric_limits<size_t>::max()) {}
25 28
26 } // namespace cc 29 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698