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

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

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 years, 8 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/layers/picture_layer_impl_unittest.cc ('k') | 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 11 matching lines...) Expand all
22 const LayerTreeSettings* settings, 22 const LayerTreeSettings* settings,
23 OutputSurface* output_surface, 23 OutputSurface* output_surface,
24 ResourceProvider* resource_provider); 24 ResourceProvider* resource_provider);
25 virtual ~DelegatingRenderer(); 25 virtual ~DelegatingRenderer();
26 26
27 virtual const RendererCapabilitiesImpl& Capabilities() const OVERRIDE; 27 virtual const RendererCapabilitiesImpl& Capabilities() const OVERRIDE;
28 28
29 virtual bool CanReadPixels() const OVERRIDE; 29 virtual bool CanReadPixels() const OVERRIDE;
30 30
31 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order, 31 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order,
32 ContextProvider* offscreen_context_provider,
33 float device_scale_factor, 32 float device_scale_factor,
34 const gfx::Rect& device_viewport_rect, 33 const gfx::Rect& device_viewport_rect,
35 const gfx::Rect& device_clip_rect, 34 const gfx::Rect& device_clip_rect,
36 bool disable_picture_quad_image_filtering) OVERRIDE; 35 bool disable_picture_quad_image_filtering) OVERRIDE;
37 36
38 virtual void Finish() OVERRIDE {} 37 virtual void Finish() OVERRIDE {}
39 38
40 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE; 39 virtual void SwapBuffers(const CompositorFrameMetadata& metadata) OVERRIDE;
41 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE; 40 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE;
42 41
(...skipping 19 matching lines...) Expand all
62 RendererCapabilitiesImpl capabilities_; 61 RendererCapabilitiesImpl capabilities_;
63 scoped_ptr<DelegatedFrameData> delegated_frame_data_; 62 scoped_ptr<DelegatedFrameData> delegated_frame_data_;
64 bool visible_; 63 bool visible_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer); 65 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer);
67 }; 66 };
68 67
69 } // namespace cc 68 } // namespace cc
70 69
71 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_ 70 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/output/delegating_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698