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

Side by Side Diff: cc/layer_tree_host.h

Issue 12371002: [cc] Mailbox Output Surface Support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/gl_renderer_unittest.cc ('k') | cc/layer_tree_host.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_LAYER_TREE_HOST_H_ 5 #ifndef CC_LAYER_TREE_HOST_H_
6 #define CC_LAYER_TREE_HOST_H_ 6 #define CC_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 struct CC_EXPORT RendererCapabilities { 61 struct CC_EXPORT RendererCapabilities {
62 RendererCapabilities(); 62 RendererCapabilities();
63 ~RendererCapabilities(); 63 ~RendererCapabilities();
64 64
65 unsigned bestTextureFormat; 65 unsigned bestTextureFormat;
66 bool usingPartialSwap; 66 bool usingPartialSwap;
67 bool usingAcceleratedPainting; 67 bool usingAcceleratedPainting;
68 bool usingSetVisibility; 68 bool usingSetVisibility;
69 bool usingSwapCompleteCallback; 69 bool usingSwapCompleteCallback;
70 bool usingGpuMemoryManager; 70 bool usingGpuMemoryManager;
71 bool usingDiscardBackbuffer;
72 bool usingEglImage; 71 bool usingEglImage;
73 bool allowPartialTextureUpdates; 72 bool allowPartialTextureUpdates;
74 bool usingOffscreenContext3d; 73 bool usingOffscreenContext3d;
75 int maxTextureSize; 74 int maxTextureSize;
76 bool avoidPow2Textures; 75 bool avoidPow2Textures;
77 }; 76 };
78 77
79 class CC_EXPORT LayerTreeHost : public RateLimiterClient { 78 class CC_EXPORT LayerTreeHost : public RateLimiterClient {
80 public: 79 public:
81 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre eSettings&, scoped_ptr<Thread> implThread); 80 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre eSettings&, scoped_ptr<Thread> implThread);
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 size_t m_partialTextureUpdateRequests; 283 size_t m_partialTextureUpdateRequests;
285 284
286 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 285 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
287 286
288 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 287 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
289 }; 288 };
290 289
291 } // namespace cc 290 } // namespace cc
292 291
293 #endif // CC_LAYER_TREE_HOST_H_ 292 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/gl_renderer_unittest.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698