text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// 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. #ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_PROVIDER_H_ #define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_PROVIDER_H_ #include <utility> #inc...
engine/display_list/testing/dl_test_surface_provider.h/0
{ "file_path": "engine/display_list/testing/dl_test_surface_provider.h", "repo_id": "engine", "token_count": 1328 }
154
#!/bin/bash set -e # Exit if any program returns an error. ################################################################# # Make the host C++ project. ################################################################# if [ ! -d debug ]; then mkdir debug fi cd debug cmake -DCMAKE_BUILD_TYPE=Debug .. make #######...
engine/examples/glfw_drm/run.sh/0
{ "file_path": "engine/examples/glfw_drm/run.sh", "repo_id": "engine", "token_count": 282 }
155
// 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. #include "flutter/fml/backtrace.h" #include "flutter/fml/build_config.h" #include "flutter/fml/command_line.h" #include "flutter/fml/logging.h" #include "g...
engine/flow/flow_run_all_unittests.cc/0
{ "file_path": "engine/flow/flow_run_all_unittests.cc", "repo_id": "engine", "token_count": 362 }
156
// 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. #ifndef FLUTTER_FLOW_LAYERS_CLIP_PATH_LAYER_H_ #define FLUTTER_FLOW_LAYERS_CLIP_PATH_LAYER_H_ #include "flutter/flow/layers/clip_shape_layer.h" namespace...
engine/flow/layers/clip_path_layer.h/0
{ "file_path": "engine/flow/layers/clip_path_layer.h", "repo_id": "engine", "token_count": 295 }
157
// 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. #ifndef FLUTTER_FLOW_LAYERS_DISPLAY_LIST_LAYER_H_ #define FLUTTER_FLOW_LAYERS_DISPLAY_LIST_LAYER_H_ #include <memory> #include "flutter/display_list/disp...
engine/flow/layers/display_list_layer.h/0
{ "file_path": "engine/flow/layers/display_list_layer.h", "repo_id": "engine", "token_count": 725 }
158
// 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. #include <stddef.h> #include "flutter/flow/layers/layer_tree.h" #include "flutter/flow/compositor_context.h" #include "flutter/flow/layers/container_layer...
engine/flow/layers/layer_tree_unittests.cc/0
{ "file_path": "engine/flow/layers/layer_tree_unittests.cc", "repo_id": "engine", "token_count": 4859 }
159
// 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. #include "flutter/flow/layers/texture_layer.h" #include "flutter/common/graphics/texture.h" namespace flutter { TextureLayer::TextureLayer(const SkPoint...
engine/flow/layers/texture_layer.cc/0
{ "file_path": "engine/flow/layers/texture_layer.cc", "repo_id": "engine", "token_count": 979 }
160
// 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. #include "flutter/display_list/benchmarking/dl_complexity.h" #include "flutter/display_list/display_list.h" #include "flutter/display_list/dl_builder.h" #i...
engine/flow/raster_cache_unittests.cc/0
{ "file_path": "engine/flow/raster_cache_unittests.cc", "repo_id": "engine", "token_count": 17094 }
161
// 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. #ifndef FLUTTER_FLOW_SURFACE_FRAME_H_ #define FLUTTER_FLOW_SURFACE_FRAME_H_ #include <memory> #include <optional> #include "flutter/common/graphics/gl_co...
engine/flow/surface_frame.h/0
{ "file_path": "engine/flow/surface_frame.h", "repo_id": "engine", "token_count": 1376 }
162
// 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. #include "flutter/flow/testing/mock_texture.h" #include "flutter/display_list/dl_builder.h" #include "flutter/testing/display_list_testing.h" #include "gt...
engine/flow/testing/mock_texture_unittests.cc/0
{ "file_path": "engine/flow/testing/mock_texture_unittests.cc", "repo_id": "engine", "token_count": 967 }
163
// 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. #include "flutter/fml/ascii_trie.h" #include "flutter/fml/logging.h" namespace fml { typedef AsciiTrie::TrieNode TrieNode; typedef AsciiTrie::TrieNodePtr...
engine/fml/ascii_trie.cc/0
{ "file_path": "engine/fml/ascii_trie.cc", "repo_id": "engine", "token_count": 502 }
164
// 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. #ifndef FLUTTER_FML_COMPILER_SPECIFIC_H_ #define FLUTTER_FML_COMPILER_SPECIFIC_H_ #if !defined(__GNUC__) && !defined(__clang__) && !defined(_MSC_VER) #err...
engine/fml/compiler_specific.h/0
{ "file_path": "engine/fml/compiler_specific.h", "repo_id": "engine", "token_count": 345 }
165
// 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. #ifndef FLUTTER_FML_FILE_H_ #define FLUTTER_FML_FILE_H_ #include <functional> #include <initializer_list> #include <string> #include <vector> #include "f...
engine/fml/file.h/0
{ "file_path": "engine/fml/file.h", "repo_id": "engine", "token_count": 1915 }
166
// 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. #ifndef FLUTTER_FML_MACROS_H_ #define FLUTTER_FML_MACROS_H_ #ifndef FML_USED_ON_EMBEDDER #define FML_EMBEDDER_ONLY [[deprecated]] #else // FML_USED_ON_...
engine/fml/macros.h/0
{ "file_path": "engine/fml/macros.h", "repo_id": "engine", "token_count": 581 }
167
// 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. // A class for checking that the current thread is/isn't the same as an initial // thread. #ifndef FLUTTER_FML_MEMORY_THREAD_CHECKER_H_ #define FLUTTER_FM...
engine/fml/memory/thread_checker.h/0
{ "file_path": "engine/fml/memory/thread_checker.h", "repo_id": "engine", "token_count": 1212 }
168
// 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. #include "flutter/fml/paths.h" #include <sstream> #include "flutter/fml/build_config.h" namespace fml { namespace paths { std::string JoinPaths(std::in...
engine/fml/paths.cc/0
{ "file_path": "engine/fml/paths.cc", "repo_id": "engine", "token_count": 618 }
169
// 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. #ifndef FLUTTER_FML_PLATFORM_DARWIN_CF_UTILS_H_ #define FLUTTER_FML_PLATFORM_DARWIN_CF_UTILS_H_ #include <CoreFoundation/CoreFoundation.h> #include "flut...
engine/fml/platform/darwin/cf_utils.h/0
{ "file_path": "engine/fml/platform/darwin/cf_utils.h", "repo_id": "engine", "token_count": 560 }
170
// 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. #ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ #define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ namespace fml { namespace scoped_policy { // De...
engine/fml/platform/darwin/scoped_policy.h/0
{ "file_path": "engine/fml/platform/darwin/scoped_policy.h", "repo_id": "engine", "token_count": 239 }
171
// 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. #include "flutter/fml/file.h" #include "flutter/fml/paths.h" namespace fml { namespace paths { std::pair<bool, std::string> GetExecutablePath() { retur...
engine/fml/platform/fuchsia/paths_fuchsia.cc/0
{ "file_path": "engine/fml/platform/fuchsia/paths_fuchsia.cc", "repo_id": "engine", "token_count": 158 }
172
// 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. #ifndef FLUTTER_FML_PLATFORM_POSIX_SHARED_MUTEX_POSIX_H_ #define FLUTTER_FML_PLATFORM_POSIX_SHARED_MUTEX_POSIX_H_ #include <shared_mutex> #include "flutt...
engine/fml/platform/posix/shared_mutex_posix.h/0
{ "file_path": "engine/fml/platform/posix/shared_mutex_posix.h", "repo_id": "engine", "token_count": 265 }
173
// 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. #ifndef FLUTTER_FML_POSIX_WRAPPERS_H_ #define FLUTTER_FML_POSIX_WRAPPERS_H_ #include "flutter/fml/build_config.h" // Provides wrappers for POSIX function...
engine/fml/posix_wrappers.h/0
{ "file_path": "engine/fml/posix_wrappers.h", "repo_id": "engine", "token_count": 222 }
174
// 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. #include "flutter/fml/synchronization/count_down_latch.h" #include <chrono> #include <thread> #include "flutter/fml/build_config.h" #include "flutter/fml...
engine/fml/synchronization/count_down_latch_unittests.cc/0
{ "file_path": "engine/fml/synchronization/count_down_latch_unittests.cc", "repo_id": "engine", "token_count": 430 }
175
// 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. #define FML_USED_ON_EMBEDDER #include "flutter/fml/task_source.h" namespace fml { TaskSource::TaskSource(TaskQueueId task_queue_id) : task_queue_id_...
engine/fml/task_source.cc/0
{ "file_path": "engine/fml/task_source.cc", "repo_id": "engine", "token_count": 1001 }
176
// 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. #include "flutter/fml/trace_event.h" #include <algorithm> #include <atomic> #include <utility> #include "flutter/fml/ascii_trie.h" #include "flutter/fml/...
engine/fml/trace_event.cc/0
{ "file_path": "engine/fml/trace_event.cc", "repo_id": "engine", "token_count": 12655 }
177
// 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. #include "impeller/aiks/aiks_playground.h" #include <memory> #include "impeller/aiks/aiks_context.h" #include "impeller/typographer/backends/skia/typogra...
engine/impeller/aiks/aiks_playground.cc/0
{ "file_path": "engine/impeller/aiks/aiks_playground.cc", "repo_id": "engine", "token_count": 702 }
178
// 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. #ifndef FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_ #define FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_ #include <functional> #include <memory> #include <vector> #in...
engine/impeller/aiks/color_source.h/0
{ "file_path": "engine/impeller/aiks/color_source.h", "repo_id": "engine", "token_count": 2016 }
179
// 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. #include "impeller/aiks/trace_serializer.h" #include "flutter/fml/logging.h" namespace impeller { namespace { class ImageFilterTraceVisitor : public Ima...
engine/impeller/aiks/trace_serializer.cc/0
{ "file_path": "engine/impeller/aiks/trace_serializer.cc", "repo_id": "engine", "token_count": 3268 }
180
// 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. #ifndef FLUTTER_IMPELLER_BASE_STRINGS_H_ #define FLUTTER_IMPELLER_BASE_STRINGS_H_ #include <string> #include "impeller/base/config.h" namespace impeller...
engine/impeller/base/strings.h/0
{ "file_path": "engine/impeller/base/strings.h", "repo_id": "engine", "token_count": 245 }
181
// 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. #ifndef FLUTTER_IMPELLER_COMPILER_COMPILER_BACKEND_H_ #define FLUTTER_IMPELLER_COMPILER_COMPILER_BACKEND_H_ #include <cstdint> #include <memory> #include ...
engine/impeller/compiler/compiler_backend.h/0
{ "file_path": "engine/impeller/compiler/compiler_backend.h", "repo_id": "engine", "token_count": 717 }
182
// 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. #ifndef FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_ #define FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_ #include "impeller/compiler/source_options.h" #inclu...
engine/impeller/compiler/shader_bundle.h/0
{ "file_path": "engine/impeller/compiler/shader_bundle.h", "repo_id": "engine", "token_count": 521 }
183
// 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. #ifndef GRADIENT_GLSL_ #define GRADIENT_GLSL_ #include <impeller/texture.glsl> #include <impeller/transform.glsl> mat3 IPMapToUnitX(vec2 p0, vec2 p1) { ...
engine/impeller/compiler/shader_lib/impeller/gradient.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/gradient.glsl", "repo_id": "engine", "token_count": 2098 }
184
// 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. #include "impeller/compiler/types.h" #include <cctype> #include <filesystem> #include <sstream> #include "flutter/fml/logging.h" #include "impeller/compi...
engine/impeller/compiler/types.cc/0
{ "file_path": "engine/impeller/compiler/types.cc", "repo_id": "engine", "token_count": 3492 }
185
// 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. #include "impeller/core/sampler_descriptor.h" #include "fml/logging.h" namespace impeller { SamplerDescriptor::SamplerDescriptor() = default; SamplerDe...
engine/impeller/core/sampler_descriptor.cc/0
{ "file_path": "engine/impeller/core/sampler_descriptor.cc", "repo_id": "engine", "token_count": 315 }
186
// 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. #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_ #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_ #include "flutter/display_list/display_list....
engine/impeller/display_list/dl_playground.h/0
{ "file_path": "engine/impeller/display_list/dl_playground.h", "repo_id": "engine", "token_count": 388 }
187
# Writing efficient shaders When it comes to optimizing shaders for a wide range of devices, there is no perfect strategy. The reality of different drivers written by different vendors targeting different hardware is that they will vary in behavior. Any attempt at optimizing against a specific driver will likely resul...
engine/impeller/docs/shader_optimization.md/0
{ "file_path": "engine/impeller/docs/shader_optimization.md", "repo_id": "engine", "token_count": 2908 }
188
// 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. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_COLOR_SOURCE_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_COLOR_SOURCE_CONTENTS_H_ #include "fml/logging....
engine/impeller/entity/contents/color_source_contents.h/0
{ "file_path": "engine/impeller/entity/contents/color_source_contents.h", "repo_id": "engine", "token_count": 3368 }
189
// 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. #include "impeller/entity/contents/filters/filter_contents.h" #include <algorithm> #include <cmath> #include <cstddef> #include <memory> #include <optiona...
engine/impeller/entity/contents/filters/filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/filter_contents.cc", "repo_id": "engine", "token_count": 3480 }
190
// 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. #include "impeller/entity/contents/filters/linear_to_srgb_filter_contents.h" #include "impeller/entity/contents/anonymous_contents.h" #include "impeller/e...
engine/impeller/entity/contents/filters/linear_to_srgb_filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/linear_to_srgb_filter_contents.cc", "repo_id": "engine", "token_count": 1377 }
191
// 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. #include "flutter/testing/testing.h" #include "impeller/core/host_buffer.h" #include "impeller/entity/entity_playground.h" namespace impeller { namespace ...
engine/impeller/entity/contents/host_buffer_unittests.cc/0
{ "file_path": "engine/impeller/entity/contents/host_buffer_unittests.cc", "repo_id": "engine", "token_count": 1846 }
192
// 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. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_CONTENTS_TEST_HELPERS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_CONTENTS_TEST_HELPERS_H_ #include "im...
engine/impeller/entity/contents/test/contents_test_helpers.h/0
{ "file_path": "engine/impeller/entity/contents/test/contents_test_helpers.h", "repo_id": "engine", "token_count": 899 }
193
// 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. #ifndef FLUTTER_IMPELLER_ENTITY_ENTITY_PASS_H_ #define FLUTTER_IMPELLER_ENTITY_ENTITY_PASS_H_ #include <cstdint> #include <functional> #include <memory> #...
engine/impeller/entity/entity_pass.h/0
{ "file_path": "engine/impeller/entity/entity_pass.h", "repo_id": "engine", "token_count": 6862 }
194
// 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. #include "impeller/entity/inline_pass_context.h" #include <utility> #include "flutter/fml/status.h" #include "impeller/base/allocation.h" #include "impel...
engine/impeller/entity/inline_pass_context.cc/0
{ "file_path": "engine/impeller/entity/inline_pass_context.cc", "repo_id": "engine", "token_count": 2451 }
195
// 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. #include <impeller/texture.glsl> #include <impeller/types.glsl> // Unused, see See PointFieldGeometry::GetPositionBuffer layout(local_size_x = 16) in; la...
engine/impeller/entity/shaders/geometry/uv.comp/0
{ "file_path": "engine/impeller/entity/shaders/geometry/uv.comp", "repo_id": "engine", "token_count": 601 }
196
// 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. #include <impeller/types.glsl> uniform FrameInfo { mat4 mvp; float depth; } frame_info; in vec2 position; // Note: The GLES backend uses name matchin...
engine/impeller/entity/shaders/runtime_effect.vert/0
{ "file_path": "engine/impeller/entity/shaders/runtime_effect.vert", "repo_id": "engine", "token_count": 220 }
197
# 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/impeller/tools/impeller.gni") import("//flutter/testing/testing.gni") impeller_shaders("shader_fixtures") { name = "fixtures" # 2.3 ad...
engine/impeller/fixtures/BUILD.gn/0
{ "file_path": "engine/impeller/fixtures/BUILD.gn", "repo_id": "engine", "token_count": 2017 }
198
// 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. uniform FragInfo { float lod; } frag_info; uniform sampler2D tex; in vec2 v_uv; out vec4 frag_color; void main() { frag_color = textureLod(tex, v_u...
engine/impeller/fixtures/mipmaps.frag/0
{ "file_path": "engine/impeller/fixtures/mipmaps.frag", "repo_id": "engine", "token_count": 120 }
199
// 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. #include "impeller/geometry/matrix.h" #include <climits> #include <sstream> namespace impeller { Matrix::Matrix(const MatrixDecomposition& d) : Matrix()...
engine/impeller/geometry/matrix.cc/0
{ "file_path": "engine/impeller/geometry/matrix.cc", "repo_id": "engine", "token_count": 6077 }
200
// 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. #include "flutter/impeller/golden_tests/metal_screenshotter.h" #include <CoreImage/CoreImage.h> #include "impeller/renderer/backend/metal/context_mtl.h" #...
engine/impeller/golden_tests/metal_screenshotter.mm/0
{ "file_path": "engine/impeller/golden_tests/metal_screenshotter.mm", "repo_id": "engine", "token_count": 819 }
201
// 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. #ifndef FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_SWIFTSHADER_UTILITIES_H_ #define FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_SWIFTSHADER_UTILITIES_H_ na...
engine/impeller/playground/backend/vulkan/swiftshader_utilities.h/0
{ "file_path": "engine/impeller/playground/backend/vulkan/swiftshader_utilities.h", "repo_id": "engine", "token_count": 382 }
202
// 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. #include <array> #include <memory> #include <optional> #include <sstream> #include "fml/time/time_point.h" #include "impeller/playground/image/backends/sk...
engine/impeller/playground/playground.cc/0
{ "file_path": "engine/impeller/playground/playground.cc", "repo_id": "engine", "token_count": 6175 }
203
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BLIT_COMMAND_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BLIT_COMMAND_GLES_H_ #include "impeller...
engine/impeller/renderer/backend/gles/blit_command_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/blit_command_gles.h", "repo_id": "engine", "token_count": 621 }
204
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_FORMATS_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_FORMATS_GLES_H_ #include <optional> #includ...
engine/impeller/renderer/backend/gles/formats_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/formats_gles.h", "repo_id": "engine", "token_count": 2388 }
205
// 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. #include "impeller/renderer/backend/gles/sampler_gles.h" #include "impeller/base/validation.h" #include "impeller/core/formats.h" #include "impeller/rende...
engine/impeller/renderer/backend/gles/sampler_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/sampler_gles.cc", "repo_id": "engine", "token_count": 1538 }
206
// 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. #include "flutter/testing/testing.h" // IWYU pragma: keep #include "gtest/gtest.h" #include "impeller/renderer/backend/gles/proc_table_gles.h" #include "i...
engine/impeller/renderer/backend/gles/test/mock_gles_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/test/mock_gles_unittests.cc", "repo_id": "engine", "token_count": 568 }
207
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMPUTE_PASS_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMPUTE_PASS_MTL_H_ #include <Metal/Me...
engine/impeller/renderer/backend/metal/compute_pass_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/compute_pass_mtl.h", "repo_id": "engine", "token_count": 992 }
208
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_LIBRARY_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_LIBRARY_MTL_H_ #include <...
engine/impeller/renderer/backend/metal/pipeline_library_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/pipeline_library_mtl.h", "repo_id": "engine", "token_count": 516 }
209
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_MTL_H_ #include <Metal/Metal.h> #i...
engine/impeller/renderer/backend/metal/texture_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/texture_mtl.h", "repo_id": "engine", "token_count": 876 }
210
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_COMMAND_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_COMMAND_VK_H_ #include <memory> ...
engine/impeller/renderer/backend/vulkan/blit_command_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/blit_command_vk.h", "repo_id": "engine", "token_count": 808 }
211
// 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. #include "impeller/renderer/backend/vulkan/compute_pass_vk.h" #include "impeller/renderer/backend/vulkan/command_buffer_vk.h" #include "impeller/renderer/...
engine/impeller/renderer/backend/vulkan/compute_pass_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/compute_pass_vk.cc", "repo_id": "engine", "token_count": 3596 }
212
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DRIVER_INFO_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DRIVER_INFO_VK_H_ #include "impeller/b...
engine/impeller/renderer/backend/vulkan/driver_info_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/driver_info_vk.h", "repo_id": "engine", "token_count": 1100 }
213
// 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. #include "impeller/renderer/backend/vulkan/queue_vk.h" #include "impeller/renderer/backend/vulkan/context_vk.h" namespace impeller { QueueVK::QueueVK(Qu...
engine/impeller/renderer/backend/vulkan/queue_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/queue_vk.cc", "repo_id": "engine", "token_count": 894 }
214
// 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. #include "impeller/renderer/backend/vulkan/shader_library_vk.h" #include <cstdint> #include "flutter/fml/logging.h" #include "flutter/fml/trace_event.h" ...
engine/impeller/renderer/backend/vulkan/shader_library_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/shader_library_vk.cc", "repo_id": "engine", "token_count": 2445 }
215
// 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. #include <memory> #include "flutter/testing/testing.h" // IWYU pragma: keep #include "fml/synchronization/count_down_latch.h" #include "gtest/gtest.h" #in...
engine/impeller/renderer/backend/vulkan/test/gpu_tracer_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/test/gpu_tracer_unittests.cc", "repo_id": "engine", "token_count": 1966 }
216
// 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. #include "impeller/renderer/backend/vulkan/yuv_conversion_library_vk.h" #include "impeller/base/validation.h" #include "impeller/renderer/backend/vulkan/d...
engine/impeller/renderer/backend/vulkan/yuv_conversion_library_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/yuv_conversion_library_vk.cc", "repo_id": "engine", "token_count": 400 }
217
// 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. #include "impeller/renderer/command_queue.h" #include "impeller/renderer/command_buffer.h" namespace impeller { CommandQueue::CommandQueue() = default; ...
engine/impeller/renderer/command_queue.cc/0
{ "file_path": "engine/impeller/renderer/command_queue.cc", "repo_id": "engine", "token_count": 369 }
218
// 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. #include "impeller/renderer/pipeline.h" #include <optional> #include "compute_pipeline_descriptor.h" #include "impeller/base/promise.h" #include "impeller...
engine/impeller/renderer/pipeline.cc/0
{ "file_path": "engine/impeller/renderer/pipeline.cc", "repo_id": "engine", "token_count": 870 }
219
// 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. #include "impeller/renderer/renderer.h" #include <algorithm> #include "flutter/fml/trace_event.h" #include "impeller/renderer/command_buffer.h" #include ...
engine/impeller/renderer/renderer.cc/0
{ "file_path": "engine/impeller/renderer/renderer.cc", "repo_id": "engine", "token_count": 569 }
220
// 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. #ifndef FLUTTER_IMPELLER_RENDERER_SURFACE_H_ #define FLUTTER_IMPELLER_RENDERER_SURFACE_H_ #include <functional> #include <memory> #include "flutter/fml/m...
engine/impeller/renderer/surface.h/0
{ "file_path": "engine/impeller/renderer/surface.h", "repo_id": "engine", "token_count": 336 }
221
// 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. #include <future> #include "flutter/fml/make_copyable.h" #include "flutter/testing/testing.h" #include "gmock/gmock.h" #include "impeller/base/allocation....
engine/impeller/runtime_stage/runtime_stage_unittests.cc/0
{ "file_path": "engine/impeller/runtime_stage/runtime_stage_unittests.cc", "repo_id": "engine", "token_count": 5047 }
222
# 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/impeller/tools/impeller.gni") import("//flutter/shell/version/version.gni") import("//flutter/third_party/flatbuffers/flatbuffers.gni") con...
engine/impeller/scene/importer/BUILD.gn/0
{ "file_path": "engine/impeller/scene/importer/BUILD.gn", "repo_id": "engine", "token_count": 1167 }
223
// 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. #ifndef FLUTTER_IMPELLER_SCENE_MESH_H_ #define FLUTTER_IMPELLER_SCENE_MESH_H_ #include <memory> #include <type_traits> #include "flutter/fml/macros.h" #i...
engine/impeller/scene/mesh.h/0
{ "file_path": "engine/impeller/scene/mesh.h", "repo_id": "engine", "token_count": 416 }
224
// 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. #ifndef FLUTTER_IMPELLER_SCENE_SKIN_H_ #define FLUTTER_IMPELLER_SCENE_SKIN_H_ #include <memory> #include <optional> #include "flutter/fml/macros.h" #inc...
engine/impeller/scene/skin.h/0
{ "file_path": "engine/impeller/scene/skin.h", "repo_id": "engine", "token_count": 401 }
225
// 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. namespace impeller.fb.shaderbundle; enum ShaderStage:byte { kVertex, kFragment, kCompute, } // The subset of impeller::ShaderType that may be used ...
engine/impeller/shader_bundle/shader_bundle.fbs/0
{ "file_path": "engine/impeller/shader_bundle/shader_bundle.fbs", "repo_id": "engine", "token_count": 784 }
226
// 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. #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_NATIVE_WINDOW_H_ #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_NATIVE_WINDOW_H_ #include "flutter/fml/unique_object.h"...
engine/impeller/toolkit/android/native_window.h/0
{ "file_path": "engine/impeller/toolkit/android/native_window.h", "repo_id": "engine", "token_count": 522 }
227
// 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. #ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_ #define FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_ #include <EGL/egl.h> #define EGL_EGLEXT_PROTOTYPES #include <EGL/e...
engine/impeller/toolkit/egl/egl.h/0
{ "file_path": "engine/impeller/toolkit/egl/egl.h", "repo_id": "engine", "token_count": 263 }
228
#!/usr/bin/env vpython3 # 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 argparse import difflib import json import os import sys # This script detects performance impacting changes to shaders. # # W...
engine/impeller/tools/malioc_diff.py/0
{ "file_path": "engine/impeller/tools/malioc_diff.py", "repo_id": "engine", "token_count": 4726 }
229
// 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. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TEXT_FRAME_STB_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TEXT_FRAME_STB_H_ #include "flutter/...
engine/impeller/typographer/backends/stb/text_frame_stb.h/0
{ "file_path": "engine/impeller/typographer/backends/stb/text_frame_stb.h", "repo_id": "engine", "token_count": 285 }
230
// 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. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_RECTANGLE_PACKER_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_RECTANGLE_PACKER_H_ #include "flutter/fml/logging.h" #inclu...
engine/impeller/typographer/rectangle_packer.h/0
{ "file_path": "engine/impeller/typographer/rectangle_packer.h", "repo_id": "engine", "token_count": 698 }
231
// 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. #include "flutter/lib/gpu/device_buffer.h" #include "dart_api.h" #include "flutter/lib/gpu/formats.h" #include "fml/mapping.h" #include "impeller/core/dev...
engine/lib/gpu/device_buffer.cc/0
{ "file_path": "engine/lib/gpu/device_buffer.cc", "repo_id": "engine", "token_count": 1196 }
232
// 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. // ignore_for_file: public_member_api_docs part of flutter_gpu; base class RenderPipeline extends NativeFieldWrapperClass1 { /// Creates a new RenderPi...
engine/lib/gpu/lib/src/render_pipeline.dart/0
{ "file_path": "engine/lib/gpu/lib/src/render_pipeline.dart", "repo_id": "engine", "token_count": 325 }
233
// 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. #include "flutter/lib/gpu/texture.h" #include "flutter/lib/gpu/formats.h" #include "flutter/lib/ui/painting/image.h" #include "fml/mapping.h" #include "im...
engine/lib/gpu/texture.cc/0
{ "file_path": "engine/lib/gpu/texture.cc", "repo_id": "engine", "token_count": 1984 }
234
// 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. #include "flutter/lib/ui/compositing/scene.h" #include "flutter/fml/trace_event.h" #include "flutter/lib/ui/painting/display_list_deferred_image_gpu_skia....
engine/lib/ui/compositing/scene.cc/0
{ "file_path": "engine/lib/ui/compositing/scene.cc", "repo_id": "engine", "token_count": 2289 }
235
#version 100 core // 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. precision highp float; layout(location = 0) out vec4 oColor; layout(location = 1) uniform float floatArray[2]; layout(location = 3) un...
engine/lib/ui/fixtures/shaders/general_shaders/uniform_arrays.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/general_shaders/uniform_arrays.frag", "repo_id": "engine", "token_count": 685 }
236
#version 320 es // 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. precision highp float; layout(location = 0) out vec4 fragColor; layout(location = 0) uniform float a; void main() { fragColor = ...
engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/70_faceforward.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/70_faceforward.frag", "repo_id": "engine", "token_count": 375 }
237
// 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. #ifndef FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_IMAGE_GPU_H_ #define FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_IMAGE_GPU_H_ #include "flutter/display_list/image/d...
engine/lib/ui/painting/display_list_image_gpu.h/0
{ "file_path": "engine/lib/ui/painting/display_list_image_gpu.h", "repo_id": "engine", "token_count": 466 }
238
// 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. #ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_NO_GL_UNITTESTS_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_NO_GL_UNITTESTS_H_ #include <stdint.h> #in...
engine/lib/ui/painting/image_decoder_no_gl_unittests.h/0
{ "file_path": "engine/lib/ui/painting/image_decoder_no_gl_unittests.h", "repo_id": "engine", "token_count": 1173 }
239
// 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. #ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_FILTER_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_FILTER_H_ #include "flutter/display_list/dl_sampling_options.h" #inc...
engine/lib/ui/painting/image_filter.h/0
{ "file_path": "engine/lib/ui/painting/image_filter.h", "repo_id": "engine", "token_count": 550 }
240
// 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. #include "flutter/lib/ui/painting/paint.h" #include "flutter/display_list/dl_builder.h" #include "flutter/fml/logging.h" #include "flutter/lib/ui/floating...
engine/lib/ui/painting/paint.cc/0
{ "file_path": "engine/lib/ui/painting/paint.cc", "repo_id": "engine", "token_count": 4195 }
241
// 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. #include "flutter/lib/ui/painting/scene/scene_shader.h" #include <memory> #include <utility> #include "flutter/display_list/dl_tile_mode.h" #include "flu...
engine/lib/ui/painting/scene/scene_shader.cc/0
{ "file_path": "engine/lib/ui/painting/scene/scene_shader.cc", "repo_id": "engine", "token_count": 1660 }
242
// 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. #include "flutter/lib/ui/text/font_collection.h" #include <mutex> #include "flutter/lib/ui/text/asset_manager_font_provider.h" #include "flutter/lib/ui/u...
engine/lib/ui/text/font_collection.cc/0
{ "file_path": "engine/lib/ui/text/font_collection.cc", "repo_id": "engine", "token_count": 2343 }
243
// 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. #ifndef FLUTTER_LIB_UI_WINDOW_KEY_DATA_PACKET_H_ #define FLUTTER_LIB_UI_WINDOW_KEY_DATA_PACKET_H_ #include <functional> #include <vector> #include "flutt...
engine/lib/ui/window/key_data_packet.h/0
{ "file_path": "engine/lib/ui/window/key_data_packet.h", "repo_id": "engine", "token_count": 522 }
244
// 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. #include "flutter/lib/ui/window/pointer_data.h" #include <cstring> namespace flutter { // The number of fields of PointerData. // // If kPointerDataFiel...
engine/lib/ui/window/pointer_data.cc/0
{ "file_path": "engine/lib/ui/window/pointer_data.cc", "repo_id": "engine", "token_count": 287 }
245
# For more information on test and runner configurations: # # * https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#platforms platforms: - firefox - vm
engine/lib/web_ui/dart_test_firefox.yaml/0
{ "file_path": "engine/lib/web_ui/dart_test_firefox.yaml", "repo_id": "engine", "token_count": 62 }
246
:: felt: a command-line utility for Windows for building and testing :: Flutter web engine. :: FELT stands for Flutter Engine Local Tester. @ECHO OFF SETLOCAL :: Starting from this script's path, walk up to engine source directory. SET SCRIPT_DIR=%~dp0 FOR %%a IN ("%SCRIPT_DIR:~0,-1%") DO SET TMP=%%~dpa FOR %%a IN ("...
engine/lib/web_ui/dev/felt.bat/0
{ "file_path": "engine/lib/web_ui/dev/felt.bat", "repo_id": "engine", "token_count": 425 }
247
// 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 'dart:io' as io; import 'felt_config.dart'; class SuiteFilterResult { SuiteFilterResult.accepted(); SuiteFilterResult.rejected(String reason) ...
engine/lib/web_ui/dev/suite_filter.dart/0
{ "file_path": "engine/lib/web_ui/dev/suite_filter.dart", "repo_id": "engine", "token_count": 1200 }
248
// 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 { createWasmInstantiator } from "./instantiate_wasm.js"; export const loadSkwasm = (deps, config, browserEnvironment, engineRevision) => { return...
engine/lib/web_ui/flutter_js/src/skwasm_loader.js/0
{ "file_path": "engine/lib/web_ui/flutter_js/src/skwasm_loader.js", "repo_id": "engine", "token_count": 774 }
249
// 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. part of ui; abstract class PathMetrics extends collection.IterableBase<PathMetric> { @override Iterator<PathMetric> get iterator; } abstract class Pa...
engine/lib/web_ui/lib/path_metrics.dart/0
{ "file_path": "engine/lib/web_ui/lib/path_metrics.dart", "repo_id": "engine", "token_count": 324 }
250
// 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 'dart:async'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; import 'package:ui/ui_web/src/ui_web.dart' as ui_web; // This URL was...
engine/lib/web_ui/lib/src/engine/canvaskit/fonts.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/fonts.dart", "repo_id": "engine", "token_count": 3920 }
251
// 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 'dart:collection'; import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import 'canvaskit_api.dart'; import 'native_memory.dart'; import '...
engine/lib/web_ui/lib/src/engine/canvaskit/path_metrics.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/path_metrics.dart", "repo_id": "engine", "token_count": 1307 }
252
// 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. /// JavaScript API a Flutter Web application can use to configure the Web /// Engine. /// /// The configuration is passed from JavaScript to the engine as ...
engine/lib/web_ui/lib/src/engine/configuration.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/configuration.dart", "repo_id": "engine", "token_count": 4387 }
253