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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 void resetTrackedRepaints(); | 401 void resetTrackedRepaints(); |
402 void addRepaintRect(const FloatRect&); | 402 void addRepaintRect(const FloatRect&); |
403 | 403 |
404 static bool supportsBackgroundColorContent() | 404 static bool supportsBackgroundColorContent() |
405 { | 405 { |
406 return false; | 406 return false; |
407 } | 407 } |
408 | 408 |
409 void updateDebugIndicators(); | 409 void updateDebugIndicators(); |
410 | 410 |
411 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | |
412 | |
413 protected: | 411 protected: |
414 // Should be called from derived class destructors. Should call willBeDestro
yed() on super. | 412 // Should be called from derived class destructors. Should call willBeDestro
yed() on super. |
415 virtual void willBeDestroyed(); | 413 virtual void willBeDestroyed(); |
416 | 414 |
417 // This method is used by platform GraphicsLayer classes to clear the filter
s | 415 // This method is used by platform GraphicsLayer classes to clear the filter
s |
418 // when compositing is not done in hardware. It is not virtual, so the calle
r | 416 // when compositing is not done in hardware. It is not virtual, so the calle
r |
419 // needs to notifiy the change to the platform layer as needed. | 417 // needs to notifiy the change to the platform layer as needed. |
420 void clearFilters() { m_filters.clear(); } | 418 void clearFilters() { m_filters.clear(); } |
421 | 419 |
422 // Given a KeyframeValueList containing filterOperations, return true if the
operations are valid. | 420 // Given a KeyframeValueList containing filterOperations, return true if the
operations are valid. |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 | 494 |
497 | 495 |
498 } // namespace WebCore | 496 } // namespace WebCore |
499 | 497 |
500 #ifndef NDEBUG | 498 #ifndef NDEBUG |
501 // Outside the WebCore namespace for ease of invocation from gdb. | 499 // Outside the WebCore namespace for ease of invocation from gdb. |
502 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); | 500 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); |
503 #endif | 501 #endif |
504 | 502 |
505 #endif // GraphicsLayer_h | 503 #endif // GraphicsLayer_h |
OLD | NEW |