Skip to content

Commit

Permalink
Remove unused checkerboard.cc (flutter#2865)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Aug 5, 2016
1 parent 5556355 commit 65a4c99
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 71 deletions.
2 changes: 0 additions & 2 deletions flow/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

source_set("flow") {
sources = [
"checkerboard.cc",
"checkerboard.h",
"compositor_context.cc",
"compositor_context.h",
"instrumentation.cc",
Expand Down
47 changes: 0 additions & 47 deletions flow/checkerboard.cc

This file was deleted.

16 changes: 0 additions & 16 deletions flow/checkerboard.h

This file was deleted.

6 changes: 0 additions & 6 deletions flow/layers/picture_layer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@

#include "flow/layers/picture_layer.h"

#include "flow/checkerboard.h"
#include "flow/raster_cache.h"
#include "lib/ftl/logging.h"

namespace flow {

// TODO(abarth): Make this configurable by developers.
const bool kDebugCheckerboardRasterizedLayers = false;

PictureLayer::PictureLayer() {}

PictureLayer::~PictureLayer() {}
Expand All @@ -32,8 +28,6 @@ void PictureLayer::Paint(PaintContext& context) {
SkRect rect = picture_->cullRect().makeOffset(offset_.x(), offset_.y());
context.canvas.drawImageRect(image_.get(), rect, nullptr,
SkCanvas::kFast_SrcRectConstraint);
if (kDebugCheckerboardRasterizedLayers)
DrawCheckerboard(&context.canvas, rect);
} else {
TRACE_EVENT1("flutter", "PictureLayer::Paint", "image", "normal");
SkAutoCanvasRestore save(&context.canvas, true);
Expand Down

0 comments on commit 65a4c99

Please sign in to comment.