Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion impeller/aiks/aiks_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_AIKS_CONTEXT_H_
#define FLUTTER_IMPELLER_AIKS_AIKS_CONTEXT_H_

#include <memory>

Expand Down Expand Up @@ -51,3 +52,5 @@ class AiksContext {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_AIKS_CONTEXT_H_
5 changes: 4 additions & 1 deletion impeller/aiks/aiks_playground.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
#define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_

#include "flutter/fml/macros.h"
#include "impeller/aiks/aiks_context.h"
Expand Down Expand Up @@ -41,3 +42,5 @@ class AiksPlayground : public PlaygroundTest {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
5 changes: 4 additions & 1 deletion impeller/aiks/canvas.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_CANVAS_H_
#define FLUTTER_IMPELLER_AIKS_CANVAS_H_

#include <deque>
#include <functional>
Expand Down Expand Up @@ -198,3 +199,5 @@ class Canvas {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_CANVAS_H_
5 changes: 4 additions & 1 deletion impeller/aiks/canvas_recorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_CANVAS_RECORDER_H_
#define FLUTTER_IMPELLER_AIKS_CANVAS_RECORDER_H_

#include <cstdint>

Expand Down Expand Up @@ -303,3 +304,5 @@ class CanvasRecorder {
#endif

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_CANVAS_RECORDER_H_
5 changes: 4 additions & 1 deletion impeller/aiks/canvas_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
#define FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_

#include "impeller/aiks/canvas.h"
#include "impeller/aiks/canvas_recorder.h"
Expand All @@ -20,3 +21,5 @@ using CanvasType = Canvas;
#endif

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
5 changes: 4 additions & 1 deletion impeller/aiks/color_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_
#define FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_

#include "impeller/entity/contents/filters/color_filter_contents.h"
#include "impeller/geometry/color.h"
Expand Down Expand Up @@ -176,3 +177,5 @@ class ComposedColorFilter final : public ColorFilter {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_
5 changes: 4 additions & 1 deletion impeller/aiks/color_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_
#define FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_

#include <functional>
#include <memory>
Expand Down Expand Up @@ -103,3 +104,5 @@ class ColorSource {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_
5 changes: 4 additions & 1 deletion impeller/aiks/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_IMAGE_H_
#define FLUTTER_IMPELLER_AIKS_IMAGE_H_

#include <memory>

Expand Down Expand Up @@ -30,3 +31,5 @@ class Image {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_IMAGE_H_
5 changes: 4 additions & 1 deletion impeller/aiks/image_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_IMAGE_FILTER_H_
#define FLUTTER_IMPELLER_AIKS_IMAGE_FILTER_H_

#include "impeller/aiks/color_filter.h"
#include "impeller/core/sampler_descriptor.h"
Expand Down Expand Up @@ -271,3 +272,5 @@ class LocalMatrixImageFilter : public ImageFilter {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_IMAGE_FILTER_H_
5 changes: 4 additions & 1 deletion impeller/aiks/paint.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_PAINT_H_
#define FLUTTER_IMPELLER_AIKS_PAINT_H_

#include <memory>

Expand Down Expand Up @@ -106,3 +107,5 @@ struct Paint {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_PAINT_H_
5 changes: 4 additions & 1 deletion impeller/aiks/paint_pass_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_PAINT_PASS_DELEGATE_H_
#define FLUTTER_IMPELLER_AIKS_PAINT_PASS_DELEGATE_H_

#include <optional>

Expand Down Expand Up @@ -81,3 +82,5 @@ class OpacityPeepholePassDelegate final : public EntityPassDelegate {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_PAINT_PASS_DELEGATE_H_
5 changes: 4 additions & 1 deletion impeller/aiks/picture.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_PICTURE_H_
#define FLUTTER_IMPELLER_AIKS_PICTURE_H_

#include <deque>
#include <memory>
Expand Down Expand Up @@ -31,3 +32,5 @@ struct Picture {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_PICTURE_H_
5 changes: 4 additions & 1 deletion impeller/aiks/picture_recorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
#define FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_

#include "flutter/fml/macros.h"
#include "impeller/aiks/canvas.h"
Expand All @@ -25,3 +26,5 @@ class PictureRecorder {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
5 changes: 4 additions & 1 deletion impeller/aiks/testing/context_mock.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_
#define FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_

#include <string>
#include <utility>
Expand Down Expand Up @@ -115,3 +116,5 @@ class ContextMock : public Context {

} // namespace testing
} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_
5 changes: 4 additions & 1 deletion impeller/aiks/testing/context_spy.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_SPY_H_
#define FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_SPY_H_

#include <memory>
#include "impeller/aiks/testing/context_mock.h"
Expand All @@ -28,3 +29,5 @@ class ContextSpy : public std::enable_shared_from_this<ContextSpy> {
} // namespace testing

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_SPY_H_
5 changes: 4 additions & 1 deletion impeller/aiks/trace_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_
#define FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_

#include <iostream>
#include "impeller/aiks/canvas_recorder.h"
Expand Down Expand Up @@ -62,3 +63,5 @@ class TraceSerializer {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archivable.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVABLE_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVABLE_H_

#include <cstdint>
#include <optional>
Expand Down Expand Up @@ -36,3 +37,5 @@ class Archivable {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVABLE_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_H_

#include <functional>
#include <memory>
Expand Down Expand Up @@ -72,3 +73,5 @@ class Archive {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_class_registration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_CLASS_REGISTRATION_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_CLASS_REGISTRATION_H_

#include <map>
#include <optional>
Expand Down Expand Up @@ -49,3 +50,5 @@ class ArchiveClassRegistration {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_CLASS_REGISTRATION_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_database.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_DATABASE_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_DATABASE_H_

#include <map>
#include <memory>
Expand Down Expand Up @@ -53,3 +54,5 @@ class ArchiveDatabase {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_DATABASE_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_location.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_LOCATION_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_LOCATION_H_

#include <optional>
#include <type_traits>
Expand Down Expand Up @@ -171,3 +172,5 @@ class ArchiveLocation {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_LOCATION_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_statement.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_STATEMENT_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_STATEMENT_H_

#include <memory>
#include <type_traits>
Expand Down Expand Up @@ -95,3 +96,5 @@ class ArchiveStatement {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_STATEMENT_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_transaction.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_TRANSACTION_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_TRANSACTION_H_

#include <cstdint>

Expand Down Expand Up @@ -47,3 +48,5 @@ class ArchiveTransaction {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_TRANSACTION_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archive_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_VECTOR_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_VECTOR_H_

#include "impeller/archivist/archive.h"

Expand Down Expand Up @@ -35,3 +36,5 @@ class ArchiveVector : public Archivable {
};

} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_VECTOR_H_
5 changes: 4 additions & 1 deletion impeller/archivist/archivist_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
#ifndef FLUTTER_IMPELLER_ARCHIVIST_ARCHIVIST_FIXTURE_H_
#define FLUTTER_IMPELLER_ARCHIVIST_ARCHIVIST_FIXTURE_H_

#include "flutter/fml/macros.h"
#include "flutter/testing/testing.h"
Expand Down Expand Up @@ -36,3 +37,5 @@ class ArchivistFixture : public ::testing::Test {

} // namespace testing
} // namespace impeller

#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVIST_FIXTURE_H_
Loading