Migrate impeller/**.h to header guards. (flutter/engine#48962)
Automatically generated by https://github.com/flutter/engine/pull/48903. Progress towards https://github.com/flutter/flutter/issues/133415.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -51,3 +52,5 @@ class AiksContext {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_AIKS_CONTEXT_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -41,3 +42,5 @@ class AiksPlayground : public PlaygroundTest {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -198,3 +199,5 @@ class Canvas {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_CANVAS_H_
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -303,3 +304,5 @@ class CanvasRecorder {
|
||||
#endif
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_CANVAS_RECORDER_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -20,3 +21,5 @@ using CanvasType = Canvas;
|
||||
#endif
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_CANVAS_TYPE_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -176,3 +177,5 @@ class ComposedColorFilter final : public ColorFilter {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -103,3 +104,5 @@ class ColorSource {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -30,3 +31,5 @@ class Image {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_IMAGE_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -271,3 +272,5 @@ class LocalMatrixImageFilter : public ImageFilter {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_IMAGE_FILTER_H_
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -106,3 +107,5 @@ struct Paint {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_PAINT_H_
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -81,3 +82,5 @@ class OpacityPeepholePassDelegate final : public EntityPassDelegate {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_PAINT_PASS_DELEGATE_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -31,3 +32,5 @@ struct Picture {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_PICTURE_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -25,3 +26,5 @@ class PictureRecorder {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -115,3 +116,5 @@ class ContextMock : public Context {
|
||||
|
||||
} // namespace testing
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -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_
|
||||
|
||||
@@ -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"
|
||||
@@ -62,3 +63,5 @@ class TraceSerializer {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -36,3 +37,5 @@ class Archivable {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVABLE_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -72,3 +73,5 @@ class Archive {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -49,3 +50,5 @@ class ArchiveClassRegistration {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_CLASS_REGISTRATION_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -53,3 +54,5 @@ class ArchiveDatabase {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_DATABASE_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -171,3 +172,5 @@ class ArchiveLocation {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_LOCATION_H_
|
||||
|
||||
@@ -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>
|
||||
@@ -95,3 +96,5 @@ class ArchiveStatement {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_STATEMENT_H_
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -47,3 +48,5 @@ class ArchiveTransaction {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_TRANSACTION_H_
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -35,3 +36,5 @@ class ArchiveVector : public Archivable {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVE_VECTOR_H_
|
||||
|
||||
@@ -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"
|
||||
@@ -36,3 +37,5 @@ class ArchivistFixture : public ::testing::Test {
|
||||
|
||||
} // namespace testing
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ARCHIVIST_ARCHIVIST_FIXTURE_H_
|
||||
|
||||
@@ -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_BASE_ALLOCATION_H_
|
||||
#define FLUTTER_IMPELLER_BASE_ALLOCATION_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <limits>
|
||||
@@ -54,3 +55,5 @@ std::shared_ptr<fml::Mapping> CreateMappingWithString(
|
||||
std::shared_ptr<fml::Mapping> CreateMappingWithString(std::string string);
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_ALLOCATION_H_
|
||||
|
||||
@@ -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_BASE_BACKEND_CAST_H_
|
||||
#define FLUTTER_IMPELLER_BASE_BACKEND_CAST_H_
|
||||
|
||||
#include "flutter/fml/macros.h"
|
||||
|
||||
@@ -25,3 +26,5 @@ class BackendCast {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_BACKEND_CAST_H_
|
||||
|
||||
@@ -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_BASE_COMPARABLE_H_
|
||||
#define FLUTTER_IMPELLER_BASE_COMPARABLE_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
@@ -109,3 +110,5 @@ struct less<impeller::UniqueID> {
|
||||
};
|
||||
|
||||
} // namespace std
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_COMPARABLE_H_
|
||||
|
||||
@@ -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_BASE_CONFIG_H_
|
||||
#define FLUTTER_IMPELLER_BASE_CONFIG_H_
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -35,3 +36,5 @@ namespace impeller {
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_CONFIG_H_
|
||||
|
||||
@@ -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_BASE_PROMISE_H_
|
||||
#define FLUTTER_IMPELLER_BASE_PROMISE_H_
|
||||
|
||||
#include <future>
|
||||
|
||||
@@ -17,3 +18,5 @@ std::future<T> RealizedFuture(T t) {
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_PROMISE_H_
|
||||
|
||||
@@ -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_BASE_STRINGS_H_
|
||||
#define FLUTTER_IMPELLER_BASE_STRINGS_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -20,3 +21,5 @@ bool HasSuffix(const std::string& string, const std::string& suffix);
|
||||
std::string StripPrefix(const std::string& string, const std::string& to_strip);
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_STRINGS_H_
|
||||
|
||||
@@ -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_BASE_THREAD_H_
|
||||
#define FLUTTER_IMPELLER_BASE_THREAD_H_
|
||||
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
@@ -268,3 +269,5 @@ class ConditionVariable {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_THREAD_H_
|
||||
|
||||
@@ -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_BASE_THREAD_SAFETY_H_
|
||||
#define FLUTTER_IMPELLER_BASE_THREAD_SAFETY_H_
|
||||
|
||||
#if defined(__clang__)
|
||||
#define IPLR_THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x))
|
||||
@@ -67,3 +68,5 @@
|
||||
|
||||
#define IPLR_NO_THREAD_SAFETY_ANALYSIS \
|
||||
IPLR_THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_THREAD_SAFETY_H_
|
||||
|
||||
@@ -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_BASE_TIMING_H_
|
||||
#define FLUTTER_IMPELLER_BASE_TIMING_H_
|
||||
|
||||
#include <chrono>
|
||||
|
||||
@@ -14,3 +15,5 @@ using Clock = std::chrono::high_resolution_clock;
|
||||
using TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock>;
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_TIMING_H_
|
||||
|
||||
@@ -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_BASE_VALIDATION_H_
|
||||
#define FLUTTER_IMPELLER_BASE_VALIDATION_H_
|
||||
|
||||
#ifndef IMPELLER_ENABLE_VALIDATION
|
||||
#ifdef IMPELLER_DEBUG
|
||||
@@ -64,3 +65,5 @@ struct ScopedValidationDisable {
|
||||
/// happens in test environments.
|
||||
///
|
||||
#define VALIDATION_LOG ::impeller::ValidationLog{}.GetStream()
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_VALIDATION_H_
|
||||
|
||||
@@ -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_BASE_VERSION_H_
|
||||
#define FLUTTER_IMPELLER_BASE_VERSION_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <optional>
|
||||
@@ -37,3 +38,5 @@ struct Version {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_BASE_VERSION_H_
|
||||
|
||||
@@ -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_COMPILER_COMPILER_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_COMPILER_H_
|
||||
|
||||
#include <initializer_list>
|
||||
#include <sstream>
|
||||
@@ -64,3 +65,5 @@ class Compiler {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_COMPILER_H_
|
||||
|
||||
@@ -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_COMPILER_COMPILER_BACKEND_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_COMPILER_BACKEND_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -71,3 +72,5 @@ struct CompilerBackend {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_COMPILER_BACKEND_H_
|
||||
|
||||
@@ -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_COMPILER_COMPILER_TEST_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_
|
||||
|
||||
#include "flutter/fml/macros.h"
|
||||
#include "flutter/testing/testing.h"
|
||||
@@ -45,3 +46,5 @@ class CompilerTest : public ::testing::TestWithParam<TargetPlatform> {
|
||||
} // namespace testing
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_
|
||||
|
||||
@@ -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_COMPILER_CONSTANTS_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_CONSTANTS_H_
|
||||
|
||||
namespace impeller {
|
||||
namespace compiler {
|
||||
@@ -11,3 +12,5 @@ constexpr char kExternalTexturePrefix[] = "SAMPLER_EXTERNAL_OES_";
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_CONSTANTS_H_
|
||||
|
||||
@@ -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_COMPILER_INCLUDE_DIR_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_INCLUDE_DIR_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -19,3 +20,5 @@ struct IncludeDir {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_INCLUDE_DIR_H_
|
||||
|
||||
@@ -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_COMPILER_INCLUDER_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_INCLUDER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -58,3 +59,5 @@ class Includer final : public shaderc::CompileOptions::IncluderInterface {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_INCLUDER_H_
|
||||
|
||||
@@ -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_COMPILER_LOGGER_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_LOGGER_H_
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
@@ -43,3 +44,5 @@ class AutoLogger {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_LOGGER_H_
|
||||
|
||||
@@ -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_COMPILER_REFLECTOR_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_REFLECTOR_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -177,3 +178,5 @@ class Reflector {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_REFLECTOR_H_
|
||||
|
||||
@@ -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_COMPILER_RUNTIME_STAGE_DATA_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_RUNTIME_STAGE_DATA_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
@@ -58,3 +59,5 @@ class RuntimeStageData {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_RUNTIME_STAGE_DATA_H_
|
||||
|
||||
@@ -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_COMPILER_SOURCE_OPTIONS_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_SOURCE_OPTIONS_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -48,3 +49,5 @@ struct SourceOptions {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_SOURCE_OPTIONS_H_
|
||||
|
||||
@@ -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_COMPILER_SPIRV_COMPILER_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_SPIRV_COMPILER_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
@@ -75,3 +76,5 @@ class SPIRVCompiler {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_SPIRV_COMPILER_H_
|
||||
|
||||
@@ -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_COMPILER_SPIRV_SKSL_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_SPIRV_SKSL_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -78,3 +79,5 @@ class CompilerSkSL : public spirv_cross::CompilerGLSL {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_SPIRV_SKSL_H_
|
||||
|
||||
@@ -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_COMPILER_SWITCHES_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
@@ -52,3 +53,5 @@ struct Switches {
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
|
||||
|
||||
@@ -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_COMPILER_TYPES_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_TYPES_H_
|
||||
|
||||
#include <codecvt>
|
||||
#include <locale>
|
||||
@@ -79,3 +80,5 @@ spirv_cross::CompilerMSL::Options::Platform TargetPlatformToMSLPlatform(
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_TYPES_H_
|
||||
|
||||
@@ -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_COMPILER_UNIFORM_SORTER_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_UNIFORM_SORTER_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
@@ -25,3 +26,5 @@ std::vector<spirv_cross::ID> SortUniforms(
|
||||
bool include = true);
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_UNIFORM_SORTER_H_
|
||||
|
||||
@@ -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_COMPILER_UTILITIES_H_
|
||||
#define FLUTTER_IMPELLER_COMPILER_UTILITIES_H_
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
@@ -31,3 +32,5 @@ bool StringStartsWith(const std::string& target, const std::string& prefix);
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_COMPILER_UTILITIES_H_
|
||||
|
||||
@@ -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_CORE_ALLOCATOR_H_
|
||||
#define FLUTTER_IMPELLER_CORE_ALLOCATOR_H_
|
||||
|
||||
#include "flutter/fml/mapping.h"
|
||||
#include "impeller/core/device_buffer_descriptor.h"
|
||||
@@ -63,3 +64,5 @@ class Allocator {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_ALLOCATOR_H_
|
||||
|
||||
@@ -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_CORE_BUFFER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_BUFFER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -20,3 +21,5 @@ class Buffer {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_BUFFER_H_
|
||||
|
||||
@@ -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_CORE_BUFFER_VIEW_H_
|
||||
#define FLUTTER_IMPELLER_CORE_BUFFER_VIEW_H_
|
||||
|
||||
#include "impeller/core/buffer.h"
|
||||
#include "impeller/core/range.h"
|
||||
@@ -18,3 +19,5 @@ struct BufferView {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_BUFFER_VIEW_H_
|
||||
|
||||
@@ -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_CORE_CAPTURE_H_
|
||||
#define FLUTTER_IMPELLER_CORE_CAPTURE_H_
|
||||
|
||||
#include <functional>
|
||||
#include <initializer_list>
|
||||
@@ -295,3 +296,5 @@ class CaptureContext {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_CAPTURE_H_
|
||||
|
||||
@@ -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_CORE_DEVICE_BUFFER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -60,3 +61,5 @@ class DeviceBuffer : public Buffer,
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_H_
|
||||
|
||||
@@ -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_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
|
||||
#define FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -16,3 +17,5 @@ struct DeviceBufferDescriptor {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_
|
||||
|
||||
@@ -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_CORE_FORMATS_H_
|
||||
#define FLUTTER_IMPELLER_CORE_FORMATS_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
@@ -679,3 +680,5 @@ struct hash<impeller::StencilAttachmentDescriptor> {
|
||||
};
|
||||
|
||||
} // namespace std
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_FORMATS_H_
|
||||
|
||||
@@ -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_CORE_HOST_BUFFER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_HOST_BUFFER_H_
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
@@ -162,3 +163,5 @@ class HostBuffer final : public Buffer {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_HOST_BUFFER_H_
|
||||
|
||||
@@ -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_CORE_PLATFORM_H_
|
||||
#define FLUTTER_IMPELLER_CORE_PLATFORM_H_
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -20,3 +21,5 @@ constexpr size_t DefaultUniformAlignment() {
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_PLATFORM_H_
|
||||
|
||||
@@ -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_CORE_RANGE_H_
|
||||
#define FLUTTER_IMPELLER_CORE_RANGE_H_
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -25,3 +26,5 @@ struct Range {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_RANGE_H_
|
||||
|
||||
@@ -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_CORE_RESOURCE_BINDER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_RESOURCE_BINDER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -35,3 +36,5 @@ struct ResourceBinder {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_RESOURCE_BINDER_H_
|
||||
|
||||
@@ -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_CORE_RUNTIME_TYPES_H_
|
||||
#define FLUTTER_IMPELLER_CORE_RUNTIME_TYPES_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <optional>
|
||||
@@ -50,3 +51,5 @@ struct RuntimeUniformDescription {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_RUNTIME_TYPES_H_
|
||||
|
||||
@@ -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_CORE_SAMPLER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_SAMPLER_H_
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -36,3 +37,5 @@ using SamplerMap = std::unordered_map<SamplerDescriptor,
|
||||
ComparableEqual<SamplerDescriptor>>;
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_SAMPLER_H_
|
||||
|
||||
@@ -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_CORE_SAMPLER_DESCRIPTOR_H_
|
||||
#define FLUTTER_IMPELLER_CORE_SAMPLER_DESCRIPTOR_H_
|
||||
|
||||
#include "impeller/base/comparable.h"
|
||||
#include "impeller/core/formats.h"
|
||||
@@ -47,3 +48,5 @@ struct SamplerDescriptor final : public Comparable<SamplerDescriptor> {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_SAMPLER_DESCRIPTOR_H_
|
||||
|
||||
@@ -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_CORE_SHADER_TYPES_H_
|
||||
#define FLUTTER_IMPELLER_CORE_SHADER_TYPES_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
@@ -185,3 +186,5 @@ inline constexpr Vector4 ToVector(Color color) {
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_SHADER_TYPES_H_
|
||||
|
||||
@@ -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_CORE_TEXTURE_H_
|
||||
#define FLUTTER_IMPELLER_CORE_TEXTURE_H_
|
||||
|
||||
#include <string_view>
|
||||
|
||||
@@ -73,3 +74,5 @@ class Texture {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_TEXTURE_H_
|
||||
|
||||
@@ -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_CORE_TEXTURE_DESCRIPTOR_H_
|
||||
#define FLUTTER_IMPELLER_CORE_TEXTURE_DESCRIPTOR_H_
|
||||
|
||||
#include "impeller/core/formats.h"
|
||||
#include "impeller/geometry/size.h"
|
||||
@@ -89,3 +90,5 @@ struct TextureDescriptor {
|
||||
std::string TextureDescriptorToString(const TextureDescriptor& desc);
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_TEXTURE_DESCRIPTOR_H_
|
||||
|
||||
@@ -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_CORE_VERTEX_BUFFER_H_
|
||||
#define FLUTTER_IMPELLER_CORE_VERTEX_BUFFER_H_
|
||||
|
||||
#include "impeller/core/buffer_view.h"
|
||||
#include "impeller/core/formats.h"
|
||||
@@ -34,3 +35,5 @@ struct VertexBuffer {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_CORE_VERTEX_BUFFER_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_DL_DISPATCHER_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_DISPATCHER_H_
|
||||
|
||||
#include "flutter/display_list/dl_op_receiver.h"
|
||||
#include "impeller/aiks/canvas_type.h"
|
||||
@@ -235,3 +236,5 @@ class DlDispatcher final : public flutter::DlOpReceiver {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_DISPATCHER_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
|
||||
|
||||
#include "flutter/display_list/image/dl_image.h"
|
||||
#include "impeller/core/texture.h"
|
||||
@@ -63,3 +64,5 @@ class DlImageImpeller final : public flutter::DlImage {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_DL_PLAYGROUND_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_
|
||||
|
||||
#include "flutter/display_list/display_list.h"
|
||||
#include "flutter/display_list/dl_builder.h"
|
||||
@@ -37,3 +38,5 @@ class DlPlayground : public PlaygroundTest {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
|
||||
|
||||
#include "flutter/display_list/dl_vertices.h"
|
||||
|
||||
@@ -14,3 +15,5 @@ std::shared_ptr<VerticesGeometry> MakeVertices(
|
||||
const flutter::DlVertices* vertices);
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_NINE_PATCH_CONVERTER_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_NINE_PATCH_CONVERTER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -43,3 +44,5 @@ class NinePatchConverter {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_NINE_PATCH_CONVERTER_H_
|
||||
|
||||
@@ -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_DISPLAY_LIST_SKIA_CONVERSIONS_H_
|
||||
#define FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
|
||||
|
||||
#include "display_list/dl_color.h"
|
||||
#include "display_list/effects/dl_color_source.h"
|
||||
@@ -70,3 +71,5 @@ void ConvertStops(const flutter::DlGradientColorSourceBase* gradient,
|
||||
|
||||
} // namespace skia_conversions
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_ANONYMOUS_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_ANONYMOUS_CONTENTS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -40,3 +41,5 @@ class AnonymousContents final : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_ANONYMOUS_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_ATLAS_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_ATLAS_CONTENTS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -161,3 +162,5 @@ class AtlasColorContents final : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_ATLAS_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_CHECKERBOARD_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CHECKERBOARD_CONTENTS_H_
|
||||
|
||||
#include "impeller/entity/contents/contents.h"
|
||||
|
||||
@@ -40,3 +41,5 @@ class CheckerboardContents final : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_CHECKERBOARD_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_CLIP_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CLIP_CONTENTS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -100,3 +101,5 @@ class ClipRestoreContents final : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_CLIP_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_COLOR_SOURCE_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_COLOR_SOURCE_CONTENTS_H_
|
||||
|
||||
#include "flutter/fml/macros.h"
|
||||
#include "impeller/entity/contents/contents.h"
|
||||
@@ -113,3 +114,5 @@ class ColorSourceContents : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_COLOR_SOURCE_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_CONICAL_GRADIENT_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CONICAL_GRADIENT_CONTENTS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -70,3 +71,5 @@ class ConicalGradientContents final : public ColorSourceContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_CONICAL_GRADIENT_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_CONTENT_CONTEXT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CONTENT_CONTEXT_H_
|
||||
|
||||
#include <initializer_list>
|
||||
#include <memory>
|
||||
@@ -909,3 +910,5 @@ class ContentContext {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_CONTENT_CONTEXT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CONTENTS_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -201,3 +202,5 @@ class Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_BLEND_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BLEND_FILTER_CONTENTS_H_
|
||||
|
||||
#include <optional>
|
||||
#include "impeller/entity/contents/filters/color_filter_contents.h"
|
||||
@@ -101,3 +102,5 @@ class BlendFilterContents : public ColorFilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BLEND_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_BORDER_MASK_BLUR_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BORDER_MASK_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -56,3 +57,5 @@ class BorderMaskBlurFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BORDER_MASK_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_COLOR_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_FILTER_CONTENTS_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/filter_contents.h"
|
||||
|
||||
@@ -59,3 +60,5 @@ class ColorFilterContents : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_COLOR_MATRIX_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -41,3 +42,5 @@ class ColorMatrixFilterContents final : public ColorFilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_DIRECTIONAL_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_DIRECTIONAL_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -104,3 +105,5 @@ class DirectionalGaussianBlurFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_DIRECTIONAL_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_FILTER_CONTENTS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -239,3 +240,5 @@ class FilterContents : public Contents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
#include <optional>
|
||||
#include "impeller/entity/contents/filters/filter_contents.h"
|
||||
@@ -71,3 +72,5 @@ class GaussianBlurFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_GAUSSIAN_BLUR_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_INPUTS_CONTENTS_FILTER_INPUT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_CONTENTS_FILTER_INPUT_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
|
||||
@@ -41,3 +42,5 @@ class ContentsFilterInput final : public FilterInput {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_CONTENTS_FILTER_INPUT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_CONTENTS_FILTER_INPUT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_CONTENTS_FILTER_INPUT_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
|
||||
@@ -66,3 +67,5 @@ class FilterContentsFilterInput final : public FilterInput {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_CONTENTS_FILTER_INPUT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_INPUT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_INPUT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -92,3 +93,5 @@ class FilterInput {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_INPUT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_INPUTS_PLACEHOLDER_FILTER_INPUT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_PLACEHOLDER_FILTER_INPUT_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
|
||||
@@ -39,3 +40,5 @@ class PlaceholderFilterInput final : public FilterInput {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_PLACEHOLDER_FILTER_INPUT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_INPUTS_TEXTURE_FILTER_INPUT_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_TEXTURE_FILTER_INPUT_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
|
||||
@@ -41,3 +42,5 @@ class TextureFilterInput final : public FilterInput {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_TEXTURE_FILTER_INPUT_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_LINEAR_TO_SRGB_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LINEAR_TO_SRGB_FILTER_CONTENTS_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/color_filter_contents.h"
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
@@ -32,3 +33,5 @@ class LinearToSrgbFilterContents final : public ColorFilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LINEAR_TO_SRGB_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_LOCAL_MATRIX_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LOCAL_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/filter_contents.h"
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
@@ -44,3 +45,5 @@ class LocalMatrixFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LOCAL_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_MATRIX_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
#include "impeller/entity/contents/filters/filter_contents.h"
|
||||
#include "impeller/entity/contents/filters/inputs/filter_input.h"
|
||||
@@ -56,3 +57,5 @@ class MatrixFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_MATRIX_FILTER_CONTENTS_H_
|
||||
|
||||
@@ -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_ENTITY_CONTENTS_FILTERS_MORPHOLOGY_FILTER_CONTENTS_H_
|
||||
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_MORPHOLOGY_FILTER_CONTENTS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -56,3 +57,5 @@ class DirectionalMorphologyFilterContents final : public FilterContents {
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_MORPHOLOGY_FILTER_CONTENTS_H_
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user