| Index: cc/bitmap_skpicture_content_layer_updater.h
|
| diff --git a/cc/bitmap_skpicture_content_layer_updater.h b/cc/bitmap_skpicture_content_layer_updater.h
|
| deleted file mode 100644
|
| index 36004328d8c6807c1ef17e62990f22939aeef10b..0000000000000000000000000000000000000000
|
| --- a/cc/bitmap_skpicture_content_layer_updater.h
|
| +++ /dev/null
|
| @@ -1,54 +0,0 @@
|
| -// Copyright 2011 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
| -#define CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
| -
|
| -#include "cc/skpicture_content_layer_updater.h"
|
| -#include "third_party/skia/include/core/SkBitmap.h"
|
| -
|
| -namespace cc {
|
| -
|
| -// This class records the contentRect into an SkPicture, then software
|
| -// rasterizes the SkPicture into bitmaps for each tile. This implements
|
| -// Settings::perTilePainting.
|
| -class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater {
|
| - public:
|
| - class Resource : public ContentLayerUpdater::Resource {
|
| - public:
|
| - Resource(BitmapSkPictureContentLayerUpdater* updater,
|
| - scoped_ptr<PrioritizedResource> texture);
|
| -
|
| - virtual void Update(ResourceUpdateQueue* queue,
|
| - gfx::Rect source_rect,
|
| - gfx::Vector2d dest_offset,
|
| - bool partial_update,
|
| - RenderingStats* stats) OVERRIDE;
|
| -
|
| - private:
|
| - SkBitmap bitmap_;
|
| - BitmapSkPictureContentLayerUpdater* updater_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(Resource);
|
| - };
|
| -
|
| - static scoped_refptr<BitmapSkPictureContentLayerUpdater> Create(
|
| - scoped_ptr<LayerPainter> painter);
|
| -
|
| - virtual scoped_ptr<LayerUpdater::Resource> CreateResource(
|
| - PrioritizedResourceManager* manager) OVERRIDE;
|
| - void PaintContentsRect(SkCanvas* canvas,
|
| - gfx::Rect source_rect,
|
| - RenderingStats* stats);
|
| -
|
| - private:
|
| - explicit BitmapSkPictureContentLayerUpdater(scoped_ptr<LayerPainter> painter);
|
| - virtual ~BitmapSkPictureContentLayerUpdater();
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(BitmapSkPictureContentLayerUpdater);
|
| -};
|
| -
|
| -} // namespace cc
|
| -
|
| -#endif // CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
|
|