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. #include "flutter/fml/synchronization/semaphore.h" #include "flutter/fml/build_config.h" #include "flutter/fml/logging.h" #if FML_OS_MACOSX #include <dis...
engine/fml/synchronization/semaphore.cc/0
{ "file_path": "engine/fml/synchronization/semaphore.cc", "repo_id": "engine", "token_count": 1442 }
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. #ifndef FLUTTER_FML_TASK_SOURCE_H_ #define FLUTTER_FML_TASK_SOURCE_H_ #include "flutter/fml/delayed_task.h" #include "flutter/fml/task_queue_id.h" #includ...
engine/fml/task_source.h/0
{ "file_path": "engine/fml/task_source.h", "repo_id": "engine", "token_count": 769 }
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_TRACE_EVENT_H_ #define FLUTTER_FML_TRACE_EVENT_H_ #include <functional> #include "flutter/fml/build_config.h" #if defined(OS_FUCHSIA...
engine/fml/trace_event.h/0
{ "file_path": "engine/fml/trace_event.h", "repo_id": "engine", "token_count": 10487 }
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_IMPELLER_AIKS_AIKS_PLAYGROUND_H_ #define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_ #include "flutter/fml/macros.h" #include "impeller/aiks/...
engine/impeller/aiks/aiks_playground.h/0
{ "file_path": "engine/impeller/aiks/aiks_playground.h", "repo_id": "engine", "token_count": 538 }
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 "impeller/aiks/image.h" namespace impeller { Image::Image(std::shared_ptr<Texture> texture) : texture_(std::move(texture)) {} Image::~Image() =...
engine/impeller/aiks/image.cc/0
{ "file_path": "engine/impeller/aiks/image.cc", "repo_id": "engine", "token_count": 163 }
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. #ifndef FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_ #define FLUTTER_IMPELLER_AIKS_TRACE_SERIALIZER_H_ #include <iostream> #include "impeller/aiks/canvas_rec...
engine/impeller/aiks/trace_serializer.h/0
{ "file_path": "engine/impeller/aiks/trace_serializer.h", "repo_id": "engine", "token_count": 546 }
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 "impeller/compiler/compiler_test.h" #include "flutter/fml/paths.h" #include "flutter/fml/process.h" #include <algorithm> #include <filesystem> n...
engine/impeller/compiler/compiler_test.cc/0
{ "file_path": "engine/impeller/compiler/compiler_test.cc", "repo_id": "engine", "token_count": 2527 }
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/compiler/shader_bundle_data.h" #include <optional> #include "impeller/shader_bundle/shader_bundle_flatbuffers.h" #include "impeller/b...
engine/impeller/compiler/shader_bundle_data.cc/0
{ "file_path": "engine/impeller/compiler/shader_bundle_data.cc", "repo_id": "engine", "token_count": 3510 }
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 PATH_GLSL_ #define PATH_GLSL_ struct LineData { vec2 p1; vec2 p2; }; struct QuadData { vec2 p1; vec2 cp; vec2 p2; }; struct CubicData ...
engine/impeller/compiler/shader_lib/impeller/path.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/path.glsl", "repo_id": "engine", "token_count": 2279 }
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. #ifndef FLUTTER_IMPELLER_COMPILER_TYPES_H_ #define FLUTTER_IMPELLER_COMPILER_TYPES_H_ #include <codecvt> #include <locale> #include <map> #include <option...
engine/impeller/compiler/types.h/0
{ "file_path": "engine/impeller/compiler/types.h", "repo_id": "engine", "token_count": 1023 }
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_CORE_DEVICE_BUFFER_DESCRIPTOR_H_ #define FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_DESCRIPTOR_H_ #include <cstddef> #include "impeller...
engine/impeller/core/device_buffer_descriptor.h/0
{ "file_path": "engine/impeller/core/device_buffer_descriptor.h", "repo_id": "engine", "token_count": 240 }
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_CORE_SAMPLER_DESCRIPTOR_H_ #define FLUTTER_IMPELLER_CORE_SAMPLER_DESCRIPTOR_H_ #include "impeller/base/comparable.h" #include "im...
engine/impeller/core/sampler_descriptor.h/0
{ "file_path": "engine/impeller/core/sampler_descriptor.h", "repo_id": "engine", "token_count": 718 }
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. #include <array> #include <cmath> #include <memory> #include <vector> #include "flutter/display_list/dl_blend_mode.h" #include "flutter/display_list/dl_bu...
engine/impeller/display_list/dl_unittests.cc/0
{ "file_path": "engine/impeller/display_list/dl_unittests.cc", "repo_id": "engine", "token_count": 28565 }
183
# Specialization Constants A specialization constant is a named variable that is known to be constant at runtime but not when the shader is authored. These variables are bound to specific values when the shader is compiled on application start up and allow the backend to perform optimizations such as branch eliminatio...
engine/impeller/docs/specialization_constants.md/0
{ "file_path": "engine/impeller/docs/specialization_constants.md", "repo_id": "engine", "token_count": 1129 }
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 "conical_gradient_contents.h" #include "impeller/entity/contents/clip_contents.h" #include "impeller/entity/contents/content_context.h" #include ...
engine/impeller/entity/contents/conical_gradient_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/conical_gradient_contents.cc", "repo_id": "engine", "token_count": 2560 }
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. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_FILTER_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_FILTER_CONTENTS_H_ #include <memory> ...
engine/impeller/entity/contents/filters/filter_contents.h/0
{ "file_path": "engine/impeller/entity/contents/filters/filter_contents.h", "repo_id": "engine", "token_count": 3259 }
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_ENTITY_CONTENTS_FILTERS_LINEAR_TO_SRGB_FILTER_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LINEAR_TO_SRGB_FILTER_C...
engine/impeller/entity/contents/filters/linear_to_srgb_filter_contents.h/0
{ "file_path": "engine/impeller/entity/contents/filters/linear_to_srgb_filter_contents.h", "repo_id": "engine", "token_count": 435 }
187
// 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 "linear_gradient_contents.h" #include "impeller/core/formats.h" #include "impeller/entity/contents/content_context.h" #include "impeller/entity/c...
engine/impeller/entity/contents/linear_gradient_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/linear_gradient_contents.cc", "repo_id": "engine", "token_count": 2315 }
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. #include "impeller/entity/contents/test/recording_render_pass.h" #include <utility> namespace impeller { RecordingRenderPass::RecordingRenderPass( s...
engine/impeller/entity/contents/test/recording_render_pass.cc/0
{ "file_path": "engine/impeller/entity/contents/test/recording_render_pass.cc", "repo_id": "engine", "token_count": 1466 }
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/entity_pass_delegate.h" #include "impeller/entity/entity_pass.h" namespace impeller { EntityPassDelegate::EntityPassDelegate() ...
engine/impeller/entity/entity_pass_delegate.cc/0
{ "file_path": "engine/impeller/entity/entity_pass_delegate.cc", "repo_id": "engine", "token_count": 480 }
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/geometry/geometry.h" #include <memory> #include <optional> #include "fml/status.h" #include "impeller/entity/contents/content_c...
engine/impeller/entity/geometry/geometry.cc/0
{ "file_path": "engine/impeller/entity/geometry/geometry.cc", "repo_id": "engine", "token_count": 4399 }
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. #ifndef FLUTTER_IMPELLER_ENTITY_INLINE_PASS_CONTEXT_H_ #define FLUTTER_IMPELLER_ENTITY_INLINE_PASS_CONTEXT_H_ #include <cstdint> #include "impeller/entit...
engine/impeller/entity/inline_pass_context.h/0
{ "file_path": "engine/impeller/entity/inline_pass_context.h", "repo_id": "engine", "token_count": 595 }
192
# The Impeller Fixtures Set Unlike other targets in the buildroot, all Impeller unit-tests use the same fixture set and are invoked using a single test harness (`impeller_unittest`). This is for convenience but also to make working with shader libraries easier.
engine/impeller/fixtures/README.md/0
{ "file_path": "engine/impeller/fixtures/README.md", "repo_id": "engine", "token_count": 67 }
193
layout(local_size_x = 128) in; layout(std430) buffer; layout(binding = 0) writeonly buffer Output { uint count; uint elements[]; } output_data; layout(binding = 1) readonly buffer Input { uint count; uint elements[]; } input_data; void main() { uint ident = gl_GlobalInvocationID.x; if (ident >= input_da...
engine/impeller/fixtures/stage1.comp/0
{ "file_path": "engine/impeller/fixtures/stage1.comp", "repo_id": "engine", "token_count": 208 }
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. #ifndef FLUTTER_IMPELLER_GEOMETRY_MATRIX_H_ #define FLUTTER_IMPELLER_GEOMETRY_MATRIX_H_ #include <cmath> #include <iomanip> #include <limits> #include <op...
engine/impeller/geometry/matrix.h/0
{ "file_path": "engine/impeller/geometry/matrix.h", "repo_id": "engine", "token_count": 9964 }
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. #ifndef FLUTTER_IMPELLER_GEOMETRY_RECT_H_ #define FLUTTER_IMPELLER_GEOMETRY_RECT_H_ #include <array> #include <optional> #include <ostream> #include <vect...
engine/impeller/geometry/rect.h/0
{ "file_path": "engine/impeller/geometry/rect.h", "repo_id": "engine", "token_count": 9609 }
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. #ifndef FLUTTER_IMPELLER_GEOMETRY_TYPE_TRAITS_H_ #define FLUTTER_IMPELLER_GEOMETRY_TYPE_TRAITS_H_ #include <type_traits> namespace impeller { template <...
engine/impeller/geometry/type_traits.h/0
{ "file_path": "engine/impeller/geometry/type_traits.h", "repo_id": "engine", "token_count": 289 }
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. #ifndef FLUTTER_IMPELLER_GOLDEN_TESTS_SCREENSHOT_H_ #define FLUTTER_IMPELLER_GOLDEN_TESTS_SCREENSHOT_H_ #include <cstddef> #include <cstdint> #include <me...
engine/impeller/golden_tests/screenshot.h/0
{ "file_path": "engine/impeller/golden_tests/screenshot.h", "repo_id": "engine", "token_count": 365 }
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. #include "flutter/fml/time/time_point.h" #include "flutter/testing/test_args.h" #include "impeller/playground/compute_playground_test.h" namespace impell...
engine/impeller/playground/compute_playground_test.cc/0
{ "file_path": "engine/impeller/playground/compute_playground_test.cc", "repo_id": "engine", "token_count": 500 }
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. #ifndef FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_H_ #define FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_H_ #include <chrono> #include <memory> #include "flutter...
engine/impeller/playground/playground.h/0
{ "file_path": "engine/impeller/playground/playground.h", "repo_id": "engine", "token_count": 1582 }
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 "impeller/renderer/backend/gles/blit_pass_gles.h" #include <memory> #include "flutter/fml/trace_event.h" #include "fml/closure.h" #include "impe...
engine/impeller/renderer/backend/gles/blit_pass_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/blit_pass_gles.cc", "repo_id": "engine", "token_count": 1561 }
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_RENDERER_BACKEND_GLES_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_GLES_H_ // IWYU pragma: begin_exports #include "GLES...
engine/impeller/renderer/backend/gles/gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/gles.h", "repo_id": "engine", "token_count": 252 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_GLES_H_ #include "flutter/fml/macros...
engine/impeller/renderer/backend/gles/sampler_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/sampler_gles.h", "repo_id": "engine", "token_count": 411 }
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. #include <optional> #include "flutter/testing/testing.h" // IWYU pragma: keep #include "gtest/gtest.h" #include "impeller/renderer/backend/gles/proc_tabl...
engine/impeller/renderer/backend/gles/test/proc_table_gles_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/test/proc_table_gles_unittests.cc", "repo_id": "engine", "token_count": 525 }
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. #include "impeller/renderer/backend/metal/compute_pass_mtl.h" #include <Metal/Metal.h> #include <memory> #include "flutter/fml/backtrace.h" #include "flu...
engine/impeller/renderer/backend/metal/compute_pass_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/compute_pass_mtl.mm", "repo_id": "engine", "token_count": 2155 }
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/metal/pipeline_library_mtl.h" #include <Foundation/Foundation.h> #include <Metal/Metal.h> #include "flutter/fml/build...
engine/impeller/renderer/backend/metal/pipeline_library_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/pipeline_library_mtl.mm", "repo_id": "engine", "token_count": 3522 }
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 "impeller/renderer/backend/metal/texture_mtl.h" #include <memory> #include "impeller/base/validation.h" #include "impeller/core/texture_descripto...
engine/impeller/renderer/backend/metal/texture_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/texture_mtl.mm", "repo_id": "engine", "token_count": 1890 }
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. #include "flutter/testing/testing.h" // IWYU pragma: keep #include "impeller/renderer/backend/vulkan/blit_command_vk.h" #include "impeller/renderer/backen...
engine/impeller/renderer/backend/vulkan/blit_command_vk_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/blit_command_vk_unittests.cc", "repo_id": "engine", "token_count": 1130 }
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_VULKAN_COMPUTE_PASS_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMPUTE_PASS_VK_H_ #include "impeller...
engine/impeller/renderer/backend/vulkan/compute_pass_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/compute_pass_vk.h", "repo_id": "engine", "token_count": 1140 }
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. #include "impeller/playground/playground_test.h" #include "impeller/renderer/backend/vulkan/context_vk.h" #include "impeller/renderer/backend/vulkan/surfac...
engine/impeller/renderer/backend/vulkan/driver_info_vk_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/driver_info_vk_unittests.cc", "repo_id": "engine", "token_count": 354 }
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_QUEUE_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_QUEUE_VK_H_ #include <memory> #include "imp...
engine/impeller/renderer/backend/vulkan/queue_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/queue_vk.h", "repo_id": "engine", "token_count": 798 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SHADER_LIBRARY_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SHADER_LIBRARY_VK_H_ #include "flut...
engine/impeller/renderer/backend/vulkan/shader_library_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/shader_library_vk.h", "repo_id": "engine", "token_count": 848 }
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. #include "impeller/renderer/backend/vulkan/test/mock_vulkan.h" #include <cstdint> #include <cstring> #include <utility> #include <vector> #include "impel...
engine/impeller/renderer/backend/vulkan/test/mock_vulkan.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/test/mock_vulkan.cc", "repo_id": "engine", "token_count": 16406 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_LIBRARY_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_LIBRARY_VK_H_...
engine/impeller/renderer/backend/vulkan/yuv_conversion_library_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/yuv_conversion_library_vk.h", "repo_id": "engine", "token_count": 960 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_COMMAND_QUEUE_H_ #define FLUTTER_IMPELLER_RENDERER_COMMAND_QUEUE_H_ #include <functional> #include "fml/status.h" #incl...
engine/impeller/renderer/command_queue.h/0
{ "file_path": "engine/impeller/renderer/command_queue.h", "repo_id": "engine", "token_count": 525 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_PIPELINE_H_ #define FLUTTER_IMPELLER_RENDERER_PIPELINE_H_ #include <future> #include "compute_pipeline_descriptor.h" #i...
engine/impeller/renderer/pipeline.h/0
{ "file_path": "engine/impeller/renderer/pipeline.h", "repo_id": "engine", "token_count": 1938 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_RENDERER_H_ #define FLUTTER_IMPELLER_RENDERER_RENDERER_H_ #include <functional> #include <memory> #include "flutter/fml...
engine/impeller/renderer/renderer.h/0
{ "file_path": "engine/impeller/renderer/renderer.h", "repo_id": "engine", "token_count": 454 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_TESTING_MOCKS_H_ #define FLUTTER_IMPELLER_RENDERER_TESTING_MOCKS_H_ #include "gmock/gmock.h" #include "impeller/core/all...
engine/impeller/renderer/testing/mocks.h/0
{ "file_path": "engine/impeller/renderer/testing/mocks.h", "repo_id": "engine", "token_count": 3390 }
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. import("//flutter/impeller/tools/impeller.gni") impeller_component("scene") { sources = [ "animation/animation.cc", "animation/animation.h", "a...
engine/impeller/scene/BUILD.gn/0
{ "file_path": "engine/impeller/scene/BUILD.gn", "repo_id": "engine", "token_count": 565 }
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/scene/importer/conversions.h" #include <cstring> #include "impeller/scene/importer/scene_flatbuffers.h" namespace impeller { namespac...
engine/impeller/scene/importer/conversions.cc/0
{ "file_path": "engine/impeller/scene/importer/conversions.cc", "repo_id": "engine", "token_count": 1554 }
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. #include "impeller/scene/node.h" #include <inttypes.h> #include <atomic> #include <memory> #include <vector> #include "flutter/fml/logging.h" #include "i...
engine/impeller/scene/node.cc/0
{ "file_path": "engine/impeller/scene/node.cc", "repo_id": "engine", "token_count": 4860 }
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. import("//flutter/third_party/flatbuffers/flatbuffers.gni") import("../tools/impeller.gni") config("shader_archive_config") { configs = [ "//flutter/impell...
engine/impeller/shader_archive/BUILD.gn/0
{ "file_path": "engine/impeller/shader_archive/BUILD.gn", "repo_id": "engine", "token_count": 603 }
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") impeller_component("tessellator") { sources = [ "tessellator.cc", "tessellator.h", ] public_de...
engine/impeller/tessellator/BUILD.gn/0
{ "file_path": "engine/impeller/tessellator/BUILD.gn", "repo_id": "engine", "token_count": 459 }
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. #include "flutter/impeller/toolkit/android/proc_table.h" #include "flutter/fml/build_config.h" #include "impeller/base/validation.h" namespace impeller::...
engine/impeller/toolkit/android/proc_table.cc/0
{ "file_path": "engine/impeller/toolkit/android/proc_table.cc", "repo_id": "engine", "token_count": 650 }
224
#include "flutter/impeller/toolkit/egl/image.h" namespace impeller {}
engine/impeller/toolkit/egl/image.cc/0
{ "file_path": "engine/impeller/toolkit/egl/image.cc", "repo_id": "engine", "token_count": 28 }
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. import argparse import errno import os def make_directories(path): try: os.makedirs(path) except OSError as exc: if exc.errno == errno.EEXIST an...
engine/impeller/tools/xxd.py/0
{ "file_path": "engine/impeller/tools/xxd.py", "repo_id": "engine", "token_count": 972 }
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. #include "impeller/typographer/backends/stb/typeface_stb.h" #include <cstring> #include "flutter/fml/logging.h" namespace impeller { // Instantiate a t...
engine/impeller/typographer/backends/stb/typeface_stb.cc/0
{ "file_path": "engine/impeller/typographer/backends/stb/typeface_stb.cc", "repo_id": "engine", "token_count": 567 }
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. #include "impeller/typographer/text_frame.h" namespace impeller { TextFrame::TextFrame() = default; TextFrame::TextFrame(std::vector<TextRun>& runs, Rec...
engine/impeller/typographer/text_frame.cc/0
{ "file_path": "engine/impeller/typographer/text_frame.cc", "repo_id": "engine", "token_count": 1027 }
228
// 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_GPU_DEVICE_BUFFER_H_ #define FLUTTER_LIB_GPU_DEVICE_BUFFER_H_ #include "flutter/lib/gpu/context.h" #include "flutter/lib/gpu/export.h"...
engine/lib/gpu/device_buffer.h/0
{ "file_path": "engine/lib/gpu/device_buffer.h", "repo_id": "engine", "token_count": 633 }
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. // ignore_for_file: public_member_api_docs part of flutter_gpu; base class UniformSlot { UniformSlot._(this.shader, this.uniformName); final Shader s...
engine/lib/gpu/lib/src/shader.dart/0
{ "file_path": "engine/lib/gpu/lib/src/shader.dart", "repo_id": "engine", "token_count": 506 }
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_LIB_GPU_TEXTURE_H_ #define FLUTTER_LIB_GPU_TEXTURE_H_ #include "flutter/lib/gpu/context.h" #include "flutter/lib/gpu/export.h" #include "f...
engine/lib/gpu/texture.h/0
{ "file_path": "engine/lib/gpu/texture.h", "repo_id": "engine", "token_count": 793 }
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. #ifndef FLUTTER_LIB_UI_COMPOSITING_SCENE_H_ #define FLUTTER_LIB_UI_COMPOSITING_SCENE_H_ #include <cstdint> #include <memory> #include "flutter/flow/layer...
engine/lib/ui/compositing/scene.h/0
{ "file_path": "engine/lib/ui/compositing/scene.h", "repo_id": "engine", "token_count": 838 }
232
#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; // For a given incident vector I ...
engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/71_reflect.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/71_reflect.frag", "repo_id": "engine", "token_count": 379 }
233
#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; float zero() { return 0.0; } f...
engine/lib/ui/fixtures/shaders/supported_op_shaders/33_OpTypeFunction.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_op_shaders/33_OpTypeFunction.frag", "repo_id": "engine", "token_count": 133 }
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/painting/image_decoder_skia.h" #include <algorithm> #include "flutter/fml/logging.h" #include "flutter/fml/make_copyable.h" #inc...
engine/lib/ui/painting/image_decoder_skia.cc/0
{ "file_path": "engine/lib/ui/painting/image_decoder_skia.cc", "repo_id": "engine", "token_count": 5556 }
235
// 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/image_generator.h" #include <utility> #include "flutter/fml/logging.h" #include "third_party/skia/include/codec/SkEncod...
engine/lib/ui/painting/image_generator.cc/0
{ "file_path": "engine/lib/ui/painting/image_generator.cc", "repo_id": "engine", "token_count": 2384 }
236
// 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_PAINT_H_ #define FLUTTER_LIB_UI_PAINTING_PAINT_H_ #include "flutter/display_list/display_list.h" #include "flutter/display...
engine/lib/ui/painting/paint.h/0
{ "file_path": "engine/lib/ui/painting/paint.h", "repo_id": "engine", "token_count": 739 }
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_SCENE_SCENE_SHADER_H_ #define FLUTTER_LIB_UI_PAINTING_SCENE_SCENE_SHADER_H_ #include <string> #include <vector> #include ...
engine/lib/ui/painting/scene/scene_shader.h/0
{ "file_path": "engine/lib/ui/painting/scene/scene_shader.h", "repo_id": "engine", "token_count": 435 }
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_SEMANTICS_CUSTOM_ACCESSIBILITY_ACTION_H_ #define FLUTTER_LIB_UI_SEMANTICS_CUSTOM_ACCESSIBILITY_ACTION_H_ #include "third_party/toni...
engine/lib/ui/semantics/custom_accessibility_action.h/0
{ "file_path": "engine/lib/ui/semantics/custom_accessibility_action.h", "repo_id": "engine", "token_count": 382 }
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_TEXT_FONT_COLLECTION_H_ #define FLUTTER_LIB_UI_TEXT_FONT_COLLECTION_H_ #include <memory> #include <vector> #include "flutter/asset...
engine/lib/ui/text/font_collection.h/0
{ "file_path": "engine/lib/ui/text/font_collection.h", "repo_id": "engine", "token_count": 482 }
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/window/platform_configuration.h" #include <cstring> #include "flutter/common/constants.h" #include "flutter/lib/ui/compositing/s...
engine/lib/ui/window/platform_configuration.cc/0
{ "file_path": "engine/lib/ui/window/platform_configuration.cc", "repo_id": "engine", "token_count": 9817 }
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. #ifndef FLUTTER_LIB_UI_WINDOW_POINTER_DATA_H_ #define FLUTTER_LIB_UI_WINDOW_POINTER_DATA_H_ #include <cstdint> namespace flutter { // Must match the but...
engine/lib/ui/window/pointer_data.h/0
{ "file_path": "engine/lib/ui/window/pointer_data.h", "repo_id": "engine", "token_count": 961 }
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. import 'dart:io' as io; import 'package:args/command_runner.dart'; import 'analyze.dart'; import 'build.dart'; import 'clean.dart'; import 'exceptions.da...
engine/lib/web_ui/dev/felt.dart/0
{ "file_path": "engine/lib/web_ui/dev/felt.dart", "repo_id": "engine", "token_count": 939 }
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. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'dart:isolate'; import 'dart:math'; import 'package:async/async.dart'; import 'packag...
engine/lib/web_ui/dev/test_platform.dart/0
{ "file_path": "engine/lib/web_ui/dev/test_platform.dart", "repo_id": "engine", "token_count": 13952 }
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. /** * Handles the creation of a TrustedTypes `policy` that validates URLs based * on an (optional) incoming array of RegExes. */ export class FlutterTru...
engine/lib/web_ui/flutter_js/src/trusted_types.js/0
{ "file_path": "engine/lib/web_ui/flutter_js/src/trusted_types.js", "repo_id": "engine", "token_count": 535 }
245
// 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; typedef VoidCallback = void Function(); typedef ViewFocusChangeCallback = void Function(ViewFocusEvent viewFocusEvent); typedef FrameCallback ...
engine/lib/web_ui/lib/platform_dispatcher.dart/0
{ "file_path": "engine/lib/web_ui/lib/platform_dispatcher.dart", "repo_id": "engine", "token_count": 6150 }
246
// 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:js_interop'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as ui; import 'p...
engine/lib/web_ui/lib/src/engine/canvaskit/image.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/image.dart", "repo_id": "engine", "token_count": 4174 }
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:typed_data'; import 'package:ui/ui.dart' as ui; import '../scene_painting.dart'; import 'canvas.dart'; import 'canvaskit_api.dart'; import '...
engine/lib/web_ui/lib/src/engine/canvaskit/picture.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/picture.dart", "repo_id": "engine", "token_count": 1327 }
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 'dart:async'; import 'package:ui/ui.dart' as ui; import '../engine.dart'; class EngineFlutterDisplay extends ui.Display { EngineFlutterDisplay(...
engine/lib/web_ui/lib/src/engine/display.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/display.dart", "repo_id": "engine", "token_count": 1527 }
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. import 'package:ui/ui.dart' as ui; import '../color_filter.dart'; import '../dom.dart'; import '../util.dart'; import '../vector_math.dart'; import 'resou...
engine/lib/web_ui/lib/src/engine/html/image_filter.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/image_filter.dart", "repo_id": "engine", "token_count": 1251 }
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 '../dom.dart'; import '../platform_dispatcher.dart'; import '../platform_views/slots.dart'; import '../window.dart'; import 'surface.dart'; /// A s...
engine/lib/web_ui/lib/src/engine/html/platform_view.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/platform_view.dart", "repo_id": "engine", "token_count": 786 }
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:async'; import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import 'package:ui/ui_web/src/ui_web.dart' as ui_web; import 'browser_d...
engine/lib/web_ui/lib/src/engine/html_image_codec.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html_image_codec.dart", "repo_id": "engine", "token_count": 2591 }
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. import 'dom.dart'; DomElement? _logElement; late DomElement _logContainer; List<_LogMessage> _logBuffer = <_LogMessage>[]; class _LogMessage { _LogMess...
engine/lib/web_ui/lib/src/engine/onscreen_logging.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/onscreen_logging.dart", "repo_id": "engine", "token_count": 1665 }
253
// 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:math' as math; import 'package:ui/ui.dart' as ui; import 'dom.dart'; import 'util.dart'; /// Renders an RRect using path primitives. abstra...
engine/lib/web_ui/lib/src/engine/rrect_renderer.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/rrect_renderer.dart", "repo_id": "engine", "token_count": 3044 }
254
// 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 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as ui; /// Implements vertical and horizontal scrolling functionality for semantics /// o...
engine/lib/web_ui/lib/src/engine/semantics/scrollable.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/semantics/scrollable.dart", "repo_id": "engine", "token_count": 3409 }
255
// 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:ffi'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; import 'package:ui/src/engine/skwasm/skwasm_impl.dart'; import 'package:...
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/filters.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/filters.dart", "repo_id": "engine", "token_count": 1500 }
256
// 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. @DefaultAsset('skwasm') library skwasm_impl; import 'dart:ffi'; import 'package:ui/src/engine/skwasm/skwasm_impl.dart'; final class RawPath extends Opaq...
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_path.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_path.dart", "repo_id": "engine", "token_count": 2037 }
257
// 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:convert'; import 'dart:ffi'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; import 'package:ui/src/engine/skwasm/skwasm_impl....
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/shaders.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/shaders.dart", "repo_id": "engine", "token_count": 3978 }
258
// 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 'package:ui/ui.dart' as ui; import '../html/bitmap_canvas.dart'; import '../html/painting.dart'; import 'canvas_paragraph.dart'; import 'layout_fra...
engine/lib/web_ui/lib/src/engine/text/paint_service.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/text/paint_service.dart", "repo_id": "engine", "token_count": 1088 }
259
// 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 'package:ui/src/engine/display.dart'; import 'package:ui/src/engine/dom.dart'; import 'package:ui/src/engine/window.dart'; imp...
engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/custom_element_dimensions_provider.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/custom_element_dimensions_provider.dart", "repo_id": "engine", "token_count": 1114 }
260
// 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. // This library defines the web-specific additions that go along with dart:ui // // The web_sdk/sdk_rewriter.dart uses this directive. // ignore: unnecessa...
engine/lib/web_ui/lib/ui_web/src/ui_web.dart/0
{ "file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web.dart", "repo_id": "engine", "token_count": 245 }
261
// 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 "export.h" #include "third_party/skia/include/core/SkData.h" SKWASM_EXPORT SkData* skData_create(size_t size) { return SkData::MakeUninitializ...
engine/lib/web_ui/skwasm/data.cpp/0
{ "file_path": "engine/lib/web_ui/skwasm/data.cpp", "repo_id": "engine", "token_count": 246 }
262
// 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 "third_party/skia/modules/skparagraph/include/Paragraph.h" #include "../export.h" #include "DartTypes.h" #include "TextStyle.h" #include "include/...
engine/lib/web_ui/skwasm/text/paragraph.cpp/0
{ "file_path": "engine/lib/web_ui/skwasm/text/paragraph.cpp", "repo_id": "engine", "token_count": 2604 }
263
// 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 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'package:u...
engine/lib/web_ui/test/canvaskit/embedded_views_test.dart/0
{ "file_path": "engine/lib/web_ui/test/canvaskit/embedded_views_test.dart", "repo_id": "engine", "token_count": 17561 }
264
// 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 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as ui; im...
engine/lib/web_ui/test/canvaskit/path_test.dart/0
{ "file_path": "engine/lib/web_ui/test/canvaskit/path_test.dart", "repo_id": "engine", "token_count": 2302 }
265
// 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 'package:ui/src/engine.dart'; typedef VoidCallback = void Function(); class MockKeyboardEvent implements FlutterHtmlKeyboardEvent { MockKeyboard...
engine/lib/web_ui/test/common/keyboard_test_common.dart/0
{ "file_path": "engine/lib/web_ui/test/common/keyboard_test_common.dart", "repo_id": "engine", "token_count": 745 }
266
// 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:js_interop'; import 'dart:typed_data'; import 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/...
engine/lib/web_ui/test/engine/dom_http_fetch_test.dart/0
{ "file_path": "engine/lib/web_ui/test/engine/dom_http_fetch_test.dart", "repo_id": "engine", "token_count": 3055 }
267
// 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 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; void main() { internalBootstrapBrows...
engine/lib/web_ui/test/engine/mouse/context_menu_test.dart/0
{ "file_path": "engine/lib/web_ui/test/engine/mouse/context_menu_test.dart", "repo_id": "engine", "token_count": 1339 }
268
// 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 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as ui; im...
engine/lib/web_ui/test/engine/scene_builder_test.dart/0
{ "file_path": "engine/lib/web_ui/test/engine/scene_builder_test.dart", "repo_id": "engine", "token_count": 3068 }
269
// 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:math' as math; import 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'pa...
engine/lib/web_ui/test/engine/surface/path/path_winding_test.dart/0
{ "file_path": "engine/lib/web_ui/test/engine/surface/path/path_winding_test.dart", "repo_id": "engine", "token_count": 7898 }
270