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

Side by Side Diff: cc/layer_tree_host.h

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/layer_texture_updater.h ('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 CCLayerTreeHost_h 5 #ifndef CCLayerTreeHost_h
6 #define CCLayerTreeHost_h 6 #define CCLayerTreeHost_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 bool showDebugInfo() const { return showPlatformLayerTree || showFPSCounter || showDebugRects(); } 69 bool showDebugInfo() const { return showPlatformLayerTree || showFPSCounter || showDebugRects(); }
70 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; } 70 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; }
71 }; 71 };
72 72
73 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost 73 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost
74 struct RendererCapabilities { 74 struct RendererCapabilities {
75 RendererCapabilities(); 75 RendererCapabilities();
76 ~RendererCapabilities(); 76 ~RendererCapabilities();
77 77
78 GC3Denum bestTextureFormat; 78 GLenum bestTextureFormat;
79 bool contextHasCachedFrontBuffer; 79 bool contextHasCachedFrontBuffer;
80 bool usingPartialSwap; 80 bool usingPartialSwap;
81 bool usingAcceleratedPainting; 81 bool usingAcceleratedPainting;
82 bool usingSetVisibility; 82 bool usingSetVisibility;
83 bool usingSwapCompleteCallback; 83 bool usingSwapCompleteCallback;
84 bool usingGpuMemoryManager; 84 bool usingGpuMemoryManager;
85 bool usingDiscardFramebuffer; 85 bool usingDiscardFramebuffer;
86 bool usingEglImage; 86 bool usingEglImage;
87 int maxTextureSize; 87 int maxTextureSize;
88 }; 88 };
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 size_t m_partialTextureUpdateRequests; 272 size_t m_partialTextureUpdateRequests;
273 273
274 static bool s_needsFilterContext; 274 static bool s_needsFilterContext;
275 275
276 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHost); 276 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHost);
277 }; 277 };
278 278
279 } // namespace cc 279 } // namespace cc
280 280
281 #endif 281 #endif
OLDNEW
« no previous file with comments | « cc/layer_texture_updater.h ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698