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

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

Issue 279013002: Remove CompositeAndReadback from LayerTreeHost(Impl) and the Proxys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-cnr-lth-proxy-renderer: rebase-on-drawresult Created 6 years, 7 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/output/software_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_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 GetFramebufferPixels(void* pixels,
41 const gfx::Rect& rect) OVERRIDE;
42 virtual void SendManagedMemoryStats( 40 virtual void SendManagedMemoryStats(
43 size_t bytes_visible, 41 size_t bytes_visible,
44 size_t bytes_visible_and_nearby, 42 size_t bytes_visible_and_nearby,
45 size_t bytes_allocated) OVERRIDE {} 43 size_t bytes_allocated) OVERRIDE {}
46 virtual void ReceiveSwapBuffersAck( 44 virtual void ReceiveSwapBuffersAck(
47 const CompositorFrameAck& ack) OVERRIDE; 45 const CompositorFrameAck& ack) OVERRIDE;
48 virtual void DiscardBackbuffer() OVERRIDE; 46 virtual void DiscardBackbuffer() OVERRIDE;
49 virtual void EnsureBackbuffer() OVERRIDE; 47 virtual void EnsureBackbuffer() OVERRIDE;
50 48
51 protected: 49 protected:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware> 109 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware>
112 current_framebuffer_lock_; 110 current_framebuffer_lock_;
113 scoped_ptr<SoftwareFrameData> current_frame_data_; 111 scoped_ptr<SoftwareFrameData> current_frame_data_;
114 112
115 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer); 113 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
116 }; 114 };
117 115
118 } // namespace cc 116 } // namespace cc
119 117
120 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_ 118 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/renderer.h ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698