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

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

Issue 9933003: Merge 112360 - [chromium] Route monotonic clock up from compositor (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual ~CCLayerTreeHost(); 128 virtual ~CCLayerTreeHost();
129 129
130 // Returns true if any CCLayerTreeHost is alive. 130 // Returns true if any CCLayerTreeHost is alive.
131 static bool anyLayerTreeHostInstanceExists(); 131 static bool anyLayerTreeHostInstanceExists();
132 132
133 static bool needsFilterContext() { return s_needsFilterContext; } 133 static bool needsFilterContext() { return s_needsFilterContext; }
134 static void setNeedsFilterContext(bool needsFilterContext) { s_needsFilterCo ntext = needsFilterContext; } 134 static void setNeedsFilterContext(bool needsFilterContext) { s_needsFilterCo ntext = needsFilterContext; }
135 135
136 // CCLayerTreeHost interface to CCProxy. 136 // CCLayerTreeHost interface to CCProxy.
137 void willBeginFrame() { m_client->willBeginFrame(); } 137 void willBeginFrame() { m_client->willBeginFrame(); }
138 void updateAnimations(double wallClockTime); 138 void updateAnimations(double monotonicFrameBeginTime);
139 void layout(); 139 void layout();
140 void beginCommitOnImplThread(CCLayerTreeHostImpl*); 140 void beginCommitOnImplThread(CCLayerTreeHostImpl*);
141 void finishCommitOnImplThread(CCLayerTreeHostImpl*); 141 void finishCommitOnImplThread(CCLayerTreeHostImpl*);
142 void commitComplete(); 142 void commitComplete();
143 PassRefPtr<GraphicsContext3D> createContext(); 143 PassRefPtr<GraphicsContext3D> createContext();
144 virtual PassOwnPtr<CCLayerTreeHostImpl> createLayerTreeHostImpl(CCLayerTreeH ostImplClient*); 144 virtual PassOwnPtr<CCLayerTreeHostImpl> createLayerTreeHostImpl(CCLayerTreeH ostImplClient*);
145 void didBecomeInvisibleOnImplThread(CCLayerTreeHostImpl*); 145 void didBecomeInvisibleOnImplThread(CCLayerTreeHostImpl*);
146 void didLoseContext(); 146 void didLoseContext();
147 enum RecreateResult { 147 enum RecreateResult {
148 RecreateSucceeded, 148 RecreateSucceeded,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 bool m_triggerIdlePaints; 272 bool m_triggerIdlePaints;
273 273
274 TextureList m_deleteTextureAfterCommitList; 274 TextureList m_deleteTextureAfterCommitList;
275 size_t m_partialTextureUpdateRequests; 275 size_t m_partialTextureUpdateRequests;
276 static bool s_needsFilterContext; 276 static bool s_needsFilterContext;
277 }; 277 };
278 278
279 } 279 }
280 280
281 #endif 281 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698