| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Google Inc. All rights reserved. | 3 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, Vector<Re
nderLayer*>& layersNeedingPaintInvalidation); | 82 void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, Vector<Re
nderLayer*>& layersNeedingPaintInvalidation); |
| 83 void assignLayersToBackingsForReflectionLayer(RenderLayer* reflectionLayer,
Vector<RenderLayer*>& layersNeedingPaintInvalidation); | 83 void assignLayersToBackingsForReflectionLayer(RenderLayer* reflectionLayer,
Vector<RenderLayer*>& layersNeedingPaintInvalidation); |
| 84 CompositingReasons getReasonsPreventingSquashing(const RenderLayer*, const S
quashingState&); | 84 CompositingReasons getReasonsPreventingSquashing(const RenderLayer*, const S
quashingState&); |
| 85 bool squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, con
st SquashingState&); | 85 bool squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, con
st SquashingState&); |
| 86 void updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingSta
teTransitionType, Vector<RenderLayer*>& layersNeedingPaintInvalidation); | 86 void updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingSta
teTransitionType, Vector<RenderLayer*>& layersNeedingPaintInvalidation); |
| 87 bool needsOwnBacking(const RenderLayer*) const; | 87 bool needsOwnBacking(const RenderLayer*) const; |
| 88 | 88 |
| 89 RenderLayerCompositor* m_compositor; | 89 RenderLayerCompositor* m_compositor; |
| 90 bool m_layerSquashingEnabled; | |
| 91 bool m_layersChanged; | 90 bool m_layersChanged; |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 } // namespace blink | 93 } // namespace blink |
| 95 | 94 |
| 96 #endif // CompositingLayerAssigner_h | 95 #endif // CompositingLayerAssigner_h |
| OLD | NEW |