| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 virtual double backingStoreMemoryEstimate() const; | 417 virtual double backingStoreMemoryEstimate() const; |
| 418 | 418 |
| 419 bool usingTiledBacking() const { return m_usingTiledBacking; } | 419 bool usingTiledBacking() const { return m_usingTiledBacking; } |
| 420 virtual TiledBacking* tiledBacking() const { return 0; } | 420 virtual TiledBacking* tiledBacking() const { return 0; } |
| 421 | 421 |
| 422 void resetTrackedRepaints(); | 422 void resetTrackedRepaints(); |
| 423 void addRepaintRect(const FloatRect&); | 423 void addRepaintRect(const FloatRect&); |
| 424 | 424 |
| 425 static bool supportsBackgroundColorContent() | 425 static bool supportsBackgroundColorContent() |
| 426 { | 426 { |
| 427 #if USE(CA) || USE(TEXTURE_MAPPER) || PLATFORM(CHROMIUM) | |
| 428 return true; | |
| 429 #else | |
| 430 return false; | 427 return false; |
| 431 #endif | |
| 432 } | 428 } |
| 433 | 429 |
| 434 void updateDebugIndicators(); | 430 void updateDebugIndicators(); |
| 435 | 431 |
| 436 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 432 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
| 437 | 433 |
| 438 protected: | 434 protected: |
| 439 // Should be called from derived class destructors. Should call willBeDestro
yed() on super. | 435 // Should be called from derived class destructors. Should call willBeDestro
yed() on super. |
| 440 virtual void willBeDestroyed(); | 436 virtual void willBeDestroyed(); |
| 441 | 437 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 } // namespace WebCore | 525 } // namespace WebCore |
| 530 | 526 |
| 531 #ifndef NDEBUG | 527 #ifndef NDEBUG |
| 532 // Outside the WebCore namespace for ease of invocation from gdb. | 528 // Outside the WebCore namespace for ease of invocation from gdb. |
| 533 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); | 529 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); |
| 534 #endif | 530 #endif |
| 535 | 531 |
| 536 #endif // USE(ACCELERATED_COMPOSITING) | 532 #endif // USE(ACCELERATED_COMPOSITING) |
| 537 | 533 |
| 538 #endif // GraphicsLayer_h | 534 #endif // GraphicsLayer_h |
| OLD | NEW |