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

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

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_pixeltest.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_RENDERER_H_ 5 #ifndef CC_OUTPUT_RENDERER_H_
6 #define CC_OUTPUT_RENDERER_H_ 6 #define CC_OUTPUT_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/base/scoped_ptr_vector.h"
11 #include "cc/output/renderer_capabilities.h" 10 #include "cc/output/renderer_capabilities.h"
12 #include "cc/output/renderer_settings.h" 11 #include "cc/output/renderer_settings.h"
13 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
14 13
15 namespace cc { 14 namespace cc {
16 15
17 class CompositorFrameAck; 16 class CompositorFrameAck;
18 class CompositorFrameMetadata; 17 class CompositorFrameMetadata;
19 class RenderPass; 18 class RenderPass;
20 class RenderPassId; 19 class RenderPassId;
21 class ScopedResource; 20 class ScopedResource;
22 class Task; 21 class Task;
23 22
24 typedef ScopedPtrVector<RenderPass> RenderPassList; 23 typedef std::vector<scoped_ptr<RenderPass>> RenderPassList;
25 24
26 struct RendererCapabilitiesImpl { 25 struct RendererCapabilitiesImpl {
27 RendererCapabilitiesImpl(); 26 RendererCapabilitiesImpl();
28 ~RendererCapabilitiesImpl(); 27 ~RendererCapabilitiesImpl();
29 28
30 // Capabilities copied to main thread. 29 // Capabilities copied to main thread.
31 ResourceFormat best_texture_format; 30 ResourceFormat best_texture_format;
32 bool allow_partial_texture_updates; 31 bool allow_partial_texture_updates;
33 int max_texture_size; 32 int max_texture_size;
34 bool using_shared_memory_resources; 33 bool using_shared_memory_resources;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const RendererSettings* settings_; 89 const RendererSettings* settings_;
91 bool visible_; 90 bool visible_;
92 91
93 private: 92 private:
94 DISALLOW_COPY_AND_ASSIGN(Renderer); 93 DISALLOW_COPY_AND_ASSIGN(Renderer);
95 }; 94 };
96 95
97 } // namespace cc 96 } // namespace cc
98 97
99 #endif // CC_OUTPUT_RENDERER_H_ 98 #endif // CC_OUTPUT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698