| Index: cc/LayerTextureUpdater.cpp
|
| diff --git a/cc/CCRenderer.cpp b/cc/LayerTextureUpdater.cpp
|
| similarity index 54%
|
| copy from cc/CCRenderer.cpp
|
| copy to cc/LayerTextureUpdater.cpp
|
| index 69c04dfbfc14941aab52c54bb075e08f0c02baa6..ae209d699f77f42f82061d5f1557cd3a88f7722a 100644
|
| --- a/cc/CCRenderer.cpp
|
| +++ b/cc/LayerTextureUpdater.cpp
|
| @@ -4,18 +4,17 @@
|
|
|
| #include "config.h"
|
|
|
| -#include "CCRenderer.h"
|
| +#include "LayerTextureUpdater.h"
|
|
|
| namespace cc {
|
|
|
| -bool CCRenderer::haveCachedResourcesForRenderPassId(CCRenderPass::Id) const
|
| +LayerTextureUpdater::Texture::Texture(PassOwnPtr<CCPrioritizedTexture> texture)
|
| + : m_texture(texture)
|
| {
|
| - return false;
|
| }
|
|
|
| -bool CCRenderer::isContextLost()
|
| +LayerTextureUpdater::Texture::~Texture()
|
| {
|
| - return false;
|
| }
|
|
|
| }
|
|
|