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

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

Issue 157743007: cc: Prevent usage of rasterize on-demand with delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more unit test Created 6 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/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_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/quads/render_pass.h" 10 #include "cc/quads/render_pass.h"
(...skipping 15 matching lines...) Expand all
26 bool using_offscreen_context3d; 26 bool using_offscreen_context3d;
27 int max_texture_size; 27 int max_texture_size;
28 bool using_shared_memory_resources; 28 bool using_shared_memory_resources;
29 29
30 // Capabilities used on compositor thread only. 30 // Capabilities used on compositor thread only.
31 bool using_partial_swap; 31 bool using_partial_swap;
32 bool using_egl_image; 32 bool using_egl_image;
33 bool avoid_pow2_textures; 33 bool avoid_pow2_textures;
34 bool using_map_image; 34 bool using_map_image;
35 bool using_discard_framebuffer; 35 bool using_discard_framebuffer;
36 bool allow_rasterize_on_demand;
36 37
37 RendererCapabilities MainThreadCapabilities() const; 38 RendererCapabilities MainThreadCapabilities() const;
38 }; 39 };
39 40
40 class CC_EXPORT RendererClient { 41 class CC_EXPORT RendererClient {
41 public: 42 public:
42 virtual void SetFullRootLayerDamage() = 0; 43 virtual void SetFullRootLayerDamage() = 0;
43 }; 44 };
44 45
45 class CC_EXPORT Renderer { 46 class CC_EXPORT Renderer {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 RendererClient* client_; 94 RendererClient* client_;
94 const LayerTreeSettings* settings_; 95 const LayerTreeSettings* settings_;
95 96
96 private: 97 private:
97 DISALLOW_COPY_AND_ASSIGN(Renderer); 98 DISALLOW_COPY_AND_ASSIGN(Renderer);
98 }; 99 };
99 100
100 } // namespace cc 101 } // namespace cc
101 102
102 #endif // CC_OUTPUT_RENDERER_H_ 103 #endif // CC_OUTPUT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698