| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CCTiledLayerTestCommon_h | 5 #ifndef CCTiledLayerTestCommon_h |
| 6 #define CCTiledLayerTestCommon_h | 6 #define CCTiledLayerTestCommon_h |
| 7 | 7 |
| 8 #include "CCGraphicsContext.h" | 8 #include "CCGraphicsContext.h" |
| 9 #include "CCPrioritizedTexture.h" | 9 #include "CCPrioritizedTexture.h" |
| 10 #include "CCResourceProvider.h" | 10 #include "CCResourceProvider.h" |
| 11 #include "CCTextureUpdateQueue.h" | 11 #include "CCTextureUpdateQueue.h" |
| 12 #include "CCTiledLayerImpl.h" | 12 #include "CCTiledLayerImpl.h" |
| 13 #include "IntRect.h" | 13 #include "IntRect.h" |
| 14 #include "IntSize.h" | 14 #include "IntSize.h" |
| 15 #include "LayerTextureUpdater.h" | |
| 16 #include "Region.h" | 15 #include "Region.h" |
| 17 #include "TextureCopier.h" | 16 #include "cc/layer_texture_updater.h" |
| 18 #include "TextureUploader.h" | 17 #include "cc/texture_copier.h" |
| 19 #include "TiledLayerChromium.h" | 18 #include "cc/texture_uploader.h" |
| 19 #include "cc/tiled_layer.h" |
| 20 | 20 |
| 21 namespace WebKitTests { | 21 namespace WebKitTests { |
| 22 | 22 |
| 23 class FakeTiledLayerChromium; | 23 class FakeTiledLayerChromium; |
| 24 | 24 |
| 25 class FakeLayerTextureUpdater : public cc::LayerTextureUpdater { | 25 class FakeLayerTextureUpdater : public cc::LayerTextureUpdater { |
| 26 public: | 26 public: |
| 27 class Texture : public cc::LayerTextureUpdater::Texture { | 27 class Texture : public cc::LayerTextureUpdater::Texture { |
| 28 public: | 28 public: |
| 29 Texture(FakeLayerTextureUpdater*, scoped_ptr<cc::CCPrioritizedTexture>); | 29 Texture(FakeLayerTextureUpdater*, scoped_ptr<cc::CCPrioritizedTexture>); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 class FakeTextureUploader : public cc::TextureUploader { | 125 class FakeTextureUploader : public cc::TextureUploader { |
| 126 public: | 126 public: |
| 127 virtual size_t numBlockingUploads() OVERRIDE; | 127 virtual size_t numBlockingUploads() OVERRIDE; |
| 128 virtual void markPendingUploadsAsNonBlocking() OVERRIDE; | 128 virtual void markPendingUploadsAsNonBlocking() OVERRIDE; |
| 129 virtual double estimatedTexturesPerSecond() OVERRIDE; | 129 virtual double estimatedTexturesPerSecond() OVERRIDE; |
| 130 virtual void uploadTexture(cc::CCResourceProvider*, Parameters) OVERRIDE; | 130 virtual void uploadTexture(cc::CCResourceProvider*, Parameters) OVERRIDE; |
| 131 }; | 131 }; |
| 132 | 132 |
| 133 } | 133 } |
| 134 #endif // CCTiledLayerTestCommon_h | 134 #endif // CCTiledLayerTestCommon_h |
| OLD | NEW |