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

Side by Side Diff: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h

Issue 8479052: Merge 98185 - [chromium] Make setVisibility extension- and thread-correct (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool showFPSCounter; 75 bool showFPSCounter;
76 bool showPlatformLayerTree; 76 bool showPlatformLayerTree;
77 }; 77 };
78 78
79 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost 79 // Provides information on an Impl's rendering capabilities back to the CCLayerT reeHost
80 struct LayerRendererCapabilities { 80 struct LayerRendererCapabilities {
81 LayerRendererCapabilities() 81 LayerRendererCapabilities()
82 : bestTextureFormat(0) 82 : bestTextureFormat(0)
83 , usingMapSub(false) 83 , usingMapSub(false)
84 , usingAcceleratedPainting(false) 84 , usingAcceleratedPainting(false)
85 , usingSetVisibility(false)
85 , maxTextureSize(0) { } 86 , maxTextureSize(0) { }
86 87
87 GC3Denum bestTextureFormat; 88 GC3Denum bestTextureFormat;
88 bool usingMapSub; 89 bool usingMapSub;
89 bool usingAcceleratedPainting; 90 bool usingAcceleratedPainting;
91 bool usingSetVisibility;
90 int maxTextureSize; 92 int maxTextureSize;
91 }; 93 };
92 94
93 class CCLayerTreeHost : public RefCounted<CCLayerTreeHost> { 95 class CCLayerTreeHost : public RefCounted<CCLayerTreeHost> {
94 public: 96 public:
95 static PassRefPtr<CCLayerTreeHost> create(CCLayerTreeHostClient*, PassRefPtr <LayerChromium> rootLayer, const CCSettings&); 97 static PassRefPtr<CCLayerTreeHost> create(CCLayerTreeHostClient*, PassRefPtr <LayerChromium> rootLayer, const CCSettings&);
96 virtual ~CCLayerTreeHost(); 98 virtual ~CCLayerTreeHost();
97 99
98 // CCLayerTreeHost interface to CCProxy. 100 // CCLayerTreeHost interface to CCProxy.
99 void animateAndLayout(double frameBeginTime); 101 void animateAndLayout(double frameBeginTime);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 CCSettings m_settings; 184 CCSettings m_settings;
183 185
184 IntSize m_viewportSize; 186 IntSize m_viewportSize;
185 TransformationMatrix m_zoomAnimatorTransform; 187 TransformationMatrix m_zoomAnimatorTransform;
186 bool m_visible; 188 bool m_visible;
187 }; 189 };
188 190
189 } 191 }
190 192
191 #endif 193 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698