| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Apple Inc. All rights reserved. | 2  * Copyright (C) 2009 Apple Inc. All rights reserved. | 
| 3  * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3  * Copyright (C) 2013 Intel Corporation. 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 327 | 327 | 
| 328     // This method is used by platform GraphicsLayer classes to clear the filter
     s | 328     // This method is used by platform GraphicsLayer classes to clear the filter
     s | 
| 329     // when compositing is not done in hardware. It is not virtual, so the calle
     r | 329     // when compositing is not done in hardware. It is not virtual, so the calle
     r | 
| 330     // needs to notifiy the change to the platform layer as needed. | 330     // needs to notifiy the change to the platform layer as needed. | 
| 331     void clearFilters() { m_filters.clear(); } | 331     void clearFilters() { m_filters.clear(); } | 
| 332 | 332 | 
| 333     void setReplicatedLayer(GraphicsLayer* layer) { m_replicatedLayer = layer; } | 333     void setReplicatedLayer(GraphicsLayer* layer) { m_replicatedLayer = layer; } | 
| 334 | 334 | 
| 335     int incrementPaintCount() { return ++m_paintCount; } | 335     int incrementPaintCount() { return ++m_paintCount; } | 
| 336 | 336 | 
| 337     static void writeIndent(TextStream&, int indent); |  | 
| 338 |  | 
| 339     void dumpProperties(TextStream&, int indent, LayerTreeFlags) const; | 337     void dumpProperties(TextStream&, int indent, LayerTreeFlags) const; | 
| 340     void dumpAdditionalProperties(TextStream&, int /*indent*/, LayerTreeFlags) c
     onst { } | 338     void dumpAdditionalProperties(TextStream&, int /*indent*/, LayerTreeFlags) c
     onst { } | 
| 341 | 339 | 
| 342     // Helper functions used by settors to keep layer's the state consistent. | 340     // Helper functions used by settors to keep layer's the state consistent. | 
| 343     void updateChildList(); | 341     void updateChildList(); | 
| 344     void updateLayerIsDrawable(); | 342     void updateLayerIsDrawable(); | 
| 345     void updateContentsRect(); | 343     void updateContentsRect(); | 
| 346 | 344 | 
| 347     void setContentsTo(ContentsLayerPurpose, WebKit::WebLayer*); | 345     void setContentsTo(ContentsLayerPurpose, WebKit::WebLayer*); | 
| 348     void setupContentsLayer(WebKit::WebLayer*); | 346     void setupContentsLayer(WebKit::WebLayer*); | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 419 | 417 | 
| 420 | 418 | 
| 421 } // namespace WebCore | 419 } // namespace WebCore | 
| 422 | 420 | 
| 423 #ifndef NDEBUG | 421 #ifndef NDEBUG | 
| 424 // Outside the WebCore namespace for ease of invocation from gdb. | 422 // Outside the WebCore namespace for ease of invocation from gdb. | 
| 425 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); | 423 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); | 
| 426 #endif | 424 #endif | 
| 427 | 425 | 
| 428 #endif // GraphicsLayer_h | 426 #endif // GraphicsLayer_h | 
| OLD | NEW | 
|---|