Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_34031325
engine
提交
caf678d3
E
engine
项目概览
qq_34031325
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
caf678d3
编写于
11月 10, 2020
作者:
K
Kaushik Iska
提交者:
GitHub
11月 10, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move common graphics utils to //flutter/common/graphics (#22320)
上级
76e61585
变更
49
隐藏空白更改
内联
并排
Showing
49 changed file
with
98 addition
and
60 deletion
+98
-60
ci/licenses_golden/licenses_flutter
ci/licenses_golden/licenses_flutter
+6
-6
common/graphics/BUILD.gn
common/graphics/BUILD.gn
+30
-0
common/graphics/gl_context_switch.cc
common/graphics/gl_context_switch.cc
+1
-1
common/graphics/gl_context_switch.h
common/graphics/gl_context_switch.h
+3
-3
common/graphics/persistent_cache.cc
common/graphics/persistent_cache.cc
+1
-1
common/graphics/persistent_cache.h
common/graphics/persistent_cache.h
+3
-3
common/graphics/texture.cc
common/graphics/texture.cc
+1
-1
common/graphics/texture.h
common/graphics/texture.h
+3
-3
flow/BUILD.gn
flow/BUILD.gn
+6
-5
flow/compositor_context.h
flow/compositor_context.h
+1
-1
flow/gl_context_switch_unittests.cc
flow/gl_context_switch_unittests.cc
+1
-1
flow/layers/layer.h
flow/layers/layer.h
+1
-1
flow/layers/texture_layer.cc
flow/layers/texture_layer.cc
+1
-1
flow/surface.h
flow/surface.h
+1
-1
flow/surface_frame.h
flow/surface_frame.h
+1
-1
flow/testing/gl_context_switch_test.h
flow/testing/gl_context_switch_test.h
+1
-1
flow/testing/mock_texture.h
flow/testing/mock_texture.h
+1
-1
flow/texture_unittests.cc
flow/texture_unittests.cc
+1
-1
shell/common/BUILD.gn
shell/common/BUILD.gn
+3
-2
shell/common/persistent_cache_unittests.cc
shell/common/persistent_cache_unittests.cc
+1
-1
shell/common/platform_view.h
shell/common/platform_view.h
+1
-1
shell/common/rasterizer.cc
shell/common/rasterizer.cc
+1
-1
shell/common/run_configuration.cc
shell/common/run_configuration.cc
+1
-1
shell/common/shell.cc
shell/common/shell.cc
+1
-1
shell/common/shell.h
shell/common/shell.h
+1
-1
shell/common/shell_io_manager.cc
shell/common/shell_io_manager.cc
+1
-1
shell/common/shell_test.h
shell/common/shell_test.h
+1
-1
shell/common/shell_test_platform_view_vulkan.cc
shell/common/shell_test_platform_view_vulkan.cc
+1
-1
shell/common/shell_unittests.cc
shell/common/shell_unittests.cc
+1
-1
shell/common/skp_shader_warmup_unittests.cc
shell/common/skp_shader_warmup_unittests.cc
+1
-1
shell/gpu/BUILD.gn
shell/gpu/BUILD.gn
+1
-0
shell/gpu/gpu_surface_gl.cc
shell/gpu/gpu_surface_gl.cc
+1
-1
shell/gpu/gpu_surface_gl.h
shell/gpu/gpu_surface_gl.h
+1
-1
shell/gpu/gpu_surface_gl_delegate.h
shell/gpu/gpu_surface_gl_delegate.h
+1
-1
shell/platform/android/BUILD.gn
shell/platform/android/BUILD.gn
+1
-0
shell/platform/android/android_external_texture_gl.h
shell/platform/android/android_external_texture_gl.h
+1
-1
shell/platform/darwin/ios/BUILD.gn
shell/platform/darwin/ios/BUILD.gn
+1
-0
shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm
...tform/darwin/ios/framework/Source/FlutterPlatformViews.mm
+1
-1
shell/platform/darwin/ios/ios_context.h
shell/platform/darwin/ios/ios_context.h
+2
-2
shell/platform/darwin/ios/ios_context_metal.mm
shell/platform/darwin/ios/ios_context_metal.mm
+1
-1
shell/platform/darwin/ios/ios_external_texture_gl.h
shell/platform/darwin/ios/ios_external_texture_gl.h
+1
-1
shell/platform/darwin/ios/ios_external_texture_metal.h
shell/platform/darwin/ios/ios_external_texture_metal.h
+1
-1
shell/platform/darwin/ios/ios_switchable_gl_context.h
shell/platform/darwin/ios/ios_switchable_gl_context.h
+1
-1
shell/platform/embedder/BUILD.gn
shell/platform/embedder/BUILD.gn
+1
-0
shell/platform/embedder/embedder.cc
shell/platform/embedder/embedder.cc
+1
-1
shell/platform/embedder/embedder_external_texture_gl.h
shell/platform/embedder/embedder_external_texture_gl.h
+1
-1
shell/platform/fuchsia/flutter/BUILD.gn
shell/platform/fuchsia/flutter/BUILD.gn
+2
-0
shell/platform/fuchsia/flutter/engine.cc
shell/platform/fuchsia/flutter/engine.cc
+1
-1
shell/platform/fuchsia/flutter/tests/engine_unittests.cc
shell/platform/fuchsia/flutter/tests/engine_unittests.cc
+1
-1
未找到文件。
ci/licenses_golden/licenses_flutter
浏览文件 @
caf678d3
...
...
@@ -21,6 +21,12 @@ FILE: ../../../flutter/benchmarking/benchmarking.cc
FILE: ../../../flutter/benchmarking/benchmarking.h
FILE: ../../../flutter/common/constants.h
FILE: ../../../flutter/common/exported_symbols.sym
FILE: ../../../flutter/common/graphics/gl_context_switch.cc
FILE: ../../../flutter/common/graphics/gl_context_switch.h
FILE: ../../../flutter/common/graphics/persistent_cache.cc
FILE: ../../../flutter/common/graphics/persistent_cache.h
FILE: ../../../flutter/common/graphics/texture.cc
FILE: ../../../flutter/common/graphics/texture.h
FILE: ../../../flutter/common/settings.cc
FILE: ../../../flutter/common/settings.h
FILE: ../../../flutter/common/task_runners.cc
...
...
@@ -33,8 +39,6 @@ FILE: ../../../flutter/flow/embedded_views.h
FILE: ../../../flutter/flow/flow_run_all_unittests.cc
FILE: ../../../flutter/flow/flow_test_utils.cc
FILE: ../../../flutter/flow/flow_test_utils.h
FILE: ../../../flutter/flow/gl_context_switch.cc
FILE: ../../../flutter/flow/gl_context_switch.h
FILE: ../../../flutter/flow/gl_context_switch_unittests.cc
FILE: ../../../flutter/flow/instrumentation.cc
FILE: ../../../flutter/flow/instrumentation.h
...
...
@@ -115,8 +119,6 @@ FILE: ../../../flutter/flow/surface.cc
FILE: ../../../flutter/flow/surface.h
FILE: ../../../flutter/flow/surface_frame.cc
FILE: ../../../flutter/flow/surface_frame.h
FILE: ../../../flutter/flow/texture.cc
FILE: ../../../flutter/flow/texture.h
FILE: ../../../flutter/flow/texture_unittests.cc
FILE: ../../../flutter/flow/view_holder.cc
FILE: ../../../flutter/flow/view_holder.h
...
...
@@ -620,8 +622,6 @@ FILE: ../../../flutter/shell/common/engine_unittests.cc
FILE: ../../../flutter/shell/common/fixtures/shell_test.dart
FILE: ../../../flutter/shell/common/fixtures/shelltest_screenshot.png
FILE: ../../../flutter/shell/common/input_events_unittests.cc
FILE: ../../../flutter/shell/common/persistent_cache.cc
FILE: ../../../flutter/shell/common/persistent_cache.h
FILE: ../../../flutter/shell/common/persistent_cache_unittests.cc
FILE: ../../../flutter/shell/common/pipeline.cc
FILE: ../../../flutter/shell/common/pipeline.h
...
...
common/graphics/BUILD.gn
0 → 100644
浏览文件 @
caf678d3
# 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.
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
source_set("graphics") {
sources = [
"gl_context_switch.cc",
"gl_context_switch.h",
"persistent_cache.cc",
"persistent_cache.h",
"texture.cc",
"texture.h",
]
# Heed caution when adding targets to the dependencies. This is a minimal
# target containing graphics sources that embedders can depend on. Any
# additions here could result in added app sizes across embeddings.
deps = [
"//flutter/assets",
"//flutter/fml",
"//flutter/shell/version:version",
"//third_party/rapidjson",
"//third_party/skia",
]
public_configs = [ "//flutter:config" ]
}
flow
/gl_context_switch.cc
→
common/graphics
/gl_context_switch.cc
浏览文件 @
caf678d3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
namespace
flutter
{
...
...
flow
/gl_context_switch.h
→
common/graphics
/gl_context_switch.h
浏览文件 @
caf678d3
...
...
@@ -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
_GL_CONTEXT_SWITCH_H_
#define FLUTTER_
FLOW
_GL_CONTEXT_SWITCH_H_
#ifndef FLUTTER_
COMMON_GRAPHICS
_GL_CONTEXT_SWITCH_H_
#define FLUTTER_
COMMON_GRAPHICS
_GL_CONTEXT_SWITCH_H_
#include <functional>
#include <memory>
...
...
@@ -111,4 +111,4 @@ class GLContextSwitch final : public GLContextResult {
}
// namespace flutter
#endif // FLUTTER_
FLOW
_GL_CONTEXT_SWITCH_H_
#endif // FLUTTER_
COMMON_GRAPHICS
_GL_CONTEXT_SWITCH_H_
shell/common
/persistent_cache.cc
→
common/graphics
/persistent_cache.cc
浏览文件 @
caf678d3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/
shell/common
/persistent_cache.h"
#include "flutter/
common/graphics
/persistent_cache.h"
#include <future>
#include <memory>
...
...
shell/common
/persistent_cache.h
→
common/graphics
/persistent_cache.h
浏览文件 @
caf678d3
...
...
@@ -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_COMMON
_PERSISTENT_CACHE_H_
#define FLUTTER_
SHELL_COMMON
_PERSISTENT_CACHE_H_
#ifndef FLUTTER_
COMMON_GRAPHICS
_PERSISTENT_CACHE_H_
#define FLUTTER_
COMMON_GRAPHICS
_PERSISTENT_CACHE_H_
#include <memory>
#include <mutex>
...
...
@@ -134,4 +134,4 @@ class PersistentCache : public GrContextOptions::PersistentCache {
}
// namespace flutter
#endif // FLUTTER_
SHELL_COMMON
_PERSISTENT_CACHE_H_
#endif // FLUTTER_
COMMON_GRAPHICS
_PERSISTENT_CACHE_H_
flow
/texture.cc
→
common/graphics
/texture.cc
浏览文件 @
caf678d3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
namespace
flutter
{
...
...
flow
/texture.h
→
common/graphics
/texture.h
浏览文件 @
caf678d3
...
...
@@ -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
_TEXTURE_H_
#define FLUTTER_
FLOW
_TEXTURE_H_
#ifndef FLUTTER_
COMMON_GRAPHICS
_TEXTURE_H_
#define FLUTTER_
COMMON_GRAPHICS
_TEXTURE_H_
#include <map>
...
...
@@ -74,4 +74,4 @@ class TextureRegistry {
}
// namespace flutter
#endif // FLUTTER_
FLOW
_TEXTURE_H_
#endif // FLUTTER_
COMMON_GRAPHICS
_TEXTURE_H_
flow/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -12,8 +12,6 @@ source_set("flow") {
"compositor_context.h",
"embedded_views.cc",
"embedded_views.h",
"gl_context_switch.cc",
"gl_context_switch.h",
"instrumentation.cc",
"instrumentation.h",
"layers/backdrop_filter_layer.cc",
...
...
@@ -66,14 +64,13 @@ source_set("flow") {
"surface.h",
"surface_frame.cc",
"surface_frame.h",
"texture.cc",
"texture.h",
]
public_configs = [ "//flutter:config" ]
deps = [
"//flutter/common",
"//flutter/common/graphics",
"//flutter/fml",
"//third_party/skia",
]
...
...
@@ -124,7 +121,10 @@ if (enable_unittests) {
"//third_party/googletest:gtest",
]
deps = [ ":flow" ]
deps = [
":flow",
"//flutter/common/graphics",
]
}
executable("flow_unittests") {
...
...
@@ -167,6 +167,7 @@ if (enable_unittests) {
":flow",
":flow_fixtures",
":flow_testing",
"//flutter/common/graphics",
"//flutter/fml",
"//flutter/testing:skia",
"//flutter/testing:testing_lib",
...
...
flow/compositor_context.h
浏览文件 @
caf678d3
...
...
@@ -8,10 +8,10 @@
#include <memory>
#include <string>
#include "flutter/common/graphics/texture.h"
#include "flutter/flow/embedded_views.h"
#include "flutter/flow/instrumentation.h"
#include "flutter/flow/raster_cache.h"
#include "flutter/flow/texture.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/raster_thread_merger.h"
#include "third_party/skia/include/core/SkCanvas.h"
...
...
flow/gl_context_switch_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
#include <functional>
#include <future>
...
...
flow/layers/layer.h
浏览文件 @
caf678d3
...
...
@@ -8,10 +8,10 @@
#include <memory>
#include <vector>
#include "flutter/common/graphics/texture.h"
#include "flutter/flow/embedded_views.h"
#include "flutter/flow/instrumentation.h"
#include "flutter/flow/raster_cache.h"
#include "flutter/flow/texture.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/logging.h"
...
...
flow/layers/texture_layer.cc
浏览文件 @
caf678d3
...
...
@@ -4,7 +4,7 @@
#include "flutter/flow/layers/texture_layer.h"
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
namespace
flutter
{
...
...
flow/surface.h
浏览文件 @
caf678d3
...
...
@@ -7,8 +7,8 @@
#include <memory>
#include "flutter/common/graphics/gl_context_switch.h"
#include "flutter/flow/embedded_views.h"
#include "flutter/flow/gl_context_switch.h"
#include "flutter/flow/surface_frame.h"
#include "flutter/fml/macros.h"
...
...
flow/surface_frame.h
浏览文件 @
caf678d3
...
...
@@ -7,7 +7,7 @@
#include <memory>
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
#include "flutter/fml/macros.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkSurface.h"
...
...
flow/testing/gl_context_switch_test.h
浏览文件 @
caf678d3
...
...
@@ -5,7 +5,7 @@
#ifndef FLUTTER_SHELL_RENDERER_CONTEXT_TEST_H_
#define FLUTTER_SHELL_RENDERER_CONTEXT_TEST_H_
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
#include "gtest/gtest.h"
namespace
flutter
{
...
...
flow/testing/mock_texture.h
浏览文件 @
caf678d3
...
...
@@ -5,7 +5,7 @@
#include <ostream>
#include <vector>
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/testing/assertions_skia.h"
namespace
flutter
{
...
...
flow/texture_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/flow/testing/mock_texture.h"
#include "gtest/gtest.h"
...
...
shell/common/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -69,8 +69,6 @@ source_set("common") {
"display_manager.h",
"engine.cc",
"engine.h",
"persistent_cache.cc",
"persistent_cache.h",
"pipeline.cc",
"pipeline.h",
"platform_view.cc",
...
...
@@ -111,6 +109,7 @@ source_set("common") {
deps = [
"//flutter/assets",
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/lib/ui",
...
...
@@ -189,6 +188,7 @@ if (enable_unittests) {
]
public_deps = [
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml/dart",
"//flutter/runtime",
...
...
@@ -253,6 +253,7 @@ if (enable_unittests) {
":shell_test_fixture_sources",
":shell_unittests_fixtures",
"//flutter/assets",
"//flutter/common/graphics",
"//flutter/shell/version",
"//third_party/googletest:gmock",
]
...
...
shell/common/persistent_cache_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/
shell/common
/persistent_cache.h"
#include "flutter/
common/graphics
/persistent_cache.h"
#include <memory>
...
...
shell/common/platform_view.h
浏览文件 @
caf678d3
...
...
@@ -8,9 +8,9 @@
#include <memory>
#include "flow/embedded_views.h"
#include "flutter/common/graphics/texture.h"
#include "flutter/common/task_runners.h"
#include "flutter/flow/surface.h"
#include "flutter/flow/texture.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/weak_ptr.h"
#include "flutter/lib/ui/semantics/custom_accessibility_action.h"
...
...
shell/common/rasterizer.cc
浏览文件 @
caf678d3
...
...
@@ -6,9 +6,9 @@
#include <utility>
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/time/time_delta.h"
#include "flutter/fml/time/time_point.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/serialization_callbacks.h"
#include "third_party/skia/include/core/SkEncodedImageFormat.h"
#include "third_party/skia/include/core/SkImageEncoder.h"
...
...
shell/common/run_configuration.cc
浏览文件 @
caf678d3
...
...
@@ -7,10 +7,10 @@
#include <sstream>
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/file.h"
#include "flutter/fml/unique_fd.h"
#include "flutter/runtime/dart_vm.h"
#include "flutter/shell/common/persistent_cache.h"
namespace
flutter
{
...
...
shell/common/shell.cc
浏览文件 @
caf678d3
...
...
@@ -10,6 +10,7 @@
#include <vector>
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/file.h"
#include "flutter/fml/icu_util.h"
#include "flutter/fml/log_settings.h"
...
...
@@ -21,7 +22,6 @@
#include "flutter/fml/unique_fd.h"
#include "flutter/runtime/dart_vm.h"
#include "flutter/shell/common/engine.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/skia_event_tracer_impl.h"
#include "flutter/shell/common/switches.h"
#include "flutter/shell/common/vsync_waiter.h"
...
...
shell/common/shell.h
浏览文件 @
caf678d3
...
...
@@ -11,10 +11,10 @@
#include <unordered_map>
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/common/graphics/texture.h"
#include "flutter/common/settings.h"
#include "flutter/common/task_runners.h"
#include "flutter/flow/surface.h"
#include "flutter/flow/texture.h"
#include "flutter/fml/closure.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/ref_ptr.h"
...
...
shell/common/shell_io_manager.cc
浏览文件 @
caf678d3
...
...
@@ -4,9 +4,9 @@
#include "flutter/shell/common/shell_io_manager.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/message_loop.h"
#include "flutter/shell/common/persistent_cache.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
namespace
flutter
{
...
...
shell/common/shell_test.h
浏览文件 @
caf678d3
...
...
@@ -9,13 +9,13 @@
#include <memory>
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/common/settings.h"
#include "flutter/flow/layers/container_layer.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/time/time_point.h"
#include "flutter/lib/ui/window/platform_message.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/run_configuration.h"
#include "flutter/shell/common/shell_test_external_view_embedder.h"
#include "flutter/shell/common/thread_host.h"
...
...
shell/common/shell_test_platform_view_vulkan.cc
浏览文件 @
caf678d3
...
...
@@ -4,7 +4,7 @@
#include "flutter/shell/common/shell_test_platform_view_vulkan.h"
#include "flutter/
shell/common
/persistent_cache.h"
#include "flutter/
common/graphics
/persistent_cache.h"
#include "flutter/vulkan/vulkan_utilities.h"
namespace
flutter
{
...
...
shell/common/shell_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -11,6 +11,7 @@
#include <memory>
#include "assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/flow/layers/picture_layer.h"
#include "flutter/flow/layers/transform_layer.h"
...
...
@@ -21,7 +22,6 @@
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/runtime/dart_vm.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/platform_view.h"
#include "flutter/shell/common/rasterizer.h"
#include "flutter/shell/common/shell_test.h"
...
...
shell/common/skp_shader_warmup_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -5,6 +5,7 @@
#include <memory>
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/flow/layers/container_layer.h"
#include "flutter/flow/layers/layer.h"
#include "flutter/flow/layers/physical_shape_layer.h"
...
...
@@ -13,7 +14,6 @@
#include "flutter/fml/file.h"
#include "flutter/fml/log_settings.h"
#include "flutter/fml/unique_fd.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/serialization_callbacks.h"
#include "flutter/shell/common/shell_test.h"
#include "flutter/shell/common/switches.h"
...
...
shell/gpu/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -7,6 +7,7 @@ import("//flutter/shell/config.gni")
gpu_common_deps = [
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/shell/common",
...
...
shell/gpu/gpu_surface_gl.cc
浏览文件 @
caf678d3
...
...
@@ -4,11 +4,11 @@
#include "flutter/shell/gpu/gpu_surface_gl.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/base32.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/size.h"
#include "flutter/fml/trace_event.h"
#include "flutter/shell/common/persistent_cache.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
...
...
shell/gpu/gpu_surface_gl.h
浏览文件 @
caf678d3
...
...
@@ -8,8 +8,8 @@
#include <functional>
#include <memory>
#include "flutter/common/graphics/gl_context_switch.h"
#include "flutter/flow/embedded_views.h"
#include "flutter/flow/gl_context_switch.h"
#include "flutter/flow/surface.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/weak_ptr.h"
...
...
shell/gpu/gpu_surface_gl_delegate.h
浏览文件 @
caf678d3
...
...
@@ -5,8 +5,8 @@
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_GL_DELEGATE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_GL_DELEGATE_H_
#include "flutter/common/graphics/gl_context_switch.h"
#include "flutter/flow/embedded_views.h"
#include "flutter/flow/gl_context_switch.h"
#include "flutter/fml/macros.h"
#include "flutter/shell/gpu/gpu_surface_delegate.h"
#include "third_party/skia/include/core/SkMatrix.h"
...
...
shell/platform/android/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -55,6 +55,7 @@ shared_library("flutter_shell_native") {
":icudtl_object",
"//flutter/assets",
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/lib/ui",
...
...
shell/platform/android/android_external_texture_gl.h
浏览文件 @
caf678d3
...
...
@@ -7,7 +7,7 @@
#include <GLES/gl.h>
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/fml/platform/android/jni_weak_ref.h"
#include "flutter/shell/platform/android/platform_view_android_jni_impl.h"
...
...
shell/platform/darwin/ios/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -133,6 +133,7 @@ source_set("flutter_framework_source") {
deps = [
":ios_gpu_configuration",
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/lib/ui",
...
...
shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm
浏览文件 @
caf678d3
...
...
@@ -9,9 +9,9 @@
#include <memory>
#include <string>
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/flow/rtree.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#include "flutter/shell/common/persistent_cache.h"
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterOverlayView.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.h"
...
...
shell/platform/darwin/ios/ios_context.h
浏览文件 @
caf678d3
...
...
@@ -7,8 +7,8 @@
#include <memory>
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h"
...
...
shell/platform/darwin/ios/ios_context_metal.mm
浏览文件 @
caf678d3
...
...
@@ -4,8 +4,8 @@
#import "flutter/shell/platform/darwin/ios/ios_context_metal.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/logging.h"
#include "flutter/shell/common/persistent_cache.h"
#import "flutter/shell/platform/darwin/ios/ios_external_texture_metal.h"
#include "third_party/skia/include/gpu/GrContextOptions.h"
...
...
shell/platform/darwin/ios/ios_external_texture_gl.h
浏览文件 @
caf678d3
...
...
@@ -5,7 +5,7 @@
#ifndef FLUTTER_SHELL_PLATFORM_IOS_EXTERNAL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_IOS_EXTERNAL_TEXTURE_GL_H_
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/fml/platform/darwin/cf_utils.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h"
...
...
shell/platform/darwin/ios/ios_external_texture_metal.h
浏览文件 @
caf678d3
...
...
@@ -9,7 +9,7 @@
#import <CoreVideo/CoreVideo.h>
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/platform/darwin/cf_utils.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
...
...
shell/platform/darwin/ios/ios_switchable_gl_context.h
浏览文件 @
caf678d3
...
...
@@ -5,7 +5,7 @@
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SWITCHABLE_GL_CONTEXT_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SWITCHABLE_GL_CONTEXT_H_
#include "flutter/
flow
/gl_context_switch.h"
#include "flutter/
common/graphics
/gl_context_switch.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/thread_checker.h"
#include "flutter/fml/memory/weak_ptr.h"
...
...
shell/platform/embedder/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -76,6 +76,7 @@ template("embedder_source_set") {
":embedder_gpu_configuration",
"//flutter/assets",
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/lib/ui",
...
...
shell/platform/embedder/embedder.cc
浏览文件 @
caf678d3
...
...
@@ -36,6 +36,7 @@ extern const intptr_t kPlatformStrongDillSize;
}
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/common/task_runners.h"
#include "flutter/fml/command_line.h"
#include "flutter/fml/file.h"
...
...
@@ -43,7 +44,6 @@ extern const intptr_t kPlatformStrongDillSize;
#include "flutter/fml/message_loop.h"
#include "flutter/fml/paths.h"
#include "flutter/fml/trace_event.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/rasterizer.h"
#include "flutter/shell/common/switches.h"
#include "flutter/shell/platform/embedder/embedder.h"
...
...
shell/platform/embedder/embedder_external_texture_gl.h
浏览文件 @
caf678d3
...
...
@@ -5,7 +5,7 @@
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_GL_H_
#include "flutter/
flow
/texture.h"
#include "flutter/
common/graphics
/texture.h"
#include "flutter/fml/macros.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSize.h"
...
...
shell/platform/fuchsia/flutter/BUILD.gn
浏览文件 @
caf678d3
...
...
@@ -104,6 +104,7 @@ template("runner_sources") {
# The use of these dependencies is temporary and will be moved behind the
# embedder API.
flutter_public_deps = [
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/lib/ui",
"//flutter/runtime",
...
...
@@ -460,6 +461,7 @@ executable("flutter_runner_unittests") {
# embedder API.
flutter_deps = [
"//flutter/assets:assets",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/lib/ui",
"//flutter/shell/common",
...
...
shell/platform/fuchsia/flutter/engine.cc
浏览文件 @
caf678d3
...
...
@@ -9,12 +9,12 @@
#include "../runtime/dart/utils/files.h"
#include "flow/embedded_views.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/common/task_runners.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/fml/task_runner.h"
#include "flutter/runtime/dart_vm_lifecycle.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/rasterizer.h"
#include "flutter/shell/common/run_configuration.h"
#include "flutter/shell/common/serialization_callbacks.h"
...
...
shell/platform/fuchsia/flutter/tests/engine_unittests.cc
浏览文件 @
caf678d3
...
...
@@ -9,10 +9,10 @@
#include <lib/sys/cpp/component_context.h>
#include "assets/directory_asset_bundle.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/memory/ref_ptr.h"
#include "flutter/fml/message_loop_impl.h"
#include "flutter/fml/task_runner.h"
#include "flutter/shell/common/persistent_cache.h"
#include "flutter/shell/common/serialization_callbacks.h"
#include "flutter/shell/platform/fuchsia/flutter/logging.h"
#include "flutter/shell/platform/fuchsia/flutter/runner.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录