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/flow/frame_timings.h" #include <memory> #include <string> #include "flutter/common/settings.h" #include "flutter/fml/logging.h" #includ...
engine/flow/frame_timings.cc/0
{ "file_path": "engine/flow/frame_timings.cc", "repo_id": "engine", "token_count": 3488 }
151
// 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_RECT_LAYER_H_ #define FLUTTER_FLOW_LAYERS_CLIP_RECT_LAYER_H_ #include "flutter/flow/layers/clip_shape_layer.h" namespace...
engine/flow/layers/clip_rect_layer.h/0
{ "file_path": "engine/flow/layers/clip_rect_layer.h", "repo_id": "engine", "token_count": 263 }
152
// 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_RASTER_CACHE_ITEM_H_ #define FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_ #include <memory> #include <op...
engine/flow/layers/display_list_raster_cache_item.h/0
{ "file_path": "engine/flow/layers/display_list_raster_cache_item.h", "repo_id": "engine", "token_count": 788 }
153
// 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/offscreen_surface.h" #include <memory> #include "gtest/gtest.h" #include "include/core/SkColor.h" #include "third_party/ski...
engine/flow/layers/offscreen_surface_unittests.cc/0
{ "file_path": "engine/flow/layers/offscreen_surface_unittests.cc", "repo_id": "engine", "token_count": 463 }
154
// 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/transform_layer.h" #include <optional> namespace flutter { TransformLayer::TransformLayer(const SkM44& transform) : transf...
engine/flow/layers/transform_layer.cc/0
{ "file_path": "engine/flow/layers/transform_layer.cc", "repo_id": "engine", "token_count": 876 }
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. #ifndef FLUTTER_FLOW_SKIA_GPU_OBJECT_H_ #define FLUTTER_FLOW_SKIA_GPU_OBJECT_H_ #include <mutex> #include <queue> #include "flutter/fml/memory/ref_counte...
engine/flow/skia_gpu_object.h/0
{ "file_path": "engine/flow/skia_gpu_object.h", "repo_id": "engine", "token_count": 2201 }
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_TESTING_DIFF_CONTEXT_TEST_H_ #define FLUTTER_FLOW_TESTING_DIFF_CONTEXT_TEST_H_ #include <utility> #include "flutter/flow/layers/cont...
engine/flow/testing/diff_context_test.h/0
{ "file_path": "engine/flow/testing/diff_context_test.h", "repo_id": "engine", "token_count": 976 }
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. import("//flutter/build/dart/dart.gni") import("//flutter/common/config.gni") copy("frontend_server") { if (flutter_prebuilt_dart_sdk) { snapshot = ...
engine/flutter_frontend_server/BUILD.gn/0
{ "file_path": "engine/flutter_frontend_server/BUILD.gn", "repo_id": "engine", "token_count": 234 }
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 "flutter/fml/backtrace.h" #include <csignal> #include <sstream> #include "flutter/fml/build_config.h" #include "flutter/fml/logging.h" #include ...
engine/fml/backtrace.cc/0
{ "file_path": "engine/fml/backtrace.cc", "repo_id": "engine", "token_count": 1458 }
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/fml/hash_combine.h" #include "flutter/testing/testing.h" namespace fml { namespace testing { TEST(HashCombineTest, CanHash) { ASSERT...
engine/fml/hash_combine_unittests.cc/0
{ "file_path": "engine/fml/hash_combine_unittests.cc", "repo_id": "engine", "token_count": 290 }
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. #ifndef FLUTTER_FML_MAPPING_H_ #define FLUTTER_FML_MAPPING_H_ #include <initializer_list> #include <memory> #include <string> #include <vector> #include ...
engine/fml/mapping.h/0
{ "file_path": "engine/fml/mapping.h", "repo_id": "engine", "token_count": 1935 }
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_FML_MEMORY_WEAK_PTR_INTERNAL_H_ #define FLUTTER_FML_MEMORY_WEAK_PTR_INTERNAL_H_ #include "flutter/fml/macros.h" #include "flutter/fml/memo...
engine/fml/memory/weak_ptr_internal.h/0
{ "file_path": "engine/fml/memory/weak_ptr_internal.h", "repo_id": "engine", "token_count": 402 }
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/fml/platform/android/cpu_affinity.h" #include <pthread.h> #include <sys/resource.h> #include <sys/time.h> #include <unistd.h> #include <...
engine/fml/platform/android/cpu_affinity.cc/0
{ "file_path": "engine/fml/platform/android/cpu_affinity.cc", "repo_id": "engine", "token_count": 724 }
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. #ifndef FLUTTER_FML_PLATFORM_DARWIN_MESSAGE_LOOP_DARWIN_H_ #define FLUTTER_FML_PLATFORM_DARWIN_MESSAGE_LOOP_DARWIN_H_ #include <CoreFoundation/CoreFoundat...
engine/fml/platform/darwin/message_loop_darwin.h/0
{ "file_path": "engine/fml/platform/darwin/message_loop_darwin.h", "repo_id": "engine", "token_count": 529 }
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. #include "flutter/fml/platform/darwin/string_range_sanitization.h" namespace fml { NSRange RangeForCharacterAtIndex(NSString* text, NSUInteger index) { ...
engine/fml/platform/darwin/string_range_sanitization.mm/0
{ "file_path": "engine/fml/platform/darwin/string_range_sanitization.mm", "repo_id": "engine", "token_count": 337 }
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. #include "flutter/fml/platform/linux/message_loop_linux.h" #include <sys/epoll.h> #include <unistd.h> #include "flutter/fml/eintr_wrapper.h" #include "fl...
engine/fml/platform/linux/message_loop_linux.cc/0
{ "file_path": "engine/fml/platform/linux/message_loop_linux.cc", "repo_id": "engine", "token_count": 918 }
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_RASTER_THREAD_MERGER_H_ #define FLUTTER_FML_RASTER_THREAD_MERGER_H_ #include <condition_variable> #include <mutex> #include "flutter/...
engine/fml/raster_thread_merger.h/0
{ "file_path": "engine/fml/raster_thread_merger.h", "repo_id": "engine", "token_count": 1745 }
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. #include <thread> #include "flutter/fml/synchronization/semaphore.h" #include "flutter/fml/thread.h" #include "flutter/fml/time/time_point.h" #include "gt...
engine/fml/synchronization/semaphore_unittest.cc/0
{ "file_path": "engine/fml/synchronization/semaphore_unittest.cc", "repo_id": "engine", "token_count": 492 }
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 <atomic> #include <thread> #include "flutter/fml/macros.h" #include "flutter/fml/task_source.h" #include "flutter/fml/time/chrono_timestamp_provi...
engine/fml/task_source_unittests.cc/0
{ "file_path": "engine/fml/task_source_unittests.cc", "repo_id": "engine", "token_count": 1401 }
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_UNIQUE_FD_H_ #define FLUTTER_FML_UNIQUE_FD_H_ #include "flutter/fml/build_config.h" #include "flutter/fml/unique_object.h" #if FML_OS...
engine/fml/unique_fd.h/0
{ "file_path": "engine/fml/unique_fd.h", "repo_id": "engine", "token_count": 954 }
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_IMPELLER_AIKS_AIKS_PLAYGROUND_INSPECTOR_H_ #define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_INSPECTOR_H_ #include <functional> #include <opti...
engine/impeller/aiks/aiks_playground_inspector.h/0
{ "file_path": "engine/impeller/aiks/aiks_playground_inspector.h", "repo_id": "engine", "token_count": 588 }
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 "impeller/aiks/image_filter.h" #include "impeller/entity/contents/filters/color_filter_contents.h" #include "impeller/entity/contents/filters/filt...
engine/impeller/aiks/image_filter.cc/0
{ "file_path": "engine/impeller/aiks/image_filter.cc", "repo_id": "engine", "token_count": 2565 }
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. import("../tools/impeller.gni") impeller_component("base") { sources = [ "allocation.cc", "allocation.h", "backend_cast.h", "comparable.cc"...
engine/impeller/base/BUILD.gn/0
{ "file_path": "engine/impeller/base/BUILD.gn", "repo_id": "engine", "token_count": 352 }
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. #include <cstring> #include "flutter/testing/testing.h" #include "gtest/gtest.h" #include "impeller/base/validation.h" #include "impeller/compiler/compiler...
engine/impeller/compiler/compiler_unittests.cc/0
{ "file_path": "engine/impeller/compiler/compiler_unittests.cc", "repo_id": "engine", "token_count": 2752 }
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 "gtest/gtest.h" #include "impeller/compiler/shader_bundle.h" #include "flutter/testing/testing.h" #include "impeller/compiler/source_options.h" #...
engine/impeller/compiler/shader_bundle_unittests.cc/0
{ "file_path": "engine/impeller/compiler/shader_bundle_unittests.cc", "repo_id": "engine", "token_count": 3272 }
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 TEXTURE_GLSL_ #define TEXTURE_GLSL_ #include <impeller/branching.glsl> #include <impeller/conversions.glsl> #include <impeller/tile_mode.glsl> #in...
engine/impeller/compiler/shader_lib/impeller/texture.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/texture.glsl", "repo_id": "engine", "token_count": 2565 }
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. #ifndef FLUTTER_IMPELLER_COMPILER_UNIFORM_SORTER_H_ #define FLUTTER_IMPELLER_COMPILER_UNIFORM_SORTER_H_ #include <optional> #include "impeller/compiler/c...
engine/impeller/compiler/uniform_sorter.h/0
{ "file_path": "engine/impeller/compiler/uniform_sorter.h", "repo_id": "engine", "token_count": 347 }
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. #ifndef FLUTTER_IMPELLER_CORE_FORMATS_H_ #define FLUTTER_IMPELLER_CORE_FORMATS_H_ #include <cstdint> #include <functional> #include <memory> #include <str...
engine/impeller/core/formats.h/0
{ "file_path": "engine/impeller/core/formats.h", "repo_id": "engine", "token_count": 7274 }
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_CORE_SHADER_TYPES_H_ #define FLUTTER_IMPELLER_CORE_SHADER_TYPES_H_ #include <cstddef> #include <cstdint> #include <optional> #inc...
engine/impeller/core/shader_types.h/0
{ "file_path": "engine/impeller/core/shader_types.h", "repo_id": "engine", "token_count": 1688 }
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_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_ #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_ #include "flutter/display_list...
engine/impeller/display_list/dl_vertices_geometry.h/0
{ "file_path": "engine/impeller/display_list/dl_vertices_geometry.h", "repo_id": "engine", "token_count": 223 }
180
# Threading in Vulkan The Vulkan backend uses a dedicated concurrent worker pool that is created along with the creation of the Vulkan context. Unlike other pools such as the IO worker pool, long running tasks may **not** be posted to this pool. This is because frame workloads can and often are distributed to workers...
engine/impeller/docs/vulkan_threading.md/0
{ "file_path": "engine/impeller/docs/vulkan_threading.md", "repo_id": "engine", "token_count": 682 }
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. #include "impeller/entity/contents/content_context.h" #include <memory> #include <utility> #include "fml/trace_event.h" #include "impeller/base/strings.h...
engine/impeller/entity/contents/content_context.cc/0
{ "file_path": "engine/impeller/entity/contents/content_context.cc", "repo_id": "engine", "token_count": 11517 }
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_ENTITY_CONTENTS_FILTERS_GAUSSIAN_BLUR_FILTER_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_GAUSSIAN_BLUR_FILTER_CON...
engine/impeller/entity/contents/filters/gaussian_blur_filter_contents.h/0
{ "file_path": "engine/impeller/entity/contents/filters/gaussian_blur_filter_contents.h", "repo_id": "engine", "token_count": 1320 }
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 FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LOCAL_MATRIX_FILTER_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_LOCAL_MATRIX_FILTER_CONTE...
engine/impeller/entity/contents/filters/local_matrix_filter_contents.h/0
{ "file_path": "engine/impeller/entity/contents/filters/local_matrix_filter_contents.h", "repo_id": "engine", "token_count": 496 }
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 "radial_gradient_contents.h" #include "impeller/entity/contents/clip_contents.h" #include "impeller/entity/contents/content_context.h" #include "...
engine/impeller/entity/contents/radial_gradient_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/radial_gradient_contents.cc", "repo_id": "engine", "token_count": 2356 }
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/entity/contents/text_contents.h" #include <cstring> #include <optional> #include <utility> #include "impeller/core/formats.h" #include...
engine/impeller/entity/contents/text_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/text_contents.cc", "repo_id": "engine", "token_count": 2936 }
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. #include "impeller/entity/entity_pass_target.h" #include "impeller/base/validation.h" #include "impeller/core/formats.h" #include "impeller/core/texture.h...
engine/impeller/entity/entity_pass_target.cc/0
{ "file_path": "engine/impeller/entity/entity_pass_target.cc", "repo_id": "engine", "token_count": 919 }
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 "flutter/testing/testing.h" #include "impeller/entity/geometry/geometry.h" #include "impeller/entity/geometry/stroke_path_geometry.h" #include "im...
engine/impeller/entity/geometry/geometry_unittests.cc/0
{ "file_path": "engine/impeller/entity/geometry/geometry_unittests.cc", "repo_id": "engine", "token_count": 4329 }
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_RENDER_TARGET_CACHE_H_ #define FLUTTER_IMPELLER_ENTITY_RENDER_TARGET_CACHE_H_ #include "impeller/renderer/render_target.h"...
engine/impeller/entity/render_target_cache.h/0
{ "file_path": "engine/impeller/entity/render_target_cache.h", "repo_id": "engine", "token_count": 972 }
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. uniform FragInfo { vec2 circle_positions[4]; vec4 colors[4]; } frag_info; in vec2 v_position; out vec4 frag_color; float SphereDistance(vec2 positio...
engine/impeller/fixtures/array.frag/0
{ "file_path": "engine/impeller/fixtures/array.frag", "repo_id": "engine", "token_count": 222 }
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. uniform VertInfo { // 128 bytes (alignment = NPOT(largest member)) mat4 mvp; // offset 0 bytes, size 64 bytes vec4 color; // offset 64 b...
engine/impeller/fixtures/flutter_gpu_unlit.vert/0
{ "file_path": "engine/impeller/fixtures/flutter_gpu_unlit.vert", "repo_id": "engine", "token_count": 173 }
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. uniform FrameInfo { mat4 mvp; vec2 atlas_size; vec4 text_color; } frame_info; in vec2 unit_vertex; in mat4 glyph_position; // <--- Causes multi...
engine/impeller/fixtures/struct_def_bug.vert/0
{ "file_path": "engine/impeller/fixtures/struct_def_bug.vert", "repo_id": "engine", "token_count": 376 }
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_GEOMETRY_MATRIX_DECOMPOSITION_H_ #define FLUTTER_IMPELLER_GEOMETRY_MATRIX_DECOMPOSITION_H_ #include "impeller/geometry/quaternion...
engine/impeller/geometry/matrix_decomposition.h/0
{ "file_path": "engine/impeller/geometry/matrix_decomposition.h", "repo_id": "engine", "token_count": 335 }
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_GEOMETRY_SATURATED_MATH_H_ #define FLUTTER_IMPELLER_GEOMETRY_SATURATED_MATH_H_ #include <algorithm> #include <limits> #include <t...
engine/impeller/geometry/saturated_math.h/0
{ "file_path": "engine/impeller/geometry/saturated_math.h", "repo_id": "engine", "token_count": 2299 }
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_VECTOR_H_ #define FLUTTER_IMPELLER_GEOMETRY_VECTOR_H_ #include <cmath> #include <string> #include "impeller/geometry/co...
engine/impeller/geometry/vector.h/0
{ "file_path": "engine/impeller/geometry/vector.h", "repo_id": "engine", "token_count": 3782 }
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_GOLDEN_TESTS_VULKAN_SCREENSHOTTER_H_ #define FLUTTER_IMPELLER_GOLDEN_TESTS_VULKAN_SCREENSHOTTER_H_ #include "flutter/fml/macros.h...
engine/impeller/golden_tests/vulkan_screenshotter.h/0
{ "file_path": "engine/impeller/golden_tests/vulkan_screenshotter.h", "repo_id": "engine", "token_count": 456 }
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. import("//flutter/impeller/tools/impeller.gni") impeller_component("image") { testonly = true public = [ "compressed_image.h", "decompressed_imag...
engine/impeller/playground/image/BUILD.gn/0
{ "file_path": "engine/impeller/playground/image/BUILD.gn", "repo_id": "engine", "token_count": 332 }
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_PLAYGROUND_PLAYGROUND_IMPL_H_ #define FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_ #include <memory> #include "flutter/fml/mac...
engine/impeller/playground/playground_impl.h/0
{ "file_path": "engine/impeller/playground/playground_impl.h", "repo_id": "engine", "token_count": 491 }
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 "impeller/renderer/backend/gles/buffer_bindings_gles.h" #include <cstring> #include <vector> #include "impeller/base/validation.h" #include "imp...
engine/impeller/renderer/backend/gles/buffer_bindings_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/buffer_bindings_gles.cc", "repo_id": "engine", "token_count": 6246 }
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_RENDERER_BACKEND_GLES_GPU_TRACER_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_GPU_TRACER_GLES_H_ #include <cstdint> #in...
engine/impeller/renderer/backend/gles/gpu_tracer_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/gpu_tracer_gles.h", "repo_id": "engine", "token_count": 600 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_LIBRARY_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_LIBRARY_GLES_H_ #include "im...
engine/impeller/renderer/backend/gles/sampler_library_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/sampler_library_gles.h", "repo_id": "engine", "token_count": 412 }
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. #include "impeller/renderer/backend/gles/texture_gles.h" #include <optional> #include <utility> #include "flutter/fml/logging.h" #include "flutter/fml/ma...
engine/impeller/renderer/backend/gles/texture_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/texture_gles.cc", "repo_id": "engine", "token_count": 7991 }
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 "impeller/renderer/backend/metal/compute_pipeline_mtl.h" namespace impeller { ComputePipelineMTL::ComputePipelineMTL(std::weak_ptr<PipelineLibra...
engine/impeller/renderer/backend/metal/compute_pipeline_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/compute_pipeline_mtl.mm", "repo_id": "engine", "token_count": 368 }
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 "impeller/renderer/backend/metal/pipeline_mtl.h" namespace impeller { PipelineMTL::PipelineMTL(std::weak_ptr<PipelineLibrary> library, ...
engine/impeller/renderer/backend/metal/pipeline_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/pipeline_mtl.mm", "repo_id": "engine", "token_count": 421 }
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_METAL_TEXTURE_WRAPPER_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_TEXTURE_WRAPPER_MTL_H_ #include "im...
engine/impeller/renderer/backend/metal/texture_wrapper_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/texture_wrapper_mtl.h", "repo_id": "engine", "token_count": 234 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_PASS_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_PASS_VK_H_ #include "flutter/fml/ma...
engine/impeller/renderer/backend/vulkan/blit_pass_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/blit_pass_vk.h", "repo_id": "engine", "token_count": 1117 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMPUTE_PIPELINE_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMPUTE_PIPELINE_VK_H_ #include <...
engine/impeller/renderer/backend/vulkan/compute_pipeline_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/compute_pipeline_vk.h", "repo_id": "engine", "token_count": 770 }
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_VULKAN_FENCE_WAITER_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_FENCE_WAITER_VK_H_ #include <conditio...
engine/impeller/renderer/backend/vulkan/fence_waiter_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/fence_waiter_vk.h", "repo_id": "engine", "token_count": 577 }
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_RENDER_PASS_BUILDER_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_RENDER_PASS_BUILDER_VK_H_ #inc...
engine/impeller/renderer/backend/vulkan/render_pass_builder_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/render_pass_builder_vk.h", "repo_id": "engine", "token_count": 1256 }
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_VULKAN_SHARED_OBJECT_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SHARED_OBJECT_VK_H_ #include <memory...
engine/impeller/renderer/backend/vulkan/shared_object_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/shared_object_vk.h", "repo_id": "engine", "token_count": 554 }
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. #include "flutter/testing/testing.h" // IWYU pragma: keep #include "gtest/gtest.h" #include "impeller/renderer/backend/vulkan/test/mock_vulkan.h" #include...
engine/impeller/renderer/backend/vulkan/test/mock_vulkan_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/test/mock_vulkan_unittests.cc", "repo_id": "engine", "token_count": 607 }
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_YUV_CONVERSION_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_VK_H_ #include <unor...
engine/impeller/renderer/backend/vulkan/yuv_conversion_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/yuv_conversion_vk.h", "repo_id": "engine", "token_count": 1420 }
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_COMPUTE_PASS_H_ #define FLUTTER_IMPELLER_RENDERER_COMPUTE_PASS_H_ #include <string> #include "fml/status.h" #include "i...
engine/impeller/renderer/compute_pass.h/0
{ "file_path": "engine/impeller/renderer/compute_pass.h", "repo_id": "engine", "token_count": 807 }
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_PIPELINE_BUILDER_H_ #define FLUTTER_IMPELLER_RENDERER_PIPELINE_BUILDER_H_ #include "flutter/fml/logging.h" #include "flu...
engine/impeller/renderer/pipeline_builder.h/0
{ "file_path": "engine/impeller/renderer/pipeline_builder.h", "repo_id": "engine", "token_count": 1997 }
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 "flutter/fml/logging.h" #include "impeller/core/device_buffer_descriptor.h" #include "impeller/core/formats.h" #include "impeller/core/host_buffer...
engine/impeller/renderer/renderer_unittests.cc/0
{ "file_path": "engine/impeller/renderer/renderer_unittests.cc", "repo_id": "engine", "token_count": 22574 }
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_TEXTURE_MIPMAP_H_ #define FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_ #include "flutter/fml/status.h" #include "impeller...
engine/impeller/renderer/texture_mipmap.h/0
{ "file_path": "engine/impeller/renderer/texture_mipmap.h", "repo_id": "engine", "token_count": 279 }
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/scene/animation/animation.h" #include <algorithm> #include <cstring> #include <memory> #include <vector> #include "impeller/geometry/q...
engine/impeller/scene/animation/animation.cc/0
{ "file_path": "engine/impeller/scene/animation/animation.cc", "repo_id": "engine", "token_count": 1757 }
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_SCENE_IMPORTER_IMPORTER_H_ #define FLUTTER_IMPELLER_SCENE_IMPORTER_IMPORTER_H_ #include <array> #include <memory> #include "flut...
engine/impeller/scene/importer/importer.h/0
{ "file_path": "engine/impeller/scene/importer/importer.h", "repo_id": "engine", "token_count": 235 }
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. #ifndef FLUTTER_IMPELLER_SCENE_PIPELINE_KEY_H_ #define FLUTTER_IMPELLER_SCENE_PIPELINE_KEY_H_ #include "flutter/fml/hash_combine.h" namespace impeller { ...
engine/impeller/scene/pipeline_key.h/0
{ "file_path": "engine/impeller/scene/pipeline_key.h", "repo_id": "engine", "token_count": 445 }
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. namespace impeller.fb; enum RenderingBackend:byte { kOpenGLES, kVulkan, kMetal, } table ShaderArchiveBlob { rendering_backend: RenderingBackend; ...
engine/impeller/shader_archive/multi_arch_shader_archive.fbs/0
{ "file_path": "engine/impeller/shader_archive/multi_arch_shader_archive.fbs", "repo_id": "engine", "token_count": 192 }
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_TESSELLATOR_C_TESSELLATOR_H_ #define FLUTTER_IMPELLER_TESSELLATOR_C_TESSELLATOR_H_ #include <cstdint> #include "impeller/geometr...
engine/impeller/tessellator/c/tessellator.h/0
{ "file_path": "engine/impeller/tessellator/c/tessellator.h", "repo_id": "engine", "token_count": 710 }
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 "impeller/toolkit/android/surface_control.h" #include "impeller/base/validation.h" #include "impeller/toolkit/android/surface_transaction.h" nam...
engine/impeller/toolkit/android/surface_control.cc/0
{ "file_path": "engine/impeller/toolkit/android/surface_control.cc", "repo_id": "engine", "token_count": 493 }
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. #include "impeller/toolkit/egl/surface.h" namespace impeller { namespace egl { Surface::Surface(EGLDisplay display, EGLSurface surface) : display_(di...
engine/impeller/toolkit/egl/surface.cc/0
{ "file_path": "engine/impeller/toolkit/egl/surface.cc", "repo_id": "engine", "token_count": 320 }
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. import("//flutter/impeller/tools/impeller.gni") impeller_component("typographer_skia_backend") { sources = [ "glyph_atlas_context_skia.cc", "glyph_...
engine/impeller/typographer/backends/skia/BUILD.gn/0
{ "file_path": "engine/impeller/typographer/backends/skia/BUILD.gn", "repo_id": "engine", "token_count": 249 }
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. #include "impeller/typographer/backends/stb/typographer_context_stb.h" #include <numeric> #include <utility> #include "flutter/fml/logging.h" #include "f...
engine/impeller/typographer/backends/stb/typographer_context_stb.cc/0
{ "file_path": "engine/impeller/typographer/backends/stb/typographer_context_stb.cc", "repo_id": "engine", "token_count": 8644 }
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. #include "impeller/typographer/text_run.h" namespace impeller { TextRun::TextRun(const Font& font) : font_(font) { if (!font_.IsValid()) { return; ...
engine/impeller/typographer/text_run.cc/0
{ "file_path": "engine/impeller/typographer/text_run.cc", "repo_id": "engine", "token_count": 364 }
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 "flutter/fml/build_config.h" #ifndef FLUTTER_LIB_GPU_EXPORT_H_ #define FLUTTER_LIB_GPU_EXPORT_H_ #if FML_OS_WIN #define FLUTTER_GPU_EXPORT __dec...
engine/lib/gpu/export.h/0
{ "file_path": "engine/lib/gpu/export.h", "repo_id": "engine", "token_count": 180 }
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. import 'dart:ffi'; import 'dart:nativewrappers'; /// This is a simple test fuction. @Native<Int32 Function()>(symbol: 'InternalFlutterGpuTestProc') extern...
engine/lib/gpu/lib/src/smoketest.dart/0
{ "file_path": "engine/lib/gpu/lib/src/smoketest.dart", "repo_id": "engine", "token_count": 430 }
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. #include "flutter/lib/io/dart_io.h" #include "flutter/fml/logging.h" #include "third_party/dart/runtime/include/bin/dart_io_api.h" #include "third_party/d...
engine/lib/io/dart_io.cc/0
{ "file_path": "engine/lib/io/dart_io.cc", "repo_id": "engine", "token_count": 674 }
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_LIB_UI_COMPOSITING_SCENE_BUILDER_H_ #define FLUTTER_LIB_UI_COMPOSITING_SCENE_BUILDER_H_ #include <cstdint> #include <memory> #include <vec...
engine/lib/ui/compositing/scene_builder.h/0
{ "file_path": "engine/lib/ui/compositing/scene_builder.h", "repo_id": "engine", "token_count": 2550 }
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. import 'dart:async'; import 'dart:typed_data'; import 'dart:ui'; import 'dart:isolate'; import 'dart:ffi' hide Size; void main() {} /// Mutiple tests use...
engine/lib/ui/fixtures/ui_test.dart/0
{ "file_path": "engine/lib/ui/fixtures/ui_test.dart", "repo_id": "engine", "token_count": 12628 }
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. part of dart.ui; // ignore_for_file: avoid_classes_with_only_static_members /// Helper functions for Dart Plugin Registrants. abstract final class DartPlu...
engine/lib/ui/natives.dart/0
{ "file_path": "engine/lib/ui/natives.dart", "repo_id": "engine", "token_count": 1281 }
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. #include <memory> #include <sstream> #include "display_list/effects/dl_runtime_effect.h" #include "flutter/lib/ui/painting/fragment_program.h" #include "...
engine/lib/ui/painting/fragment_program.cc/0
{ "file_path": "engine/lib/ui/painting/fragment_program.cc", "repo_id": "engine", "token_count": 2141 }
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/common/task_runners.h" #include "flutter/fml/mapping.h" #include "flutter/fml/synchronization/waitable_event.h" #include "flutter/impelle...
engine/lib/ui/painting/image_decoder_unittests.cc/0
{ "file_path": "engine/lib/ui/painting/image_decoder_unittests.cc", "repo_id": "engine", "token_count": 15889 }
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 "image_generator_apng.h" #include <cstddef> #include <cstring> #include "flutter/fml/logging.h" #include "third_party/skia/include/codec/SkCodec....
engine/lib/ui/painting/image_generator_apng.cc/0
{ "file_path": "engine/lib/ui/painting/image_generator_apng.cc", "repo_id": "engine", "token_count": 9583 }
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/path.h" #include <cmath> #include "flutter/lib/ui/floating_point.h" #include "flutter/lib/ui/painting/matrix.h" #includ...
engine/lib/ui/painting/path.cc/0
{ "file_path": "engine/lib/ui/painting/path.cc", "repo_id": "engine", "token_count": 5522 }
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_SHADER_H_ #define FLUTTER_LIB_UI_PAINTING_SHADER_H_ #include "flutter/display_list/effects/dl_color_source.h" #include "fl...
engine/lib/ui/painting/shader.h/0
{ "file_path": "engine/lib/ui/painting/shader.h", "repo_id": "engine", "token_count": 265 }
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_SEMANTICS_SEMANTICS_NODE_H_ #define FLUTTER_LIB_UI_SEMANTICS_SEMANTICS_NODE_H_ #include <cstdint> #include <string> #include <unord...
engine/lib/ui/semantics/semantics_node.h/0
{ "file_path": "engine/lib/ui/semantics/semantics_node.h", "repo_id": "engine", "token_count": 1657 }
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_TEXT_PARAGRAPH_H_ #define FLUTTER_LIB_UI_TEXT_PARAGRAPH_H_ #include "flutter/fml/message_loop.h" #include "flutter/lib/ui/dart_wrap...
engine/lib/ui/text/paragraph.h/0
{ "file_path": "engine/lib/ui/text/paragraph.h", "repo_id": "engine", "token_count": 909 }
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. #define FML_USED_ON_EMBEDDER #include "flutter/lib/ui/window/platform_configuration.h" #include <memory> #include "flutter/common/task_runners.h" #inclu...
engine/lib/ui/window/platform_configuration_unittests.cc/0
{ "file_path": "engine/lib/ui/window/platform_configuration_unittests.cc", "repo_id": "engine", "token_count": 4803 }
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. #ifndef FLUTTER_LIB_UI_WINDOW_POINTER_DATA_PACKET_H_ #define FLUTTER_LIB_UI_WINDOW_POINTER_DATA_PACKET_H_ #include <cstring> #include <vector> #include "...
engine/lib/ui/window/pointer_data_packet.h/0
{ "file_path": "engine/lib/ui/window/pointer_data_packet.h", "repo_id": "engine", "token_count": 353 }
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. import 'dart:async'; import 'dart:math' as math; import 'package:image/image.dart'; import 'package:test_api/backend.dart'; /// Provides the environment ...
engine/lib/web_ui/dev/browser.dart/0
{ "file_path": "engine/lib/web_ui/dev/browser.dart", "repo_id": "engine", "token_count": 824 }
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:async'; import 'dart:io'; import 'package:path/path.dart' as path; import 'package:test_api/backend.dart'; // TODO(ditman): Fix ignore when h...
engine/lib/web_ui/dev/firefox.dart/0
{ "file_path": "engine/lib/web_ui/dev/firefox.dart", "repo_id": "engine", "token_count": 1378 }
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' show LineSplitter, utf8; import 'dart:io' as io; import 'package:args/command_runner.dart'; import 'package:met...
engine/lib/web_ui/dev/utils.dart/0
{ "file_path": "engine/lib/web_ui/dev/utils.dart", "repo_id": "engine", "token_count": 4132 }
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. part of ui; enum PointerChange { cancel, add, remove, hover, down, move, up, panZoomStart, panZoomUpdate, panZoomEnd, } enum PointerD...
engine/lib/web_ui/lib/pointer.dart/0
{ "file_path": "engine/lib/web_ui/lib/pointer.dart", "repo_id": "engine", "token_count": 1740 }
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. /// Uses image codecs supplied by the CanvasKit WASM bundle. /// /// See also: /// /// * `image_web_codecs.dart`, which uses the `ImageDecoder` supplied b...
engine/lib/web_ui/lib/src/engine/canvaskit/image_wasm_codecs.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/image_wasm_codecs.dart", "repo_id": "engine", "token_count": 1439 }
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:typed_data'; // TODO(hterkelsen): Delete this once the slots change lands? class PlatformMessage { PlatformMessage(this.channel, this.data,...
engine/lib/web_ui/lib/src/engine/canvaskit/platform_message.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/platform_message.dart", "repo_id": "engine", "token_count": 145 }
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. // For member documentation see https://api.flutter.dev/flutter/dart-ui/Canvas-class.html import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; i...
engine/lib/web_ui/lib/src/engine/engine_canvas.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/engine_canvas.dart", "repo_id": "engine", "token_count": 3567 }
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 'package:ui/ui.dart' as ui; import '../dom.dart'; import '../util.dart'; import '../vector_math.dart'; import 'surface.dart'; /// A surface that m...
engine/lib/web_ui/lib/src/engine/html/opacity.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/opacity.dart", "repo_id": "engine", "token_count": 602 }
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 'dart:math' as math; import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import '../browser_detection.dart'; import '../dom.dart'; import...
engine/lib/web_ui/lib/src/engine/html/render_vertices.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/render_vertices.dart", "repo_id": "engine", "token_count": 7563 }
250