OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 size_t m_bytesAllocated; | 155 size_t m_bytesAllocated; |
156 bool m_haveRecordedDrawCommands; | 156 bool m_haveRecordedDrawCommands; |
157 bool m_destructionInProgress; | 157 bool m_destructionInProgress; |
158 SkFilterQuality m_filterQuality; | 158 SkFilterQuality m_filterQuality; |
159 bool m_isHidden; | 159 bool m_isHidden; |
160 bool m_isDeferralEnabled; | 160 bool m_isDeferralEnabled; |
161 bool m_isRegisteredTaskObserver; | 161 bool m_isRegisteredTaskObserver; |
162 bool m_renderingTaskCompletedForCurrentFrame; | 162 bool m_renderingTaskCompletedForCurrentFrame; |
163 bool m_softwareRenderingWhileHidden; | 163 bool m_softwareRenderingWhileHidden; |
164 bool m_surfaceCreationFailedAtLeastOnce = false; | 164 bool m_surfaceCreationFailedAtLeastOnce = false; |
| 165 bool m_hibernationScheduled = false; |
165 | 166 |
166 friend class Canvas2DLayerBridgeTest; | 167 friend class Canvas2DLayerBridgeTest; |
167 | 168 |
168 struct MailboxInfo { | 169 struct MailboxInfo { |
169 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 170 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
170 WebExternalTextureMailbox m_mailbox; | 171 WebExternalTextureMailbox m_mailbox; |
171 RefPtr<SkImage> m_image; | 172 RefPtr<SkImage> m_image; |
172 RefPtr<Canvas2DLayerBridge> m_parentLayerBridge; | 173 RefPtr<Canvas2DLayerBridge> m_parentLayerBridge; |
173 | 174 |
174 MailboxInfo(const MailboxInfo&); | 175 MailboxInfo(const MailboxInfo&); |
(...skipping 12 matching lines...) Expand all Loading... |
187 GLenum m_lastFilter; | 188 GLenum m_lastFilter; |
188 AccelerationMode m_accelerationMode; | 189 AccelerationMode m_accelerationMode; |
189 OpacityMode m_opacityMode; | 190 OpacityMode m_opacityMode; |
190 IntSize m_size; | 191 IntSize m_size; |
191 int m_recordingPixelCount; | 192 int m_recordingPixelCount; |
192 }; | 193 }; |
193 | 194 |
194 } // namespace blink | 195 } // namespace blink |
195 | 196 |
196 #endif | 197 #endif |
OLD | NEW |