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

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

Issue 9950004: Merge 112446 - [chromium] Scheduler should not tell FrameRateController to begin a frame when we do… (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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 void finishAllRendering(); 108 void finishAllRendering();
109 int frameNumber() const { return m_frameNumber; } 109 int frameNumber() const { return m_frameNumber; }
110 110
111 bool initializeLayerRenderer(PassRefPtr<GraphicsContext3D>); 111 bool initializeLayerRenderer(PassRefPtr<GraphicsContext3D>);
112 bool isContextLost(); 112 bool isContextLost();
113 LayerRendererChromium* layerRenderer() { return m_layerRenderer.get(); } 113 LayerRendererChromium* layerRenderer() { return m_layerRenderer.get(); }
114 const LayerRendererCapabilities& layerRendererCapabilities() const; 114 const LayerRendererCapabilities& layerRendererCapabilities() const;
115 TextureAllocator* contentsTextureAllocator() const; 115 TextureAllocator* contentsTextureAllocator() const;
116 116
117 void swapBuffers(); 117 bool swapBuffers();
118 118
119 void readback(void* pixels, const IntRect&); 119 void readback(void* pixels, const IntRect&);
120 120
121 void setRootLayer(PassOwnPtr<CCLayerImpl>); 121 void setRootLayer(PassOwnPtr<CCLayerImpl>);
122 PassOwnPtr<CCLayerImpl> releaseRootLayer() { return m_rootLayerImpl.release( ); } 122 PassOwnPtr<CCLayerImpl> releaseRootLayer() { return m_rootLayerImpl.release( ); }
123 123
124 CCLayerImpl* scrollLayer() const { return m_scrollLayerImpl; } 124 CCLayerImpl* scrollLayer() const { return m_scrollLayerImpl; }
125 125
126 bool visible() const { return m_visible; } 126 bool visible() const { return m_visible; }
127 void setVisible(bool); 127 void setVisible(bool);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 OwnPtr<CCLayerTreeHostImplTimeSourceAdapter> m_timeSourceClientAdapter; 196 OwnPtr<CCLayerTreeHostImplTimeSourceAdapter> m_timeSourceClientAdapter;
197 197
198 CCLayerSorter m_layerSorter; 198 CCLayerSorter m_layerSorter;
199 199
200 FloatRect m_rootDamageRect; 200 FloatRect m_rootDamageRect;
201 }; 201 };
202 202
203 }; 203 };
204 204
205 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698