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

Side by Side Diff: cc/output/software_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 | « cc/output/renderer.h ('k') | cc/resources/tile_manager.h » ('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_SOFTWARE_RENDERER_H_ 5 #ifndef CC_OUTPUT_SOFTWARE_RENDERER_H_
6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_ 6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.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 19 matching lines...) Expand all
30 static scoped_ptr<SoftwareRenderer> Create( 30 static scoped_ptr<SoftwareRenderer> Create(
31 RendererClient* client, 31 RendererClient* client,
32 const LayerTreeSettings* settings, 32 const LayerTreeSettings* settings,
33 OutputSurface* output_surface, 33 OutputSurface* output_surface,
34 ResourceProvider* resource_provider); 34 ResourceProvider* resource_provider);
35 35
36 virtual ~SoftwareRenderer(); 36 virtual ~SoftwareRenderer();
37 virtual const RendererCapabilitiesImpl& Capabilities() const OVERRIDE; 37 virtual const RendererCapabilitiesImpl& Capabilities() const OVERRIDE;
38 virtual void Finish() OVERRIDE; 38 virtual void Finish() OVERRIDE;
39 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE; 39 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE;
40 virtual void SendManagedMemoryStats(
41 size_t bytes_visible,
42 size_t bytes_visible_and_nearby,
43 size_t bytes_allocated) OVERRIDE {}
44 virtual void ReceiveSwapBuffersAck( 40 virtual void ReceiveSwapBuffersAck(
45 const CompositorFrameAck& ack) OVERRIDE; 41 const CompositorFrameAck& ack) OVERRIDE;
46 virtual void DiscardBackbuffer() OVERRIDE; 42 virtual void DiscardBackbuffer() OVERRIDE;
47 virtual void EnsureBackbuffer() OVERRIDE; 43 virtual void EnsureBackbuffer() OVERRIDE;
48 44
49 protected: 45 protected:
50 virtual void BindFramebufferToOutputSurface(DrawingFrame* frame) OVERRIDE; 46 virtual void BindFramebufferToOutputSurface(DrawingFrame* frame) OVERRIDE;
51 virtual bool BindFramebufferToTexture( 47 virtual bool BindFramebufferToTexture(
52 DrawingFrame* frame, 48 DrawingFrame* frame,
53 const ScopedResource* texture, 49 const ScopedResource* texture,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware> 105 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware>
110 current_framebuffer_lock_; 106 current_framebuffer_lock_;
111 scoped_ptr<SoftwareFrameData> current_frame_data_; 107 scoped_ptr<SoftwareFrameData> current_frame_data_;
112 108
113 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer); 109 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
114 }; 110 };
115 111
116 } // namespace cc 112 } // namespace cc
117 113
118 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_ 114 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/renderer.h ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698