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

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

Issue 10690121: Merge 121076 - [chromium] LayerRendererChromium is not getting visibility messages in single thread… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // As setNeedsCommit(), but ensures the beginFrame will definitely happen ev en if 114 // As setNeedsCommit(), but ensures the beginFrame will definitely happen ev en if
115 // we are not visible. 115 // we are not visible.
116 void setNeedsForcedCommit(); 116 void setNeedsForcedCommit();
117 117
118 // Call this only in response to receiving an ACTION_BEGIN_FRAME 118 // Call this only in response to receiving an ACTION_BEGIN_FRAME
119 // from nextState. Indicates that all painting is complete and that 119 // from nextState. Indicates that all painting is complete and that
120 // updating of compositor resources can begin. 120 // updating of compositor resources can begin.
121 void beginFrameComplete(); 121 void beginFrameComplete();
122 122
123 // Call this only in response to receiving an ACTION_BEGIN_FRAME
124 // from nextState if the client rejects the beginFrame message.
125 void beginFrameAborted();
126
123 // Call this only in response to receiving an ACTION_UPDATE_MORE_RESOURCES 127 // Call this only in response to receiving an ACTION_UPDATE_MORE_RESOURCES
124 // from nextState. Indicates that the specific update request completed. 128 // from nextState. Indicates that the specific update request completed.
125 void beginUpdateMoreResourcesComplete(bool morePending); 129 void beginUpdateMoreResourcesComplete(bool morePending);
126 130
127 // Request exclusive access to the textures that back single buffered 131 // Request exclusive access to the textures that back single buffered
128 // layers on behalf of the main thread. Upon acqusition, 132 // layers on behalf of the main thread. Upon acqusition,
129 // ACTION_DRAW_IF_POSSIBLE will not draw until the main thread releases the 133 // ACTION_DRAW_IF_POSSIBLE will not draw until the main thread releases the
130 // textures to the impl thread by committing the layers. 134 // textures to the impl thread by committing the layers.
131 void setMainThreadNeedsLayerTextures(); 135 void setMainThreadNeedsLayerTextures();
132 136
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 bool m_canBeginFrame; 168 bool m_canBeginFrame;
165 bool m_canDraw; 169 bool m_canDraw;
166 bool m_drawIfPossibleFailed; 170 bool m_drawIfPossibleFailed;
167 TextureState m_textureState; 171 TextureState m_textureState;
168 ContextState m_contextState; 172 ContextState m_contextState;
169 }; 173 };
170 174
171 } 175 }
172 176
173 #endif // CCSchedulerStateMachine_h 177 #endif // CCSchedulerStateMachine_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698