Skip to content

Commit

Permalink
Merge pull request flutter#2404 from abarth/mv_ganesh_canvas
Browse files Browse the repository at this point in the history
Move ganesh_canvas to sky/shell/gpu/direct/
  • Loading branch information
abarth committed Feb 17, 2016
2 parents bdcd6d1 + f726544 commit 3fdf0e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sky/shell/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

source_set("common") {
sources = [
"gpu/ganesh_canvas.cc",
"gpu/ganesh_canvas.h",
"gpu/picture_serializer.cc",
"gpu/picture_serializer.h",
"rasterizer.cc",
Expand Down Expand Up @@ -68,6 +66,8 @@ source_set("gpu_direct") {
"gpu/direct/surface_notifications_direct.h",
"gpu/direct/rasterizer_direct.cc",
"gpu/direct/rasterizer_direct.h",
"gpu/direct/ganesh_canvas.cc",
"gpu/direct/ganesh_canvas.h",
]

deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sky/shell/gpu/ganesh_canvas.h"
#include "sky/shell/gpu/direct/ganesh_canvas.h"

#include "base/logging.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SKY_SHELL_GPU_GANESH_CANVAS_H_
#define SKY_SHELL_GPU_GANESH_CANVAS_H_
#ifndef SKY_SHELL_GPU_DIRECT_GANESH_CANVAS_H_
#define SKY_SHELL_GPU_DIRECT_GANESH_CANVAS_H_

#include "base/basictypes.h"
#include "skia/ext/refptr.h"
Expand Down Expand Up @@ -38,4 +38,4 @@ class GaneshCanvas {
} // namespace shell
} // namespace sky

#endif // SKY_SHELL_GPU_GANESH_CANVAS_H_
#endif // SKY_SHELL_GPU_DIRECT_GANESH_CANVAS_H_
2 changes: 1 addition & 1 deletion sky/shell/gpu/direct/rasterizer_direct.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "base/memory/weak_ptr.h"
#include "flow/paint_context.h"
#include "skia/ext/refptr.h"
#include "sky/shell/gpu/ganesh_canvas.h"
#include "sky/shell/gpu/direct/ganesh_canvas.h"
#include "sky/shell/rasterizer.h"
#include "ui/gfx/native_widget_types.h"

Expand Down

0 comments on commit 3fdf0e5

Please sign in to comment.