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

Side by Side Diff: cc/renderer.h

Issue 12212007: cc: Route offscreen context creation for compositor to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add cc::GaneshResourceProvider Created 7 years, 10 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
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_RENDERER_H_ 5 #ifndef CC_RENDERER_H_
6 #define CC_RENDERER_H_ 6 #define CC_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/layer_tree_host.h" 10 #include "cc/layer_tree_host.h"
11 #include "cc/managed_memory_policy.h" 11 #include "cc/managed_memory_policy.h"
12 #include "cc/render_pass.h" 12 #include "cc/render_pass.h"
13 13
14 class GrContext;
15 namespace WebKit { class WebGraphicsContext3D; }
16
14 namespace cc { 17 namespace cc {
15 18
16 class CompositorFrameAck; 19 class CompositorFrameAck;
17 class CompositorFrameMetadata; 20 class CompositorFrameMetadata;
18 class ScopedResource; 21 class ScopedResource;
19 22
20 class CC_EXPORT RendererClient { 23 class CC_EXPORT RendererClient {
21 public: 24 public:
22 virtual const gfx::Size& deviceViewportSize() const = 0; 25 virtual const gfx::Size& deviceViewportSize() const = 0;
23 virtual const LayerTreeSettings& settings() const = 0; 26 virtual const LayerTreeSettings& settings() const = 0;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 80 }
78 81
79 RendererClient* m_client; 82 RendererClient* m_client;
80 83
81 DISALLOW_COPY_AND_ASSIGN(Renderer); 84 DISALLOW_COPY_AND_ASSIGN(Renderer);
82 }; 85 };
83 86
84 } 87 }
85 88
86 #endif // CC_RENDERER_H_ 89 #endif // CC_RENDERER_H_
OLDNEW
« cc/gl_renderer.cc ('K') | « cc/render_surface_filters.cc ('k') | cc/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698