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

Unified Diff: cc/CCLayerTreeHost.h

Issue 10942040: Fix CC*Renderer and CC*LayerImpl to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: cc/CCLayerTreeHost.h
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h
index 4224c70612a687d5f84a37688c3bacaf1e368e94..f89f251cf3336907a55592abe17ddede98417b52 100644
--- a/cc/CCLayerTreeHost.h
+++ b/cc/CCLayerTreeHost.h
@@ -35,23 +35,8 @@ class Region;
struct CCScrollAndScaleSet;
struct CCLayerTreeSettings {
- CCLayerTreeSettings()
- : acceleratePainting(false)
- , showFPSCounter(false)
- , showPlatformLayerTree(false)
- , showPaintRects(false)
- , showPropertyChangedRects(false)
- , showSurfaceDamageRects(false)
- , showScreenSpaceRects(false)
- , showReplicaScreenSpaceRects(false)
- , showOccludingRects(false)
- , renderVSyncEnabled(true)
- , refreshRate(0)
- , maxPartialTextureUpdates(std::numeric_limits<size_t>::max())
- , defaultTileSize(IntSize(256, 256))
- , maxUntiledLayerSize(IntSize(512, 512))
- , minimumOcclusionTrackingSize(IntSize(160, 160))
- { }
+ CCLayerTreeSettings();
+ ~CCLayerTreeSettings();
bool acceleratePainting;
bool showFPSCounter;
@@ -75,17 +60,8 @@ struct CCLayerTreeSettings {
// Provides information on an Impl's rendering capabilities back to the CCLayerTreeHost
struct RendererCapabilities {
- RendererCapabilities()
- : bestTextureFormat(0)
- , contextHasCachedFrontBuffer(false)
- , usingPartialSwap(false)
- , usingAcceleratedPainting(false)
- , usingSetVisibility(false)
- , usingSwapCompleteCallback(false)
- , usingGpuMemoryManager(false)
- , usingDiscardFramebuffer(false)
- , usingEglImage(false)
- , maxTextureSize(0) { }
+ RendererCapabilities();
+ ~RendererCapabilities();
GC3Denum bestTextureFormat;
bool contextHasCachedFrontBuffer;
« no previous file with comments | « cc/CCLayerSorter.cpp ('k') | cc/CCLayerTreeHost.cpp » ('j') | cc/CCTiledLayerImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698