Automatically fix header guards in the rest of the flutter/engine repo. (flutter/engine#49059)

This commit is contained in:
Matan Lurey
2023-12-14 20:11:06 -08:00
committed by GitHub
parent 75b1c8d19a
commit 3aae0411b7
93 changed files with 291 additions and 213 deletions

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#define FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#include "flutter/display_list/dl_canvas.h"
#include "flutter/display_list/dl_sampling_options.h"
@@ -587,4 +587,4 @@ void BM_SaveLayer(benchmark::State& state,
} // namespace testing
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#define FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#include "flutter/display_list/display_list.h"
@@ -55,4 +55,4 @@ class DisplayListNaiveComplexityCalculator
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#define FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#include "flutter/display_list/benchmarking/dl_complexity_helper.h"
@@ -99,4 +99,4 @@ class DisplayListGLComplexityCalculator
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_COMPLEXITY_HELPER_H_
#define FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_COMPLEXITY_HELPER_H_
#ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_
#include "flutter/display_list/benchmarking/dl_complexity.h"
#include "flutter/display_list/dl_blend_mode.h"
@@ -268,4 +268,4 @@ class ComplexityCalculatorHelper
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_COMPLEXITY_HELPER_H_
#endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_HELPER_H_

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_
#define FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_
#ifndef FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_
#include "flutter/display_list/benchmarking/dl_complexity_helper.h"
@@ -99,4 +99,4 @@ class DisplayListMetalComplexityCalculator
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_
#endif // FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_METAL_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_ATTRIBUTES_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_ATTRIBUTES_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_ATTRIBUTES_H_
#define FLUTTER_DISPLAY_LIST_DL_ATTRIBUTES_H_
#include <memory>
@@ -108,4 +108,4 @@ class DlAttribute {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_ATTRIBUTES_H_
#endif // FLUTTER_DISPLAY_LIST_DL_ATTRIBUTES_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_BUILDER_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_BUILDER_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_BUILDER_H_
#define FLUTTER_DISPLAY_LIST_DL_BUILDER_H_
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_blend_mode.h"
@@ -780,4 +780,4 @@ class DisplayListBuilder final : public virtual DlCanvas,
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_BUILDER_H_
#endif // FLUTTER_DISPLAY_LIST_DL_BUILDER_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_DISPATCHER_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_DISPATCHER_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_OP_RECEIVER_H_
#define FLUTTER_DISPLAY_LIST_DL_OP_RECEIVER_H_
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_blend_mode.h"
@@ -269,4 +269,4 @@ class DlOpReceiver {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_DISPATCHER_H_
#endif // FLUTTER_DISPLAY_LIST_DL_OP_RECEIVER_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_SAMPLING_OPTIONS_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_SAMPLING_OPTIONS_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_
#define FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_
namespace flutter {
@@ -23,4 +23,4 @@ enum class DlImageSampling {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_SAMPLING_OPTIONS_H_
#endif // FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_TILE_MODE_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_TILE_MODE_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_TILE_MODE_H_
#define FLUTTER_DISPLAY_LIST_DL_TILE_MODE_H_
namespace flutter {
@@ -30,4 +30,4 @@ enum class DlTileMode {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_TILE_MODE_H_
#endif // FLUTTER_DISPLAY_LIST_DL_TILE_MODE_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_VERTICES_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_VERTICES_H_
#ifndef FLUTTER_DISPLAY_LIST_DL_VERTICES_H_
#define FLUTTER_DISPLAY_LIST_DL_VERTICES_H_
#include <memory>
@@ -284,4 +284,4 @@ class DlVertices {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_VERTICES_H_
#endif // FLUTTER_DISPLAY_LIST_DL_VERTICES_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_RUNTIME_EFFECT_H_
#define FLUTTER_DISPLAY_LIST_RUNTIME_EFFECT_H_
#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_
#define FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_
#include <memory>
@@ -82,4 +82,4 @@ class DlRuntimeEffectImpeller final : public DlRuntimeEffect {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_RUNTIME_EFFECT_H_
#endif // FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_GEOMETRY_REGION_H_
#define FLUTTER_DISPLAY_LIST_GEOMETRY_REGION_H_
#ifndef FLUTTER_DISPLAY_LIST_GEOMETRY_DL_REGION_H_
#define FLUTTER_DISPLAY_LIST_GEOMETRY_DL_REGION_H_
#include "third_party/skia/include/core/SkRect.h"
@@ -170,4 +170,4 @@ class DlRegion {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_GEOMETRY_REGION_H_
#endif // FLUTTER_DISPLAY_LIST_GEOMETRY_DL_REGION_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_IMAGE_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_IMAGE_H_
#ifndef FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_H_
#define FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_H_
#include <memory>
#include <optional>
@@ -141,4 +141,4 @@ class DlImage : public SkRefCnt {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_IMAGE_H_
#endif // FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_SKIA_DL_SK_CANVAS_DISPATCHER_H_
#define FLUTTER_DISPLAY_LIST_SKIA_DL_SK_CANVAS_DISPATCHER_H_
#ifndef FLUTTER_DISPLAY_LIST_SKIA_DL_SK_DISPATCHER_H_
#define FLUTTER_DISPLAY_LIST_SKIA_DL_SK_DISPATCHER_H_
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_op_receiver.h"
@@ -122,4 +122,4 @@ class DlSkCanvasDispatcher : public virtual DlOpReceiver,
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_SKIA_DL_SK_CANVAS_DISPATCHER_H_
#endif // FLUTTER_DISPLAY_LIST_SKIA_DL_SK_DISPATCHER_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_TYPES_H_
#define FLUTTER_DISPLAY_LIST_TYPES_H_
#ifndef FLUTTER_DISPLAY_LIST_SKIA_DL_SK_TYPES_H_
#define FLUTTER_DISPLAY_LIST_SKIA_DL_SK_TYPES_H_
#include "flutter/fml/macros.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -33,4 +33,4 @@
#include "third_party/skia/include/effects/SkDashPathEffect.h"
#include "third_party/skia/include/effects/SkDiscretePathEffect.h"
#include "third_party/skia/include/gpu/GrTypes.h"
#endif // FLUTTER_DISPLAY_LIST_TYPES_H_
#endif // FLUTTER_DISPLAY_LIST_SKIA_DL_SK_TYPES_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_COMPARABLE_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_COMPARABLE_H_
#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_COMPARABLE_H_
#define FLUTTER_DISPLAY_LIST_UTILS_DL_COMPARABLE_H_
#include <memory>
@@ -113,4 +113,4 @@ bool NotEquals(std::shared_ptr<T> a, std::shared_ptr<T> b) {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_COMPARABLE_H_
#endif // FLUTTER_DISPLAY_LIST_UTILS_DL_COMPARABLE_H_

View File

@@ -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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_MATRIX_CLIP_TRACKER_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_MATRIX_CLIP_TRACKER_H_
#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_MATRIX_CLIP_TRACKER_H_
#define FLUTTER_DISPLAY_LIST_UTILS_DL_MATRIX_CLIP_TRACKER_H_
#include <vector>
@@ -140,4 +140,4 @@ class DisplayListMatrixClipTracker {
} // namespace flutter
#endif // FLUTTER_DISPLAY_LIST_DISPLAY_LIST_MATRIX_CLIP_TRACKER_H_
#endif // FLUTTER_DISPLAY_LIST_UTILS_DL_MATRIX_CLIP_TRACKER_H_

View File

@@ -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 FLUTTER_FLOW_TEST_UTILS_H_
#define FLUTTER_FLOW_TEST_UTILS_H_
#ifndef FLUTTER_FLOW_FLOW_TEST_UTILS_H_
#define FLUTTER_FLOW_FLOW_TEST_UTILS_H_
#include <string>
@@ -19,4 +19,4 @@ void SetFontFile(const std::string& dir);
} // namespace flutter
#endif // FLUTTER_FLOW_TEST_UTILS_H_
#endif // FLUTTER_FLOW_FLOW_TEST_UTILS_H_

View File

@@ -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 FLUTTER_FLOW_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
#ifndef FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
#include <memory>
#include <optional>
@@ -59,4 +59,4 @@ class DisplayListRasterCacheItem : public RasterCacheItem {
} // namespace flutter
#endif // FLUTTER_FLOW_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
#endif // FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_

View File

@@ -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 FLUTTER_FLOW_LAYER_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_LAYER_RASTER_CACHE_ITEM_H_
#ifndef FLUTTER_FLOW_LAYERS_LAYER_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_LAYERS_LAYER_RASTER_CACHE_ITEM_H_
#include <memory>
#include <optional>
@@ -69,4 +69,4 @@ class LayerRasterCacheItem : public RasterCacheItem {
} // namespace flutter
#endif // FLUTTER_FLOW_LAYER_RASTER_CACHE_ITEM_H_
#endif // FLUTTER_FLOW_LAYERS_LAYER_RASTER_CACHE_ITEM_H_

View File

@@ -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 FLUTTER_FLOW_INSTRUMENTATION_H_
#define FLUTTER_FLOW_INSTRUMENTATION_H_
#ifndef FLUTTER_FLOW_STOPWATCH_H_
#define FLUTTER_FLOW_STOPWATCH_H_
#include <vector>
@@ -125,4 +125,4 @@ class StopwatchVisualizer {
} // namespace flutter
#endif // FLUTTER_FLOW_INSTRUMENTATION_H_
#endif // FLUTTER_FLOW_STOPWATCH_H_

View File

@@ -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 FLUTTER_SHELL_DIFF_CONTEXT_TEST_H_
#define FLUTTER_SHELL_DIFF_CONTEXT_TEST_H_
#ifndef FLUTTER_FLOW_TESTING_DIFF_CONTEXT_TEST_H_
#define FLUTTER_FLOW_TESTING_DIFF_CONTEXT_TEST_H_
#include <utility>
@@ -72,4 +72,4 @@ class DiffContextTest : public LayerTest {
} // namespace testing
} // namespace flutter
#endif // FLUTTER_SHELL_DIFF_CONTEXT_TEST_H_
#endif // FLUTTER_FLOW_TESTING_DIFF_CONTEXT_TEST_H_

View File

@@ -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 FLUTTER_SHELL_RENDERER_CONTEXT_TEST_H_
#define FLUTTER_SHELL_RENDERER_CONTEXT_TEST_H_
#ifndef FLUTTER_FLOW_TESTING_GL_CONTEXT_SWITCH_TEST_H_
#define FLUTTER_FLOW_TESTING_GL_CONTEXT_SWITCH_TEST_H_
#include "flutter/common/graphics/gl_context_switch.h"
#include "gtest/gtest.h"
@@ -42,4 +42,4 @@ class TestSwitchableGLContext : public SwitchableGLContext {
} // namespace testing
} // namespace flutter
#endif // FLUTTER_SHELL_RENDERER_CONTEXT_TEST_H_
#endif // FLUTTER_FLOW_TESTING_GL_CONTEXT_SWITCH_TEST_H_

View File

@@ -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 FLOW_TESTING_LAYER_TEST_H_
#define FLOW_TESTING_LAYER_TEST_H_
#ifndef FLUTTER_FLOW_TESTING_LAYER_TEST_H_
#define FLUTTER_FLOW_TESTING_LAYER_TEST_H_
#include "display_list/dl_color.h"
#include "flutter/flow/layer_snapshot_store.h"
@@ -241,4 +241,4 @@ using LayerTest = LayerTestBase<::testing::Test>;
} // namespace testing
} // namespace flutter
#endif // FLOW_TESTING_LAYER_TEST_H_
#endif // FLUTTER_FLOW_TESTING_LAYER_TEST_H_

View File

@@ -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 FLOW_TESTING_MOCK_EMBEDDER_H_
#define FLOW_TESTING_MOCK_EMBEDDER_H_
#ifndef FLUTTER_FLOW_TESTING_MOCK_EMBEDDER_H_
#define FLUTTER_FLOW_TESTING_MOCK_EMBEDDER_H_
#include "flutter/flow/embedded_views.h"
@@ -54,4 +54,4 @@ class MockViewEmbedder : public ExternalViewEmbedder {
} // namespace testing
} // namespace flutter
#endif // FLOW_TESTING_MOCK_EMBEDDER_H_
#endif // FLUTTER_FLOW_TESTING_MOCK_EMBEDDER_H_

View File

@@ -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 FLOW_TESTING_MOCK_LAYER_H_
#define FLOW_TESTING_MOCK_LAYER_H_
#ifndef FLUTTER_FLOW_TESTING_MOCK_LAYER_H_
#define FLUTTER_FLOW_TESTING_MOCK_LAYER_H_
#include <functional>
#include <memory>
@@ -174,4 +174,4 @@ class MockCacheableLayer : public MockLayer {
} // namespace testing
} // namespace flutter
#endif // FLOW_TESTING_MOCK_LAYER_H_
#endif // FLUTTER_FLOW_TESTING_MOCK_LAYER_H_

View File

@@ -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 FLOW_TESTING_MOCK_RASTER_CACHE_H_
#define FLOW_TESTING_MOCK_RASTER_CACHE_H_
#ifndef FLUTTER_FLOW_TESTING_MOCK_RASTER_CACHE_H_
#define FLUTTER_FLOW_TESTING_MOCK_RASTER_CACHE_H_
#include <vector>
#include "flutter/flow/layers/layer.h"
@@ -149,4 +149,4 @@ bool RasterCacheItemTryToRasterCache(
} // namespace testing
} // namespace flutter
#endif // FLOW_TESTING_MOCK_RASTER_CACHE_H_
#endif // FLUTTER_FLOW_TESTING_MOCK_RASTER_CACHE_H_

View File

@@ -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 FLOW_TESTING_MOCK_TEXTURE_H_
#define FLOW_TESTING_MOCK_TEXTURE_H_
#ifndef FLUTTER_FLOW_TESTING_MOCK_TEXTURE_H_
#define FLUTTER_FLOW_TESTING_MOCK_TEXTURE_H_
#include <ostream>
#include <vector>
@@ -49,4 +49,4 @@ class MockTexture : public Texture {
} // namespace testing
} // namespace flutter
#endif // FLOW_TESTING_MOCK_TEXTURE_H_
#endif // FLUTTER_FLOW_TESTING_MOCK_TEXTURE_H_

View File

@@ -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_FLUTTER_VMA_FLUTTER_SKIA_VMA_H_
#define FLUTTER_FLUTTER_VMA_FLUTTER_SKIA_VMA_H_
#include "flutter/flutter_vma/flutter_vma.h"
@@ -67,3 +68,5 @@ class FlutterSkiaVulkanMemoryAllocator : public skgpu::VulkanMemoryAllocator {
};
} // namespace flutter
#endif // FLUTTER_FLUTTER_VMA_FLUTTER_SKIA_VMA_H_

View File

@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#ifndef FLUTTER_FLUTTER_VMA_FLUTTER_VMA_H_
#define FLUTTER_FLUTTER_VMA_FLUTTER_VMA_H_
#include "vk_mem_alloc.h"
#endif // FLUTTER_FLUTTER_VMA_FLUTTER_VMA_H_

View File

@@ -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 FLUTTER_FML_ASCIITRIE_H_
#define FLUTTER_FML_ASCIITRIE_H_
#ifndef FLUTTER_FML_ASCII_TRIE_H_
#define FLUTTER_FML_ASCII_TRIE_H_
#include <memory>
#include <string>
@@ -37,4 +37,4 @@ class AsciiTrie {
};
} // namespace fml
#endif
#endif // FLUTTER_FML_ASCII_TRIE_H_

View File

@@ -33,8 +33,8 @@
// mostly explains a.), c. it makes parsing "subcommands", like "my_program
// --flag_for_my_program subcommand --flag_for_subcommand" saner.
#ifndef LIB_FML_COMMAND_LINE_H_
#define LIB_FML_COMMAND_LINE_H_
#ifndef FLUTTER_FML_COMMAND_LINE_H_
#define FLUTTER_FML_COMMAND_LINE_H_
#include <cstddef>
#include <initializer_list>
@@ -263,4 +263,4 @@ std::vector<std::string> CommandLineToArgv(const CommandLine& command_line);
} // namespace fml
#endif // LIB_FML_COMMAND_LINE_H_
#endif // FLUTTER_FML_COMMAND_LINE_H_

View File

@@ -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_FML_CPU_AFFINITY_H_
#define FLUTTER_FML_CPU_AFFINITY_H_
#include <optional>
#include <string>
@@ -84,3 +85,5 @@ class CPUSpeedTracker {
std::optional<int64_t> ReadIntFromFile(const std::string& path);
} // namespace fml
#endif // FLUTTER_FML_CPU_AFFINITY_H_

View File

@@ -38,4 +38,4 @@ class TaskRunnerChecker final {
} // namespace fml
#endif // FLUTTER_FML_MEMORY_THREAD_CHECKER_H_
#endif // FLUTTER_FML_MEMORY_TASK_RUNNER_CHECKER_H_

View File

@@ -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_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_
#define FLUTTER_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_
#include "flutter/fml/cpu_affinity.h"
@@ -15,3 +16,5 @@ std::optional<size_t> AndroidEfficiencyCoreCount();
bool AndroidRequestAffinity(CpuAffinity affinity);
} // namespace fml
#endif // FLUTTER_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_

View File

@@ -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 FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASEPOOL_H_
#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASEPOOL_H_
#ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASE_POOL_H_
#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASE_POOL_H_
#include "flutter/fml/macros.h"
@@ -23,4 +23,4 @@ class ScopedNSAutoreleasePool {
} // namespace fml
#endif // FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASEPOOL_H_
#endif // FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSAUTORELEASE_POOL_H_

View File

@@ -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 FLUTTER_FML_STRING_RANGE_SANITIZATION_H_
#define FLUTTER_FML_STRING_RANGE_SANITIZATION_H_
#ifndef FLUTTER_FML_PLATFORM_DARWIN_STRING_RANGE_SANITIZATION_H_
#define FLUTTER_FML_PLATFORM_DARWIN_STRING_RANGE_SANITIZATION_H_
#include <Foundation/Foundation.h>
@@ -26,4 +26,4 @@ NSRange RangeForCharactersInRange(NSString* text, NSRange range);
} // namespace fml
#endif // FLUTTER_FML_STRING_RANGE_SANITIZATION_H_
#endif // FLUTTER_FML_PLATFORM_DARWIN_STRING_RANGE_SANITIZATION_H_

View File

@@ -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 FLUTTER_SHELL_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
#ifndef FLUTTER_FML_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
#define FLUTTER_FML_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
#include <lib/fit/function.h>
@@ -37,4 +37,4 @@ void CurrentMessageLoopRemoveAfterTaskObserver(intptr_t key);
} // namespace fml
#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
#endif // FLUTTER_FML_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_

View File

@@ -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 FLUTTER_FML_PLATFORM_LINUX_TIMER_FD_H_
#define FLUTTER_FML_PLATFORM_LINUX_TIMER_FD_H_
#ifndef FLUTTER_FML_PLATFORM_LINUX_TIMERFD_H_
#define FLUTTER_FML_PLATFORM_LINUX_TIMERFD_H_
#include "flutter/fml/time/time_point.h"
@@ -53,4 +53,4 @@ bool TimerDrain(int fd);
} // namespace fml
#endif // FLUTTER_FML_PLATFORM_LINUX_TIMER_FD_H_
#endif // FLUTTER_FML_PLATFORM_LINUX_TIMERFD_H_

View File

@@ -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 FLUTTER_FML_SYNCHRONIZATION_SHARED_MUTEX_POSIX_H_
#define FLUTTER_FML_SYNCHRONIZATION_SHARED_MUTEX_POSIX_H_
#ifndef FLUTTER_FML_PLATFORM_POSIX_SHARED_MUTEX_POSIX_H_
#define FLUTTER_FML_PLATFORM_POSIX_SHARED_MUTEX_POSIX_H_
#include <shared_mutex>
@@ -27,4 +27,4 @@ class SharedMutexPosix : public SharedMutex {
} // namespace fml
#endif // FLUTTER_FML_SYNCHRONIZATION_SHARED_MUTEX_POSIX_H_
#endif // FLUTTER_FML_PLATFORM_POSIX_SHARED_MUTEX_POSIX_H_

View File

@@ -44,4 +44,4 @@ class MessageLoopWin : public MessageLoopImpl {
} // namespace fml
#endif // FLUTTER_FML_PLATFORM_GENERIC_MESSAGE_LOOP_GENERIC_H_
#endif // FLUTTER_FML_PLATFORM_WIN_MESSAGE_LOOP_WIN_H_

View File

@@ -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 FML_SHELL_COMMON_TASK_RUNNER_MERGER_H_
#define FML_SHELL_COMMON_TASK_RUNNER_MERGER_H_
#ifndef FLUTTER_FML_RASTER_THREAD_MERGER_H_
#define FLUTTER_FML_RASTER_THREAD_MERGER_H_
#include <condition_variable>
#include <mutex>
@@ -143,4 +143,4 @@ class RasterThreadMerger
} // namespace fml
#endif // FML_SHELL_COMMON_TASK_RUNNER_MERGER_H_
#endif // FLUTTER_FML_RASTER_THREAD_MERGER_H_

View File

@@ -78,4 +78,4 @@ inline std::string_view Status::message() const {
} // namespace fml
#endif // FLUTTER_FML_SIZE_H_
#endif // FLUTTER_FML_STATUS_H_

View File

@@ -95,4 +95,4 @@ class StatusOr {
} // namespace fml
#endif
#endif // FLUTTER_FML_STATUS_OR_H_

View File

@@ -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_LIB_GPU_COMMAND_BUFFER_H_
#define FLUTTER_LIB_GPU_COMMAND_BUFFER_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/export.h"
@@ -57,3 +58,5 @@ extern Dart_Handle InternalFlutterGpu_CommandBuffer_Submit(
Dart_Handle completion_callback);
} // extern "C"
#endif // FLUTTER_LIB_GPU_COMMAND_BUFFER_H_

View File

@@ -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_LIB_GPU_CONTEXT_H_
#define FLUTTER_LIB_GPU_CONTEXT_H_
#include "dart_api.h"
#include "flutter/lib/gpu/export.h"
@@ -67,3 +68,5 @@ extern int InternalFlutterGpu_Context_GetDefaultDepthStencilFormat(
flutter::gpu::Context* wrapper);
} // extern "C"
#endif // FLUTTER_LIB_GPU_CONTEXT_H_

View File

@@ -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_LIB_GPU_DEVICE_BUFFER_H_
#define FLUTTER_LIB_GPU_DEVICE_BUFFER_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/export.h"
@@ -62,3 +63,5 @@ extern bool InternalFlutterGpu_DeviceBuffer_Overwrite(
int destination_offset_in_bytes);
} // extern "C"
#endif // FLUTTER_LIB_GPU_DEVICE_BUFFER_H_

View File

@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#ifndef FLUTTER_LIB_GPU_EXPORT_H_
#define FLUTTER_LIB_GPU_EXPORT_H_
#if FML_OS_WIN
#define FLUTTER_GPU_EXPORT __declspec(dllexport)
#else // FML_OS_WIN
#define FLUTTER_GPU_EXPORT __attribute__((visibility("default")))
#endif // FML_OS_WIN
#endif // FLUTTER_LIB_GPU_EXPORT_H_

View File

@@ -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_LIB_GPU_HOST_BUFFER_H_
#define FLUTTER_LIB_GPU_HOST_BUFFER_H_
#include "flutter/lib/gpu/export.h"
#include "flutter/lib/ui/dart_wrapper.h"
@@ -49,3 +50,5 @@ extern size_t InternalFlutterGpu_HostBuffer_EmplaceBytes(
Dart_Handle byte_data);
} // extern "C"
#endif // FLUTTER_LIB_GPU_HOST_BUFFER_H_

View File

@@ -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_LIB_GPU_RENDER_PASS_H_
#define FLUTTER_LIB_GPU_RENDER_PASS_H_
#include <map>
#include <memory>
@@ -225,3 +226,5 @@ extern bool InternalFlutterGpu_RenderPass_Draw(
flutter::gpu::RenderPass* wrapper);
} // extern "C"
#endif // FLUTTER_LIB_GPU_RENDER_PASS_H_

View File

@@ -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_LIB_GPU_RENDER_PIPELINE_H_
#define FLUTTER_LIB_GPU_RENDER_PIPELINE_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/export.h"
@@ -50,3 +51,5 @@ extern Dart_Handle InternalFlutterGpu_RenderPipeline_Initialize(
flutter::gpu::Shader* fragment_shader);
} // extern "C"
#endif // FLUTTER_LIB_GPU_RENDER_PIPELINE_H_

View File

@@ -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_LIB_GPU_SHADER_H_
#define FLUTTER_LIB_GPU_SHADER_H_
#include <memory>
#include <string>
@@ -77,3 +78,5 @@ extern int InternalFlutterGpu_Shader_GetUniformSlot(
Dart_Handle name_handle);
} // extern "C"
#endif // FLUTTER_LIB_GPU_SHADER_H_

View File

@@ -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_LIB_GPU_SHADER_LIBRARY_H_
#define FLUTTER_LIB_GPU_SHADER_LIBRARY_H_
#include <memory>
#include <string>
@@ -77,3 +78,5 @@ extern Dart_Handle InternalFlutterGpu_ShaderLibrary_GetShader(
Dart_Handle shader_wrapper);
} // extern "C"
#endif // FLUTTER_LIB_GPU_SHADER_LIBRARY_H_

View File

@@ -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_LIB_GPU_SMOKETEST_H_
#define FLUTTER_LIB_GPU_SMOKETEST_H_
#include <cstdint>
@@ -51,3 +52,5 @@ extern void InternalFlutterGpuTestClass_Method(
int something);
} // extern "C"
#endif // FLUTTER_LIB_GPU_SMOKETEST_H_

View File

@@ -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_LIB_GPU_TEXTURE_H_
#define FLUTTER_LIB_GPU_TEXTURE_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/export.h"
@@ -79,3 +80,5 @@ extern Dart_Handle InternalFlutterGpu_Texture_AsImage(
flutter::gpu::Texture* wrapper);
} // extern "C"
#endif // FLUTTER_LIB_GPU_TEXTURE_H_

View File

@@ -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 FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_H_
#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_H_
#ifndef FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_H_
#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_H_
#include <map>
#include <mutex>
@@ -43,4 +43,4 @@ class IsolateNameServer {
} // namespace flutter
#endif // FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_H_
#endif // FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_H_

View File

@@ -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 FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_NATIVES_H_
#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_NATIVES_H_
#ifndef FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_
#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_
#include <string>
@@ -21,4 +21,4 @@ class IsolateNameServerNatives {
} // namespace flutter
#endif // FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_NATIVES_H_
#endif // FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_NATIVES_H_

View File

@@ -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 FLUTTER_LIB_UI_COLOR_FILTER_H_
#define FLUTTER_LIB_UI_COLOR_FILTER_H_
#ifndef FLUTTER_LIB_UI_PAINTING_COLOR_FILTER_H_
#define FLUTTER_LIB_UI_PAINTING_COLOR_FILTER_H_
#include "flutter/display_list/effects/dl_color_filter.h"
#include "flutter/lib/ui/dart_wrapper.h"
@@ -36,4 +36,4 @@ class ColorFilter : public RefCountedDartWrappable<ColorFilter> {
} // namespace flutter
#endif // FLUTTER_LIB_UI_COLOR_FILTER_H_
#endif // FLUTTER_LIB_UI_PAINTING_COLOR_FILTER_H_

View File

@@ -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_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_IMPELLER_H_
#define FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_IMPELLER_H_
#include "flutter/common/graphics/texture.h"
#include "flutter/display_list/image/dl_image.h"
@@ -124,3 +125,5 @@ class DlDeferredImageGPUImpeller final : public DlImage {
};
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_IMPELLER_H_

View File

@@ -90,4 +90,4 @@ class ImageGeneratorRegistry {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_H_
#endif // FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_REGISTRY_H_

View File

@@ -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 FLUTTER_LIB_UI_PAINTNIG_IMMUTABLE_BUFER_H_
#define FLUTTER_LIB_UI_PAINTNIG_IMMUTABLE_BUFER_H_
#ifndef FLUTTER_LIB_UI_PAINTING_IMMUTABLE_BUFFER_H_
#define FLUTTER_LIB_UI_PAINTING_IMMUTABLE_BUFFER_H_
#include <cstdint>
@@ -103,4 +103,4 @@ class ImmutableBuffer : public RefCountedDartWrappable<ImmutableBuffer> {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTNIG_IMMUTABLE_BUFER_H_
#endif // FLUTTER_LIB_UI_PAINTING_IMMUTABLE_BUFFER_H_

View File

@@ -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 FLUTTER_LIB_UI_PAINTING_MUTLI_FRAME_CODEC_H_
#define FLUTTER_LIB_UI_PAINTING_MUTLI_FRAME_CODEC_H_
#ifndef FLUTTER_LIB_UI_PAINTING_MULTI_FRAME_CODEC_H_
#define FLUTTER_LIB_UI_PAINTING_MULTI_FRAME_CODEC_H_
#include "flutter/fml/macros.h"
#include "flutter/lib/ui/painting/codec.h"
@@ -84,4 +84,4 @@ class MultiFrameCodec : public Codec {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTING_MUTLI_FRAME_CODEC_H_
#endif // FLUTTER_LIB_UI_PAINTING_MULTI_FRAME_CODEC_H_

View File

@@ -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 FLUTTER_LIB_UI_PAINTING_SCENE_NODE_H_
#define FLUTTER_LIB_UI_PAINTING_SCENE_NODE_H_
#ifndef FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_NODE_H_
#define FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_NODE_H_
#include <memory>
#include <string>
@@ -65,4 +65,4 @@ class SceneNode : public RefCountedDartWrappable<SceneNode> {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTING_SCENE_NODE_H_
#endif // FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_NODE_H_

View File

@@ -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 FLUTTER_LIB_UI_PAINTING_SCENE_SHADER_H_
#define FLUTTER_LIB_UI_PAINTING_SCENE_SHADER_H_
#ifndef FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_SHADER_H_
#define FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_SHADER_H_
#include <string>
#include <vector>
@@ -42,4 +42,4 @@ class SceneShader : public Shader {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PAINTING_SCENE_SHADER_H_
#endif // FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_SHADER_H_

View File

@@ -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 FLUTTER_LIB_UI_CALLBACK_CACHE_H_
#define FLUTTER_LIB_UI_CALLBACK_CACHE_H_
#ifndef FLUTTER_LIB_UI_PLUGINS_CALLBACK_CACHE_H_
#define FLUTTER_LIB_UI_PLUGINS_CALLBACK_CACHE_H_
#include <map>
#include <memory>
@@ -54,4 +54,4 @@ class DartCallbackCache {
} // namespace flutter
#endif // FLUTTER_LIB_UI_CALLBACK_CACHE_H_
#endif // FLUTTER_LIB_UI_PLUGINS_CALLBACK_CACHE_H_

View File

@@ -33,4 +33,4 @@ using CustomAccessibilityActionUpdates =
} // namespace flutter
#endif // FLUTTER_LIB_UI_SEMANTICS_LOCAL_CONTEXT_ACTION_H_
#endif // FLUTTER_LIB_UI_SEMANTICS_CUSTOM_ACCESSIBILITY_ACTION_H_

View File

@@ -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 FLUTTER_LIB_VOLATILE_PATH_TRACKER_H_
#define FLUTTER_LIB_VOLATILE_PATH_TRACKER_H_
#ifndef FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
#define FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
#include <deque>
#include <memory>
@@ -76,4 +76,4 @@ class VolatilePathTracker {
} // namespace flutter
#endif // FLUTTER_LIB_VOLATILE_PATH_TRACKER_H_
#endif // FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_

View File

@@ -76,4 +76,4 @@ struct alignas(8) KeyData {
} // namespace flutter
#endif // FLUTTER_LIB_UI_WINDOW_POINTER_DATA_H_
#endif // FLUTTER_LIB_UI_WINDOW_KEY_DATA_H_

View File

@@ -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 FLUTTER_LIB_UI_WINDOW_KEY_DATA_MESSAGE_H_
#define FLUTTER_LIB_UI_WINDOW_KEY_DATA_MESSAGE_H_
#ifndef FLUTTER_LIB_UI_WINDOW_KEY_DATA_PACKET_H_
#define FLUTTER_LIB_UI_WINDOW_KEY_DATA_PACKET_H_
#include <functional>
#include <vector>
@@ -46,4 +46,4 @@ class KeyDataPacket {
} // namespace flutter
#endif // FLUTTER_LIB_UI_WINDOW_POINTER_DATA_MESSAGE_H_
#endif // FLUTTER_LIB_UI_WINDOW_KEY_DATA_PACKET_H_

View File

@@ -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 FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_H_
#define FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_H_
#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_H_
#include <string>
#include <vector>
@@ -42,4 +42,4 @@ class PlatformMessage {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_H_
#endif // FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_H_

View File

@@ -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 FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_H_
#define FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_H_
#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_H_
#include <vector>
@@ -33,4 +33,4 @@ class PlatformMessageResponse
} // namespace flutter
#endif // FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_H_
#endif // FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_H_

View File

@@ -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 FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_H_
#define FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_H_
#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
#include "flutter/fml/message_loop.h"
#include "flutter/lib/ui/window/platform_message_response.h"
@@ -33,4 +33,4 @@ class PlatformMessageResponseDart : public PlatformMessageResponse {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_H_
#endif // FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_

View File

@@ -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 FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_
#define FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_
#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_
#include "flutter/fml/message_loop.h"
#include "flutter/lib/ui/window/platform_message_response.h"
@@ -32,4 +32,4 @@ class PlatformMessageResponseDartPort : public PlatformMessageResponse {
} // namespace flutter
#endif // FLUTTER_LIB_UI_PLATFORM_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_
#endif // FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_PORT_H_

View File

@@ -2,8 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#ifndef FLUTTER_LIB_WEB_UI_SKWASM_EXPORT_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_EXPORT_H_
#include <emscripten.h>
#define SKWASM_EXPORT extern "C" EMSCRIPTEN_KEEPALIVE
#endif // FLUTTER_LIB_WEB_UI_SKWASM_EXPORT_H_

View File

@@ -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_LIB_WEB_UI_SKWASM_HELPERS_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_HELPERS_H_
#include "third_party/skia/include/core/SkMatrix.h"
#include "third_party/skia/include/core/SkRRect.h"
@@ -58,3 +59,5 @@ inline SkSamplingOptions samplingOptionsForQuality(FilterQuality quality) {
}
}
} // namespace Skwasm
#endif // FLUTTER_LIB_WEB_UI_SKWASM_HELPERS_H_

View File

@@ -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_LIB_WEB_UI_SKWASM_SURFACE_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_SURFACE_H_
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
@@ -113,3 +114,5 @@ class Surface {
uint32_t callbackId);
};
} // namespace Skwasm
#endif // FLUTTER_LIB_WEB_UI_SKWASM_SURFACE_H_

View File

@@ -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_LIB_WEB_UI_SKWASM_WRAPPERS_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_WRAPPERS_H_
#include <emscripten/html5_webgl.h>
#include "third_party/skia/include/core/SkCanvas.h"
@@ -34,3 +35,5 @@ struct FlutterFontCollection {
};
} // namespace Skwasm
#endif // FLUTTER_LIB_WEB_UI_SKWASM_WRAPPERS_H_

View File

@@ -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 FLUTTER_DART_PLUGIN_REGISTRANT_H_
#define FLUTTER_DART_PLUGIN_REGISTRANT_H_
#ifndef FLUTTER_RUNTIME_DART_PLUGIN_REGISTRANT_H_
#define FLUTTER_RUNTIME_DART_PLUGIN_REGISTRANT_H_
#include "third_party/dart/runtime/include/dart_api.h"
@@ -23,4 +23,4 @@ bool FindAndInvokeDartPluginRegistrant();
} // namespace flutter
#endif // FLUTTER_DART_PLUGIN_REGISTRANT_H_
#endif // FLUTTER_RUNTIME_DART_PLUGIN_REGISTRANT_H_

View File

@@ -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 FLUTTER_SHELL_RUNTIME_ISOLATE_CONFIGURATION_H_
#define FLUTTER_SHELL_RUNTIME_ISOLATE_CONFIGURATION_H_
#ifndef FLUTTER_RUNTIME_ISOLATE_CONFIGURATION_H_
#define FLUTTER_RUNTIME_ISOLATE_CONFIGURATION_H_
#include <future>
#include <memory>
@@ -184,4 +184,4 @@ class IsolateConfiguration {
} // namespace flutter
#endif // FLUTTER_SHELL_RUNTIME_ISOLATE_CONFIGURATION_H_
#endif // FLUTTER_RUNTIME_ISOLATE_CONFIGURATION_H_

View File

@@ -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 TESTING_CANVAS_TEST_H_
#define TESTING_CANVAS_TEST_H_
#ifndef FLUTTER_TESTING_CANVAS_TEST_H_
#define FLUTTER_TESTING_CANVAS_TEST_H_
#include "flutter/fml/macros.h"
#include "flutter/testing/mock_canvas.h"
@@ -33,4 +33,4 @@ using CanvasTest = CanvasTestBase<::testing::Test>;
} // namespace testing
} // namespace flutter
#endif // TESTING_CANVAS_TEST_H_
#endif // FLUTTER_TESTING_CANVAS_TEST_H_

View File

@@ -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 TESTING_DISPLAY_LIST_TESTING_H_
#define TESTING_DISPLAY_LIST_TESTING_H_
#ifndef FLUTTER_TESTING_DISPLAY_LIST_TESTING_H_
#define FLUTTER_TESTING_DISPLAY_LIST_TESTING_H_
#include <ostream>
@@ -176,4 +176,4 @@ class DisplayListStreamDispatcher final : public DlOpReceiver {
} // namespace testing
} // namespace flutter
#endif // TESTING_DISPLAY_LIST_TESTING_H_
#endif // FLUTTER_TESTING_DISPLAY_LIST_TESTING_H_

View File

@@ -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 TESTING_MOCK_CANVAS_H_
#define TESTING_MOCK_CANVAS_H_
#ifndef FLUTTER_TESTING_MOCK_CANVAS_H_
#define FLUTTER_TESTING_MOCK_CANVAS_H_
#include <ostream>
#include <variant>
@@ -364,4 +364,4 @@ extern std::ostream& operator<<(std::ostream& os,
} // namespace testing
} // namespace flutter
#endif // TESTING_MOCK_CANVAS_H_
#endif // FLUTTER_TESTING_MOCK_CANVAS_H_

View File

@@ -4,8 +4,8 @@
// clang-format off
#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h
#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_RUNNER_GENERATEDPLUGINREGISTRANT_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_RUNNER_GENERATEDPLUGINREGISTRANT_H_
#import <Flutter/Flutter.h>
@@ -16,4 +16,4 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_RUNNER_GENERATEDPLUGINREGISTRANT_H_

View File

@@ -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_TESTING_TEST_ARGS_H_
#define FLUTTER_TESTING_TEST_ARGS_H_
#include "flutter/fml/command_line.h"
@@ -15,3 +16,5 @@ void SetArgsForProcess(int argc, char** argv);
} // namespace testing
} // namespace flutter
#endif // FLUTTER_TESTING_TEST_ARGS_H_

View File

@@ -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 FLUTTER_TESTING_TEST_VULKAN_SURFACE_IMPL_H_
#define FLUTTER_TESTING_TEST_VULKAN_SURFACE_IMPL_H_
#ifndef FLUTTER_TESTING_TEST_VULKAN_SURFACE_H_
#define FLUTTER_TESTING_TEST_VULKAN_SURFACE_H_
#include <memory>
#include "flutter/testing/test_vulkan_context.h"
@@ -39,4 +39,4 @@ class TestVulkanSurface {
} // namespace testing
} // namespace flutter
#endif // FLUTTER_TESTING_TEST_VULKAN_SURFACE_IMPL_H_
#endif // FLUTTER_TESTING_TEST_VULKAN_SURFACE_H_

View File

@@ -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 TESTING_TESTING_H_
#define TESTING_TESTING_H_
#ifndef FLUTTER_TESTING_TESTING_H_
#define FLUTTER_TESTING_TESTING_H_
#include <string>
#include <vector>
@@ -118,4 +118,4 @@ bool MemsetPatternSetOrCheck(std::vector<uint8_t>& buffer, MemsetPatternOp op);
} // namespace testing
} // namespace flutter
#endif // TESTING_TESTING_H_
#endif // FLUTTER_TESTING_TESTING_H_

View File

@@ -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 HB_WRAPPERS_H_
#define HB_WRAPPERS_H_
#ifndef FLUTTER_TOOLS_FONT_SUBSET_HB_WRAPPERS_H_
#define FLUTTER_TOOLS_FONT_SUBSET_HB_WRAPPERS_H_
#include <hb-subset.h>
@@ -34,4 +34,4 @@ using HbSetPtr = std::unique_ptr<hb_set_t, hb_set_deleter>;
}; // namespace HarfbuzzWrappers
#endif // HB_WRAPPERS_H_s
#endif // FLUTTER_TOOLS_FONT_SUBSET_HB_WRAPPERS_H_

View File

@@ -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_TOOLS_PATH_OPS_PATH_OPS_H_
#define FLUTTER_TOOLS_PATH_OPS_PATH_OPS_H_
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/core/SkPathBuilder.h"
@@ -58,3 +59,5 @@ API void DestroyData(PathData* data);
} // namespace flutter
}
#endif // FLUTTER_TOOLS_PATH_OPS_PATH_OPS_H_

View File

@@ -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_VULKAN_PROCS_VULKAN_HANDLE_H_
#define FLUTTER_VULKAN_PROCS_VULKAN_HANDLE_H_
#include <functional>
@@ -76,3 +77,5 @@ class VulkanHandle {
};
} // namespace vulkan
#endif // FLUTTER_VULKAN_PROCS_VULKAN_HANDLE_H_

View File

@@ -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_VULKAN_PROCS_VULKAN_INTERFACE_H_
#define FLUTTER_VULKAN_PROCS_VULKAN_INTERFACE_H_
#include <string>
@@ -46,3 +47,5 @@ namespace vulkan {
std::string VulkanResultToString(VkResult result);
} // namespace vulkan
#endif // FLUTTER_VULKAN_PROCS_VULKAN_INTERFACE_H_

View File

@@ -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_VULKAN_PROCS_VULKAN_PROC_TABLE_H_
#define FLUTTER_VULKAN_PROCS_VULKAN_PROC_TABLE_H_
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/ref_counted.h"
@@ -178,3 +179,5 @@ class VulkanProcTable : public fml::RefCountedThreadSafe<VulkanProcTable> {
};
} // namespace vulkan
#endif // FLUTTER_VULKAN_PROCS_VULKAN_PROC_TABLE_H_

View File

@@ -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_VULKAN_VULKAN_SKIA_PROC_TABLE_H_
#define FLUTTER_VULKAN_VULKAN_SKIA_PROC_TABLE_H_
#include "flutter/vulkan/procs/vulkan_proc_table.h"
@@ -13,3 +14,5 @@ namespace vulkan {
GrVkGetProc CreateSkiaGetProc(const fml::RefPtr<vulkan::VulkanProcTable>& vk);
} // namespace vulkan
#endif // FLUTTER_VULKAN_VULKAN_SKIA_PROC_TABLE_H_