Skip to content

Commit

Permalink
Move impeller::Comparable to //impeller/base. (flutter#62)
Browse files Browse the repository at this point in the history
Just some minor cleanup. Fixes flutter#98686.
  • Loading branch information
chinmaygarde authored and dnfield committed Apr 27, 2022
1 parent 24d7083 commit 841bb99
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
2 changes: 2 additions & 0 deletions impeller/base/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ impeller_component("base") {
"allocation.h",
"backend_cast.h",
"base.h",
"comparable.cc",
"comparable.h",
"config.h",
"promise.cc",
"promise.h",
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 "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"

namespace impeller {

Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions impeller/renderer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ impeller_component("renderer") {
"command.cc",
"command_buffer.h",
"command_buffer.cc",
"comparable.cc",
"comparable.h",
"context.h",
"context.cc",
"device_buffer.h",
Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/backend/metal/sampler_library_mtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "flutter/fml/macros.h"
#include "impeller/base/backend_cast.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/sampler_descriptor.h"
#include "impeller/renderer/sampler_library.h"

Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/backend/metal/shader_library_mtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <unordered_map>

#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/shader_library.h"

namespace impeller {
Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/pipeline_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "flutter/fml/hash_combine.h"
#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/formats.h"
#include "impeller/renderer/shader_types.h"

Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/sampler_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/formats.h"

namespace impeller {
Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/shader_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "flutter/fml/hash_combine.h"
#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/shader_types.h"

namespace impeller {
Expand Down
2 changes: 1 addition & 1 deletion impeller/renderer/vertex_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <vector>

#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/renderer/shader_types.h"

namespace impeller {
Expand Down
2 changes: 1 addition & 1 deletion impeller/typographer/font.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <optional>

#include "flutter/fml/macros.h"
#include "impeller/renderer/comparable.h"
#include "impeller/base/comparable.h"
#include "impeller/typographer/glyph.h"
#include "impeller/typographer/typeface.h"

Expand Down
2 changes: 1 addition & 1 deletion impeller/typographer/typeface.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#pragma once

#include "flutter/fml/macros.h"
#include "impeller/base/comparable.h"
#include "impeller/geometry/rect.h"
#include "impeller/renderer/comparable.h"

namespace impeller {

Expand Down

0 comments on commit 841bb99

Please sign in to comment.