| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // composited RenderLayers) | 72 // composited RenderLayers) |
| 73 bool inCompositingMode() const; | 73 bool inCompositingMode() const; |
| 74 // FIXME: Replace all callers with inCompositingMdoe and remove this functio
n. | 74 // FIXME: Replace all callers with inCompositingMdoe and remove this functio
n. |
| 75 bool staleInCompositingMode() const; | 75 bool staleInCompositingMode() const; |
| 76 // This will make a compositing layer at the root automatically, and hook up
to | 76 // This will make a compositing layer at the root automatically, and hook up
to |
| 77 // the native view/window system. | 77 // the native view/window system. |
| 78 void setCompositingModeEnabled(bool); | 78 void setCompositingModeEnabled(bool); |
| 79 | 79 |
| 80 // Returns true if the accelerated compositing is enabled | 80 // Returns true if the accelerated compositing is enabled |
| 81 // FIXME(sky): Remove | 81 // FIXME(sky): Remove |
| 82 bool hasAcceleratedCompositing() const { return true; } | 82 bool hasAcceleratedCompositing() const; |
| 83 bool layerSquashingEnabled() const; | 83 bool layerSquashingEnabled() const; |
| 84 | 84 |
| 85 bool preferCompositingToLCDTextEnabled() const; | 85 bool preferCompositingToLCDTextEnabled() const; |
| 86 | 86 |
| 87 bool rootShouldAlwaysComposite() const; | 87 bool rootShouldAlwaysComposite() const; |
| 88 | 88 |
| 89 // Copy the accelerated compositing related flags from Settings | 89 // Copy the accelerated compositing related flags from Settings |
| 90 void updateAcceleratedCompositingSettings(); | 90 void updateAcceleratedCompositingSettings(); |
| 91 | 91 |
| 92 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. | 92 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 OwnPtr<GraphicsLayer> m_containerLayer; | 210 OwnPtr<GraphicsLayer> m_containerLayer; |
| 211 OwnPtr<GraphicsLayer> m_scrollLayer; | 211 OwnPtr<GraphicsLayer> m_scrollLayer; |
| 212 | 212 |
| 213 // Enclosing layer for overflow controls and the clipping layer | 213 // Enclosing layer for overflow controls and the clipping layer |
| 214 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; | 214 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; |
| 215 }; | 215 }; |
| 216 | 216 |
| 217 } // namespace blink | 217 } // namespace blink |
| 218 | 218 |
| 219 #endif // RenderLayerCompositor_h | 219 #endif // RenderLayerCompositor_h |
| OLD | NEW |