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

Side by Side Diff: cc/CCLayerTreeHost.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: correct base Created 8 years, 3 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
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 "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCGraphicsContext.h" 9 #include "CCGraphicsContext.h"
10 #include "CCLayerTreeHostClient.h" 10 #include "CCLayerTreeHostClient.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 IntSize minimumOcclusionTrackingSize; 70 IntSize minimumOcclusionTrackingSize;
71 71
72 bool showDebugInfo() const { return showPlatformLayerTree || showFPSCounter || showDebugRects(); } 72 bool showDebugInfo() const { return showPlatformLayerTree || showFPSCounter || showDebugRects(); }
73 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; } 73 bool showDebugRects() const { return showPaintRects || showPropertyChangedRe cts || showSurfaceDamageRects || showScreenSpaceRects || showReplicaScreenSpaceR ects || showOccludingRects; }
74 }; 74 };
75 75
76 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost 76 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost
77 struct RendererCapabilities { 77 struct RendererCapabilities {
78 RendererCapabilities() 78 RendererCapabilities()
79 : bestTextureFormat(0) 79 : bestTextureFormat(0)
80 , contextHasCachedFrontBuffer(false)
81 , usingPartialSwap(false) 80 , usingPartialSwap(false)
82 , usingAcceleratedPainting(false) 81 , usingAcceleratedPainting(false)
83 , usingSetVisibility(false) 82 , usingSetVisibility(false)
84 , usingSwapCompleteCallback(false) 83 , usingSwapCompleteCallback(false)
85 , usingGpuMemoryManager(false) 84 , usingGpuMemoryManager(false)
86 , usingDiscardFramebuffer(false) 85 , usingDiscardFramebuffer(false)
87 , usingEglImage(false) 86 , usingEglImage(false)
88 , maxTextureSize(0) { } 87 , maxTextureSize(0) { }
89 88
90 GC3Denum bestTextureFormat; 89 GC3Denum bestTextureFormat;
91 bool contextHasCachedFrontBuffer;
92 bool usingPartialSwap; 90 bool usingPartialSwap;
93 bool usingAcceleratedPainting; 91 bool usingAcceleratedPainting;
94 bool usingSetVisibility; 92 bool usingSetVisibility;
95 bool usingSwapCompleteCallback; 93 bool usingSwapCompleteCallback;
96 bool usingGpuMemoryManager; 94 bool usingGpuMemoryManager;
97 bool usingDiscardFramebuffer; 95 bool usingDiscardFramebuffer;
98 bool usingEglImage; 96 bool usingEglImage;
99 int maxTextureSize; 97 int maxTextureSize;
100 }; 98 };
101 99
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 282
285 TextureList m_deleteTextureAfterCommitList; 283 TextureList m_deleteTextureAfterCommitList;
286 size_t m_partialTextureUpdateRequests; 284 size_t m_partialTextureUpdateRequests;
287 285
288 static bool s_needsFilterContext; 286 static bool s_needsFilterContext;
289 }; 287 };
290 288
291 } 289 }
292 290
293 #endif 291 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698