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

Side by Side Diff: cc/layer_tree_host.h

Issue 12217102: cc: Avoid power of two textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Lower-case vendor. 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
« no previous file with comments | « cc/gl_renderer.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 unsigned bestTextureFormat; 63 unsigned bestTextureFormat;
64 bool usingPartialSwap; 64 bool usingPartialSwap;
65 bool usingAcceleratedPainting; 65 bool usingAcceleratedPainting;
66 bool usingSetVisibility; 66 bool usingSetVisibility;
67 bool usingSwapCompleteCallback; 67 bool usingSwapCompleteCallback;
68 bool usingGpuMemoryManager; 68 bool usingGpuMemoryManager;
69 bool usingDiscardBackbuffer; 69 bool usingDiscardBackbuffer;
70 bool usingEglImage; 70 bool usingEglImage;
71 bool allowPartialTextureUpdates; 71 bool allowPartialTextureUpdates;
72 int maxTextureSize; 72 int maxTextureSize;
73 bool avoidPow2Textures;
73 }; 74 };
74 75
75 class CC_EXPORT LayerTreeHost : public RateLimiterClient { 76 class CC_EXPORT LayerTreeHost : public RateLimiterClient {
76 public: 77 public:
77 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre eSettings&, scoped_ptr<Thread> implThread); 78 static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTre eSettings&, scoped_ptr<Thread> implThread);
78 virtual ~LayerTreeHost(); 79 virtual ~LayerTreeHost();
79 80
80 void setSurfaceReady(); 81 void setSurfaceReady();
81 82
82 // Returns true if any LayerTreeHost is alive. 83 // Returns true if any LayerTreeHost is alive.
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 275 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
275 276
276 static bool s_needsFilterContext; 277 static bool s_needsFilterContext;
277 278
278 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 279 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
279 }; 280 };
280 281
281 } // namespace cc 282 } // namespace cc
282 283
283 #endif // CC_LAYER_TREE_HOST_H_ 284 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/gl_renderer.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698