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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

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: Set the limit in the unittest 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 414
415 LayerTreeHostImplClient* client_; 415 LayerTreeHostImplClient* client_;
416 Proxy* proxy_; 416 Proxy* proxy_;
417 417
418 private: 418 private:
419 void CreateAndSetRenderer( 419 void CreateAndSetRenderer(
420 OutputSurface* output_surface, 420 OutputSurface* output_surface,
421 ResourceProvider* resource_provider, 421 ResourceProvider* resource_provider,
422 bool skip_gl_renderer); 422 bool skip_gl_renderer);
423 void CreateAndSetTileManager(ResourceProvider* resource_provider, 423 void CreateAndSetTileManager(ResourceProvider* resource_provider,
424 ContextProvider* context_provider,
424 bool using_map_image); 425 bool using_map_image);
425 void ReleaseTreeResources(); 426 void ReleaseTreeResources();
426 void EnforceZeroBudget(bool zero_budget); 427 void EnforceZeroBudget(bool zero_budget);
427 428
428 void AnimatePageScale(base::TimeTicks monotonic_time); 429 void AnimatePageScale(base::TimeTicks monotonic_time);
429 void AnimateScrollbars(base::TimeTicks monotonic_time); 430 void AnimateScrollbars(base::TimeTicks monotonic_time);
430 void AnimateTopControls(base::TimeTicks monotonic_time); 431 void AnimateTopControls(base::TimeTicks monotonic_time);
431 432
432 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( 433 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta(
433 LayerImpl* layer_impl, 434 LayerImpl* layer_impl,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 567
567 // Optional callback to notify of new tree activations. 568 // Optional callback to notify of new tree activations.
568 base::Closure tree_activation_callback_; 569 base::Closure tree_activation_callback_;
569 570
570 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 571 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
571 }; 572 };
572 573
573 } // namespace cc 574 } // namespace cc
574 575
575 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 576 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698