| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 bool m_destructionInProgress; | 259 bool m_destructionInProgress; |
| 260 SkFilterQuality m_filterQuality; | 260 SkFilterQuality m_filterQuality; |
| 261 bool m_isHidden; | 261 bool m_isHidden; |
| 262 bool m_isDeferralEnabled; | 262 bool m_isDeferralEnabled; |
| 263 bool m_isRegisteredTaskObserver; | 263 bool m_isRegisteredTaskObserver; |
| 264 bool m_renderingTaskCompletedForCurrentFrame; | 264 bool m_renderingTaskCompletedForCurrentFrame; |
| 265 bool m_softwareRenderingWhileHidden; | 265 bool m_softwareRenderingWhileHidden; |
| 266 bool m_surfaceCreationFailedAtLeastOnce = false; | 266 bool m_surfaceCreationFailedAtLeastOnce = false; |
| 267 bool m_hibernationScheduled = false; | 267 bool m_hibernationScheduled = false; |
| 268 bool m_dontUseIdleSchedulingForTesting = false; | 268 bool m_dontUseIdleSchedulingForTesting = false; |
| 269 bool m_didDrawSinceLastFlush = false; |
| 270 bool m_didDrawSinceLastGpuFlush = false; |
| 269 | 271 |
| 270 friend class Canvas2DLayerBridgeTest; | 272 friend class Canvas2DLayerBridgeTest; |
| 271 friend class CanvasRenderingContext2DTest; | 273 friend class CanvasRenderingContext2DTest; |
| 272 friend class HTMLCanvasPainterTestForSPv2; | 274 friend class HTMLCanvasPainterTestForSPv2; |
| 273 | 275 |
| 274 uint32_t m_lastImageId; | 276 uint32_t m_lastImageId; |
| 275 | 277 |
| 276 enum { | 278 enum { |
| 277 // We should normally not have more that two active mailboxes at a time, | 279 // We should normally not have more that two active mailboxes at a time, |
| 278 // but sometimes we may have three due to the async nature of mailbox | 280 // but sometimes we may have three due to the async nature of mailbox |
| (...skipping 14 matching lines...) Expand all Loading... |
| 293 // Each element in this vector represents an IOSurface backed texture that | 295 // Each element in this vector represents an IOSurface backed texture that |
| 294 // is ready to be reused. | 296 // is ready to be reused. |
| 295 // Elements in this vector can safely be purged in low memory conditions. | 297 // Elements in this vector can safely be purged in low memory conditions. |
| 296 Vector<RefPtr<ImageInfo>> m_imageInfoCache; | 298 Vector<RefPtr<ImageInfo>> m_imageInfoCache; |
| 297 #endif // USE_IOSURFACE_FOR_2D_CANVAS | 299 #endif // USE_IOSURFACE_FOR_2D_CANVAS |
| 298 }; | 300 }; |
| 299 | 301 |
| 300 } // namespace blink | 302 } // namespace blink |
| 301 | 303 |
| 302 #endif | 304 #endif |
| OLD | NEW |