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

Side by Side Diff: gpu/tools/compositor_model_bench/forward_render_model.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | « gpu/command_buffer/service/feature_info.cc ('k') | ipc/ipc_channel_posix_unittest.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // A render model simulator for the original model used in Chromium. 5 // A render model simulator for the original model used in Chromium.
6 6
7 #ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_ 7 #ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_
8 #define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_ 8 #define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "gpu/tools/compositor_model_bench/render_model_utils.h" 12 #include "gpu/tools/compositor_model_bench/render_model_utils.h"
13 #include "gpu/tools/compositor_model_bench/render_models.h" 13 #include "gpu/tools/compositor_model_bench/render_models.h"
14 14
15 class ForwardRenderNodeVisitor; 15 class ForwardRenderNodeVisitor;
16 16
17 class ForwardRenderSimulator : public RenderModelSimulator { 17 class ForwardRenderSimulator : public RenderModelSimulator {
18 public: 18 public:
19 explicit ForwardRenderSimulator(RenderNode* root, 19 ForwardRenderSimulator(RenderNode* root,
20 int window_width, 20 int window_width,
21 int window_height); 21 int window_height);
22 virtual ~ForwardRenderSimulator() OVERRIDE; 22 virtual ~ForwardRenderSimulator() OVERRIDE;
23 virtual void Update() OVERRIDE; 23 virtual void Update() OVERRIDE;
24 virtual void Resize(int width, int height) OVERRIDE; 24 virtual void Resize(int width, int height) OVERRIDE;
25 25
26 private: 26 private:
27 scoped_ptr<ForwardRenderNodeVisitor> visitor_; 27 scoped_ptr<ForwardRenderNodeVisitor> visitor_;
28 scoped_ptr<TextureGenerator> textures_; 28 scoped_ptr<TextureGenerator> textures_;
29 29
30 DISALLOW_IMPLICIT_CONSTRUCTORS(ForwardRenderSimulator); 30 DISALLOW_IMPLICIT_CONSTRUCTORS(ForwardRenderSimulator);
31 }; 31 };
32 32
33 #endif // GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_ 33 #endif // GPU_TOOLS_COMPOSITOR_MODEL_BENCH_FORWARD_RENDER_MODEL_H_
34
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | ipc/ipc_channel_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698