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

Side by Side Diff: cc/output/delegating_renderer.h

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/output/delegating_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_OUTPUT_DELEGATING_RENDERER_H_ 5 #ifndef CC_OUTPUT_DELEGATING_RENDERER_H_
6 #define CC_OUTPUT_DELEGATING_RENDERER_H_ 6 #define CC_OUTPUT_DELEGATING_RENDERER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 21 matching lines...) Expand all
32 const gfx::Rect& device_clip_rect, 32 const gfx::Rect& device_clip_rect,
33 bool disable_picture_quad_image_filtering) OVERRIDE; 33 bool disable_picture_quad_image_filtering) OVERRIDE;
34 34
35 virtual void Finish() OVERRIDE {} 35 virtual void Finish() OVERRIDE {}
36 36
37 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE; 37 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE;
38 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE; 38 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE;
39 39
40 virtual bool IsContextLost() OVERRIDE; 40 virtual bool IsContextLost() OVERRIDE;
41 41
42 virtual void SendManagedMemoryStats(size_t bytes_visible,
43 size_t bytes_visible_and_nearby,
44 size_t bytes_allocated) OVERRIDE;
45
46 private: 42 private:
47 DelegatingRenderer(RendererClient* client, 43 DelegatingRenderer(RendererClient* client,
48 const LayerTreeSettings* settings, 44 const LayerTreeSettings* settings,
49 OutputSurface* output_surface, 45 OutputSurface* output_surface,
50 ResourceProvider* resource_provider); 46 ResourceProvider* resource_provider);
51 47
52 virtual void DidChangeVisibility() OVERRIDE; 48 virtual void DidChangeVisibility() OVERRIDE;
53 49
54 OutputSurface* output_surface_; 50 OutputSurface* output_surface_;
55 ResourceProvider* resource_provider_; 51 ResourceProvider* resource_provider_;
56 RendererCapabilitiesImpl capabilities_; 52 RendererCapabilitiesImpl capabilities_;
57 scoped_ptr<DelegatedFrameData> delegated_frame_data_; 53 scoped_ptr<DelegatedFrameData> delegated_frame_data_;
58 54
59 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer); 55 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer);
60 }; 56 };
61 57
62 } // namespace cc 58 } // namespace cc
63 59
64 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_ 60 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/delegating_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698