| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // FIXME: Replace all callers with inCompositingMdoe and remove this functio
n. | 76 // FIXME: Replace all callers with inCompositingMdoe and remove this functio
n. |
| 77 bool staleInCompositingMode() const; | 77 bool staleInCompositingMode() const; |
| 78 // This will make a compositing layer at the root automatically, and hook up
to | 78 // This will make a compositing layer at the root automatically, and hook up
to |
| 79 // the native view/window system. | 79 // the native view/window system. |
| 80 void setCompositingModeEnabled(bool); | 80 void setCompositingModeEnabled(bool); |
| 81 | 81 |
| 82 // Returns true if the accelerated compositing is enabled | 82 // Returns true if the accelerated compositing is enabled |
| 83 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing;
} | 83 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing;
} |
| 84 bool layerSquashingEnabled() const; | 84 bool layerSquashingEnabled() const; |
| 85 | 85 |
| 86 bool acceleratedCompositingForOverflowScrollEnabled() const; | 86 bool preferCompositingToLCDTextEnabled() const; |
| 87 | 87 |
| 88 bool rootShouldAlwaysComposite() const; | 88 bool rootShouldAlwaysComposite() const; |
| 89 | 89 |
| 90 // Copy the accelerated compositing related flags from Settings | 90 // Copy the accelerated compositing related flags from Settings |
| 91 void updateAcceleratedCompositingSettings(); | 91 void updateAcceleratedCompositingSettings(); |
| 92 | 92 |
| 93 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. | 93 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. |
| 94 void setNeedsCompositingUpdate(CompositingUpdateType); | 94 void setNeedsCompositingUpdate(CompositingUpdateType); |
| 95 | 95 |
| 96 void didLayout(); | 96 void didLayout(); |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 #if USE(RUBBER_BANDING) | 254 #if USE(RUBBER_BANDING) |
| 255 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 255 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 256 #endif | 256 #endif |
| 257 | 257 |
| 258 bool m_inOverlayFullscreenVideo; | 258 bool m_inOverlayFullscreenVideo; |
| 259 }; | 259 }; |
| 260 | 260 |
| 261 } // namespace blink | 261 } // namespace blink |
| 262 | 262 |
| 263 #endif // RenderLayerCompositor_h | 263 #endif // RenderLayerCompositor_h |
| OLD | NEW |