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/display_list/dl_tile_mode.h" #include "flutter/flow/layers/image_filter_layer.h" #include "flutter/flow/layers/layer_tree.h" #include "f...
engine/flow/layers/image_filter_layer_unittests.cc/0
{ "file_path": "engine/flow/layers/image_filter_layer_unittests.cc", "repo_id": "engine", "token_count": 11616 }
300
// Copyright 2013 The Flutter 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/opacity_layer.h" #include "flutter/flow/layers/clip_rect_layer.h" #include "flutter/flow/layers/image_filter_layer.h" #inclu...
engine/flow/layers/opacity_layer_unittests.cc/0
{ "file_path": "engine/flow/layers/opacity_layer_unittests.cc", "repo_id": "engine", "token_count": 12030 }
301
// Copyright 2013 The Flutter 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/embedded_views.h" #include "gtest/gtest.h" namespace flutter { namespace testing { TEST(MutatorsStack, Initialization) { Mutator...
engine/flow/mutators_stack_unittests.cc/0
{ "file_path": "engine/flow/mutators_stack_unittests.cc", "repo_id": "engine", "token_count": 3723 }
302
// Copyright 2013 The Flutter 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_STOPWATCH_H_ #define FLUTTER_FLOW_STOPWATCH_H_ #include <vector> #include "flutter/display_list/dl_canvas.h" #include "flutter/fml/m...
engine/flow/stopwatch.h/0
{ "file_path": "engine/flow/stopwatch.h", "repo_id": "engine", "token_count": 1266 }
303
// Copyright 2013 The Flutter 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_LAYER_TEST_H_ #define FLUTTER_FLOW_TESTING_LAYER_TEST_H_ #include "display_list/dl_color.h" #include "flutter/flow/layer_snap...
engine/flow/testing/layer_test.h/0
{ "file_path": "engine/flow/testing/layer_test.h", "repo_id": "engine", "token_count": 4061 }
304
// Copyright 2013 The Flutter 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 "backtrace.h" #include "gtest/gtest.h" #include "logging.h" namespace fml { namespace testing { TEST(BacktraceTest, CanGatherBacktrace) { if ...
engine/fml/backtrace_unittests.cc/0
{ "file_path": "engine/fml/backtrace_unittests.cc", "repo_id": "engine", "token_count": 321 }
305
// Copyright 2013 The Flutter 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/cpu_affinity.h" #include "flutter/fml/build_config.h" #include <fstream> #include <optional> #include <string> #ifdef FML_OS_ANDROI...
engine/fml/cpu_affinity.cc/0
{ "file_path": "engine/fml/cpu_affinity.cc", "repo_id": "engine", "token_count": 985 }
306
// Copyright 2013 The Flutter 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/hex_codec.h" #include <iostream> #include "gtest/gtest.h" TEST(HexCodecTest, CanEncode) { { auto result = fml::HexEncode("he...
engine/fml/hex_codec_unittest.cc/0
{ "file_path": "engine/fml/hex_codec_unittest.cc", "repo_id": "engine", "token_count": 275 }
307
// Copyright 2013 The Flutter 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 <cmath> #include "flutter/fml/math.h" #include "gtest/gtest.h" namespace flutter { namespace testing { TEST(MathTest, Constants) { // Don't u...
engine/fml/math_unittests.cc/0
{ "file_path": "engine/fml/math_unittests.cc", "repo_id": "engine", "token_count": 401 }
308
// Copyright 2013 The Flutter 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_MESSAGE_LOOP_H_ #define FLUTTER_FML_MESSAGE_LOOP_H_ #include "flutter/fml/macros.h" #include "flutter/fml/task_runner.h" namespace fm...
engine/fml/message_loop.h/0
{ "file_path": "engine/fml/message_loop.h", "repo_id": "engine", "token_count": 609 }
309
// Copyright 2013 The Flutter 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_ANDROID_JNI_UTIL_H_ #define FLUTTER_FML_PLATFORM_ANDROID_JNI_UTIL_H_ #include <jni.h> #include <vector> #include "flutter/f...
engine/fml/platform/android/jni_util.h/0
{ "file_path": "engine/fml/platform/android/jni_util.h", "repo_id": "engine", "token_count": 573 }
310
// Copyright 2013 The Flutter 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_PLATFORM_VERSION_H_ #define FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_ #include <sys/types.h> #include "flutter/...
engine/fml/platform/darwin/platform_version.h/0
{ "file_path": "engine/fml/platform/darwin/platform_version.h", "repo_id": "engine", "token_count": 192 }
311
// Copyright 2013 The Flutter 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/weak_nsobject.h" #include "flutter/fml/platform/darwin/scoped_nsautorelease_pool.h" #include "flutter/fml/platform/da...
engine/fml/platform/darwin/weak_nsobject.mm/0
{ "file_path": "engine/fml/platform/darwin/weak_nsobject.mm", "repo_id": "engine", "token_count": 759 }
312
// Copyright 2013 The Flutter 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/timerfd.h" #include <sys/types.h> #include <unistd.h> #include <cstring> #include "flutter/fml/eintr_wrapper.h" #inc...
engine/fml/platform/linux/timerfd.cc/0
{ "file_path": "engine/fml/platform/linux/timerfd.cc", "repo_id": "engine", "token_count": 769 }
313
// Copyright 2013 The Flutter 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/mapping.h" #include <fcntl.h> #include <io.h> #include <windows.h> #include <type_traits> #include "flutter/fml/file.h" #include "...
engine/fml/platform/win/mapping_win.cc/0
{ "file_path": "engine/fml/platform/win/mapping_win.cc", "repo_id": "engine", "token_count": 1376 }
314
// Copyright 2013 The Flutter 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_SHARED_THREAD_MERGER_H_ #define FLUTTER_FML_SHARED_THREAD_MERGER_H_ #include <condition_variable> #include <mutex> #include "flutter/...
engine/fml/shared_thread_merger.h/0
{ "file_path": "engine/fml/shared_thread_merger.h", "repo_id": "engine", "token_count": 921 }
315
// Copyright 2013 The Flutter 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_SYNCHRONIZATION_SHARED_MUTEX_STD_H_ #define FLUTTER_FML_SYNCHRONIZATION_SHARED_MUTEX_STD_H_ #include "flutter/fml/synchronization/shar...
engine/fml/synchronization/shared_mutex_std.h/0
{ "file_path": "engine/fml/synchronization/shared_mutex_std.h", "repo_id": "engine", "token_count": 266 }
316
// Copyright 2013 The Flutter 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" #include "flutter/fml/thread.h" #if defined(FML_OS_MACOSX) || defined(FML_OS_LINUX) || defined(FML_OS_ANDROID) #defi...
engine/fml/thread_unittests.cc/0
{ "file_path": "engine/fml/thread_unittests.cc", "repo_id": "engine", "token_count": 1915 }
317
# Defines the Chromium style for automatic reformatting. # http://clang.llvm.org/docs/ClangFormatStyleOptions.html BasedOnStyle: Chromium Standard: c++17 EmptyLineBeforeAccessModifier: Always
engine/impeller/.clang-format/0
{ "file_path": "engine/impeller/.clang-format", "repo_id": "engine", "token_count": 57 }
318
// Copyright 2013 The Flutter 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/canvas.h" #include <optional> #include <utility> #include "flutter/fml/logging.h" #include "flutter/fml/trace_event.h" #include "...
engine/impeller/aiks/canvas.cc/0
{ "file_path": "engine/impeller/aiks/canvas.cc", "repo_id": "engine", "token_count": 12507 }
319
// Copyright 2013 The Flutter 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_PAINT_H_ #define FLUTTER_IMPELLER_AIKS_PAINT_H_ #include <memory> #include "impeller/aiks/color_filter.h" #include "impelle...
engine/impeller/aiks/paint.h/0
{ "file_path": "engine/impeller/aiks/paint.h", "repo_id": "engine", "token_count": 1503 }
320
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_BASE_ALLOCATION_H_ #define FLUTTER_IMPELLER_BASE_ALLOCATION_H_ #include <cstdint> #include <memory> #include "flutter/fml/mappin...
engine/impeller/base/allocation.h/0
{ "file_path": "engine/impeller/base/allocation.h", "repo_id": "engine", "token_count": 533 }
321
// Copyright 2013 The Flutter 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/base/validation.h" #include <atomic> #include "flutter/fml/logging.h" namespace impeller { static std::atomic_int32_t sValidationLog...
engine/impeller/base/validation.cc/0
{ "file_path": "engine/impeller/base/validation.cc", "repo_id": "engine", "token_count": 554 }
322
// Copyright 2013 The Flutter 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 <filesystem> #include <system_error> #include "flutter/fml/backtrace.h" #include "flutter/fml/command_line.h" #include "flutter/fml/file.h" #incl...
engine/impeller/compiler/impellerc_main.cc/0
{ "file_path": "engine/impeller/compiler/impellerc_main.cc", "repo_id": "engine", "token_count": 4457 }
323
// Copyright 2013 The Flutter 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 RUNTIME_EFFECT_GLSL_ #define RUNTIME_EFFECT_GLSL_ #if defined(IMPELLER_GRAPHICS_BACKEND) // Note: The GLES backend uses name matching for attribu...
engine/impeller/compiler/shader_lib/flutter/runtime_effect.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/flutter/runtime_effect.glsl", "repo_id": "engine", "token_count": 232 }
324
// Copyright 2013 The Flutter 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 TYPES_GLSL_ #define TYPES_GLSL_ #extension GL_AMD_gpu_shader_half_float : enable #extension GL_AMD_gpu_shader_half_float_fetch : enable #extension...
engine/impeller/compiler/shader_lib/impeller/types.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/types.glsl", "repo_id": "engine", "token_count": 319 }
325
# Copyright 2013 The Flutter 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("core") { sources = [ "allocator.cc", "allocator.h", "buffer_view.cc", "...
engine/impeller/core/BUILD.gn/0
{ "file_path": "engine/impeller/core/BUILD.gn", "repo_id": "engine", "token_count": 579 }
326
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/core/texture_descriptor.h" #include <sstream> namespace impeller { std::string TextureDescriptorToString(const TextureDescriptor& des...
engine/impeller/core/texture_descriptor.cc/0
{ "file_path": "engine/impeller/core/texture_descriptor.cc", "repo_id": "engine", "token_count": 271 }
327
// Copyright 2013 The Flutter 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/display_list/skia_conversions.h" #include "display_list/dl_color.h" #include "third_party/skia/modules/skparagraph/include/Paragraph.h" ...
engine/impeller/display_list/skia_conversions.cc/0
{ "file_path": "engine/impeller/display_list/skia_conversions.cc", "repo_id": "engine", "token_count": 3282 }
328
// Copyright 2013 The Flutter 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/anonymous_contents.h" #include <memory> namespace impeller { std::shared_ptr<Contents> AnonymousContents::Make(Render...
engine/impeller/entity/contents/anonymous_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/anonymous_contents.cc", "repo_id": "engine", "token_count": 452 }
329
// Copyright 2013 The Flutter 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/contents.h" #include <optional> #include "fml/logging.h" #include "impeller/base/strings.h" #include "impeller/base/val...
engine/impeller/entity/contents/contents.cc/0
{ "file_path": "engine/impeller/entity/contents/contents.cc", "repo_id": "engine", "token_count": 2031 }
330
// Copyright 2013 The Flutter 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_INPUTS_CONTENTS_FILTER_INPUT_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_CONTENTS_FILTER_IN...
engine/impeller/entity/contents/filters/inputs/contents_filter_input.h/0
{ "file_path": "engine/impeller/entity/contents/filters/inputs/contents_filter_input.h", "repo_id": "engine", "token_count": 608 }
331
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/entity/contents/filters/morphology_filter_contents.h" #include <cmath> #include "impeller/core/formats.h" #include "impeller/entity/co...
engine/impeller/entity/contents/filters/morphology_filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/morphology_filter_contents.cc", "repo_id": "engine", "token_count": 2562 }
332
// Copyright 2013 The Flutter 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_RUNTIME_EFFECT_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_RUNTIME_EFFECT_CONTENTS_H_ #include <memory> ...
engine/impeller/entity/contents/runtime_effect_contents.h/0
{ "file_path": "engine/impeller/entity/contents/runtime_effect_contents.h", "repo_id": "engine", "token_count": 488 }
333
// Copyright 2013 The Flutter 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_TEXTURE_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_TEXTURE_CONTENTS_H_ #include <functional> #include <...
engine/impeller/entity/contents/texture_contents.h/0
{ "file_path": "engine/impeller/entity/contents/texture_contents.h", "repo_id": "engine", "token_count": 954 }
334
// Copyright 2013 The Flutter 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_playground.h" #include "impeller/entity/contents/content_context.h" #include "impeller/typographer/backends/skia/typograp...
engine/impeller/entity/entity_playground.cc/0
{ "file_path": "engine/impeller/entity/entity_playground.cc", "repo_id": "engine", "token_count": 933 }
335
// Copyright 2013 The Flutter 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/point_field_geometry.h" #include "impeller/geometry/color.h" #include "impeller/renderer/command_buffer.h" namespace i...
engine/impeller/entity/geometry/point_field_geometry.cc/0
{ "file_path": "engine/impeller/entity/geometry/point_field_geometry.cc", "repo_id": "engine", "token_count": 3819 }
336
// Copyright 2013 The Flutter 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/conversions.glsl> #include <impeller/types.glsl> uniform FrameInfo { mat4 mvp; float dst_y_coord_scale; float src_y_coord_scale; ...
engine/impeller/entity/shaders/blending/advanced_blend.vert/0
{ "file_path": "engine/impeller/entity/shaders/blending/advanced_blend.vert", "repo_id": "engine", "token_count": 294 }
337
// Copyright 2013 The Flutter 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 mediump float; uniform FragInfo { vec4 color; float square_size; } frag_info; out vec4 frag_color; void main() { vec2 square = floor(gl_...
engine/impeller/entity/shaders/debug/checkerboard.frag/0
{ "file_path": "engine/impeller/entity/shaders/debug/checkerboard.frag", "repo_id": "engine", "token_count": 145 }
338
// Copyright 2013 The Flutter 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 mediump float; #include <impeller/color.glsl> #include <impeller/dithering.glsl> #include <impeller/texture.glsl> #include <impeller/types.glsl>...
engine/impeller/entity/shaders/linear_gradient_ssbo_fill.frag/0
{ "file_path": "engine/impeller/entity/shaders/linear_gradient_ssbo_fill.frag", "repo_id": "engine", "token_count": 716 }
339
// Copyright 2013 The Flutter 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/color.glsl> #include <impeller/constants.glsl> #include <impeller/dithering.glsl> #include <impeller/gradient.glsl> #include <impeller/t...
engine/impeller/entity/shaders/sweep_gradient_ssbo_fill.frag/0
{ "file_path": "engine/impeller/entity/shaders/sweep_gradient_ssbo_fill.frag", "repo_id": "engine", "token_count": 716 }
340
#include <flutter/runtime_effect.glsl> uniform vec2 uSize; out vec4 fragColor; void main() { float v = FlutterFragCoord().y / uSize.y; fragColor = vec4(v, v, v, 1); }
engine/impeller/fixtures/gradient.frag/0
{ "file_path": "engine/impeller/fixtures/gradient.frag", "repo_id": "engine", "token_count": 73 }
341
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/geometry/color.h" #include <algorithm> #include <cmath> #include <functional> #include <sstream> #include <type_traits> #include "impe...
engine/impeller/geometry/color.cc/0
{ "file_path": "engine/impeller/geometry/color.cc", "repo_id": "engine", "token_count": 6884 }
342
// Copyright 2013 The Flutter 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_PATH_H_ #define FLUTTER_IMPELLER_GEOMETRY_PATH_H_ #include <functional> #include <optional> #include <tuple> #include <v...
engine/impeller/geometry/path.h/0
{ "file_path": "engine/impeller/geometry/path.h", "repo_id": "engine", "token_count": 2260 }
343
// Copyright 2013 The Flutter 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/golden_tests/golden_digest.h" #include <fstream> #include <sstream> static const double kMaxDiffPixelsPercent = 0.01; static const int...
engine/impeller/golden_tests/golden_digest.cc/0
{ "file_path": "engine/impeller/golden_tests/golden_digest.cc", "repo_id": "engine", "token_count": 1124 }
344
// Copyright 2013 The Flutter 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_WORKING_DIRECTORY_H_ #define FLUTTER_IMPELLER_GOLDEN_TESTS_WORKING_DIRECTORY_H_ #include <string> #include "flutter...
engine/impeller/golden_tests/working_directory.h/0
{ "file_path": "engine/impeller/golden_tests/working_directory.h", "repo_id": "engine", "token_count": 330 }
345
// Copyright 2013 The Flutter 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_IMAGE_BACKENDS_SKIA_COMPRESSED_IMAGE_SKIA_H_ #define FLUTTER_IMPELLER_PLAYGROUND_IMAGE_BACKENDS_SKIA_COMPRESSED_IMAGE_S...
engine/impeller/playground/image/backends/skia/compressed_image_skia.h/0
{ "file_path": "engine/impeller/playground/image/backends/skia/compressed_image_skia.h", "repo_id": "engine", "token_count": 362 }
346
// Copyright 2013 The Flutter 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/switches.h" #include <cstdlib> #include "flutter/fml/build_config.h" namespace impeller { PlaygroundSwitches::PlaygroundS...
engine/impeller/playground/switches.cc/0
{ "file_path": "engine/impeller/playground/switches.cc", "repo_id": "engine", "token_count": 351 }
347
// Copyright 2013 The Flutter 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_CAPABILITIES_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_CAPABILITIES_GLES_H_ #include <cstddef>...
engine/impeller/renderer/backend/gles/capabilities_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/capabilities_gles.h", "repo_id": "engine", "token_count": 1152 }
348
// Copyright 2013 The Flutter 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/pipeline_gles.h" namespace impeller { PipelineGLES::PipelineGLES(ReactorGLES::Ref reactor, ...
engine/impeller/renderer/backend/gles/pipeline_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/pipeline_gles.cc", "repo_id": "engine", "token_count": 860 }
349
// Copyright 2013 The Flutter 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/shader_library_gles.h" #include <sstream> #include "flutter/fml/closure.h" #include "impeller/base/config.h" #in...
engine/impeller/renderer/backend/gles/shader_library_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/shader_library_gles.cc", "repo_id": "engine", "token_count": 2222 }
350
// Copyright 2013 The Flutter 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_ALLOCATOR_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_ALLOCATOR_MTL_H_ #include <Metal/Metal.h>...
engine/impeller/renderer/backend/metal/allocator_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/allocator_mtl.h", "repo_id": "engine", "token_count": 529 }
351
// Copyright 2013 The Flutter 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_DEVICE_BUFFER_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_DEVICE_BUFFER_MTL_H_ #include <Metal/...
engine/impeller/renderer/backend/metal/device_buffer_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/device_buffer_mtl.h", "repo_id": "engine", "token_count": 738 }
352
// Copyright 2013 The Flutter 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_SAMPLER_LIBRARY_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SAMPLER_LIBRARY_MTL_H_ #include <Me...
engine/impeller/renderer/backend/metal/sampler_library_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/sampler_library_mtl.h", "repo_id": "engine", "token_count": 472 }
353
// Copyright 2013 The Flutter 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/vertex_descriptor_mtl.h" #include "flutter/fml/logging.h" #include "impeller/base/validation.h" namespace impel...
engine/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm", "repo_id": "engine", "token_count": 2875 }
354
// Copyright 2013 The Flutter 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/command_buffer_vk.h" #include <memory> #include <utility> #include "fml/logging.h" #include "impeller/renderer...
engine/impeller/renderer/backend/vulkan/command_buffer_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/command_buffer_vk.cc", "repo_id": "engine", "token_count": 1278 }
355
// Copyright 2013 The Flutter 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/waitable_event.h" #include "flutter/testing/testing.h" // IWYU pragma: keep #include "impeller/base/validation.h" #i...
engine/impeller/renderer/backend/vulkan/context_vk_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/context_vk_unittests.cc", "repo_id": "engine", "token_count": 3803 }
356
// Copyright 2013 The Flutter 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_FORMATS_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_FORMATS_VK_H_ #include <cstdint> #include ...
engine/impeller/renderer/backend/vulkan/formats_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/formats_vk.h", "repo_id": "engine", "token_count": 7533 }
357
// Copyright 2013 The Flutter 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_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_RENDER_PASS_VK_H_ #include "impeller/c...
engine/impeller/renderer/backend/vulkan/render_pass_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/render_pass_vk.h", "repo_id": "engine", "token_count": 1769 }
358
Vulkan Swapchains ================= Contains implementations of swapchains for Window System Integration (WSI) on different platforms.
engine/impeller/renderer/backend/vulkan/swapchain/README.md/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/swapchain/README.md", "repo_id": "engine", "token_count": 28 }
359
// Copyright 2013 The Flutter 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_TEXTURE_SOURCE_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_TEXTURE_SOURCE_VK_H_ #include "flut...
engine/impeller/renderer/backend/vulkan/texture_source_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/texture_source_vk.h", "repo_id": "engine", "token_count": 2114 }
360
// Copyright 2013 The Flutter 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/blit_pass.h" #include <memory> #include <utility> #include "impeller/base/strings.h" #include "impeller/base/validation.h" #in...
engine/impeller/renderer/blit_pass.cc/0
{ "file_path": "engine/impeller/renderer/blit_pass.cc", "repo_id": "engine", "token_count": 2052 }
361
// Copyright 2013 The Flutter 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/compute_pipeline_descriptor.h" #include "impeller/core/formats.h" #include "impeller/renderer/shader_function.h" #include "imp...
engine/impeller/renderer/compute_pipeline_descriptor.cc/0
{ "file_path": "engine/impeller/renderer/compute_pipeline_descriptor.cc", "repo_id": "engine", "token_count": 829 }
362
// Copyright 2013 The Flutter 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 <unordered_set> #include "flutter/testing/testing.h" #include "impeller/renderer/pipeline_descriptor.h" namespace impeller { namespace testing {...
engine/impeller/renderer/pipeline_descriptor_unittests.cc/0
{ "file_path": "engine/impeller/renderer/pipeline_descriptor_unittests.cc", "repo_id": "engine", "token_count": 249 }
363
// Copyright 2013 The Flutter 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/shader_function.h" namespace impeller { ShaderFunction::ShaderFunction(UniqueID parent_library_id, ...
engine/impeller/renderer/shader_function.cc/0
{ "file_path": "engine/impeller/renderer/shader_function.cc", "repo_id": "engine", "token_count": 396 }
364
// Copyright 2013 The Flutter 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_VERTEX_BUFFER_BUILDER_H_ #define FLUTTER_IMPELLER_RENDERER_VERTEX_BUFFER_BUILDER_H_ #include <initializer_list> #include...
engine/impeller/renderer/vertex_buffer_builder.h/0
{ "file_path": "engine/impeller/renderer/vertex_buffer_builder.h", "repo_id": "engine", "token_count": 1850 }
365
// Copyright 2013 The Flutter 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_ANIMATION_ANIMATION_CLIP_H_ #define FLUTTER_IMPELLER_SCENE_ANIMATION_ANIMATION_CLIP_H_ #include <memory> #include <unordere...
engine/impeller/scene/animation/animation_clip.h/0
{ "file_path": "engine/impeller/scene/animation/animation_clip.h", "repo_id": "engine", "token_count": 804 }
366
// Copyright 2013 The Flutter 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; //----------------------------------------------------------------------------- /// Materials. /// struct Color { r: float; g:...
engine/impeller/scene/importer/scene.fbs/0
{ "file_path": "engine/impeller/scene/importer/scene.fbs", "repo_id": "engine", "token_count": 1317 }
367
// Copyright 2013 The Flutter 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/scene_context.h" #include "impeller/core/formats.h" #include "impeller/core/host_buffer.h" #include "impeller/scene/material.h" #i...
engine/impeller/scene/scene_context.cc/0
{ "file_path": "engine/impeller/scene/scene_context.cc", "repo_id": "engine", "token_count": 1306 }
368
// Copyright 2013 The Flutter 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_SHADER_ARCHIVE_MULTI_ARCH_SHADER_ARCHIVE_WRITER_H_ #define FLUTTER_IMPELLER_SHADER_ARCHIVE_MULTI_ARCH_SHADER_ARCHIVE_WRITER_H_ #i...
engine/impeller/shader_archive/multi_arch_shader_archive_writer.h/0
{ "file_path": "engine/impeller/shader_archive/multi_arch_shader_archive_writer.h", "repo_id": "engine", "token_count": 433 }
369
// Copyright 2013 The Flutter 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/tessellator/tessellator.h" #include "third_party/libtess2/Include/tesselator.h" namespace impeller { static void* HeapAlloc(void* use...
engine/impeller/tessellator/tessellator.cc/0
{ "file_path": "engine/impeller/tessellator/tessellator.cc", "repo_id": "engine", "token_count": 12247 }
370
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_TRANSACTION_H_ #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_TRANSACTION_H_ #include <functional> #inc...
engine/impeller/toolkit/android/surface_transaction.h/0
{ "file_path": "engine/impeller/toolkit/android/surface_transaction.h", "repo_id": "engine", "token_count": 1648 }
371
// Copyright 2013 The Flutter 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/skia/text_frame_skia.h" #include <vector> #include "flutter/fml/logging.h" #include "impeller/typographer/backend...
engine/impeller/typographer/backends/skia/text_frame_skia.cc/0
{ "file_path": "engine/impeller/typographer/backends/skia/text_frame_skia.cc", "repo_id": "engine", "token_count": 1444 }
372
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_ #include <memory> #include <optional> #include "flutter/fml/mac...
engine/impeller/typographer/font.h/0
{ "file_path": "engine/impeller/typographer/font.h", "repo_id": "engine", "token_count": 818 }
373
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_TYPEFACE_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_TYPEFACE_H_ #include "flutter/fml/macros.h" #include "impeller/base/...
engine/impeller/typographer/typeface.h/0
{ "file_path": "engine/impeller/typographer/typeface.h", "repo_id": "engine", "token_count": 353 }
374
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/gpu/formats.h" namespace flutter { namespace gpu { // } // namespace gpu } // namespace flutter
engine/lib/gpu/formats.cc/0
{ "file_path": "engine/lib/gpu/formats.cc", "repo_id": "engine", "token_count": 89 }
375
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/gpu/render_pass.h" #include "flutter/lib/gpu/formats.h" #include "flutter/lib/gpu/render_pipeline.h" #include "flutter/lib/gpu/shade...
engine/lib/gpu/render_pass.cc/0
{ "file_path": "engine/lib/gpu/render_pass.cc", "repo_id": "engine", "token_count": 7355 }
376
{ "comment:0": "NOTE: THIS FILE IS GENERATED. DO NOT EDIT.", "comment:1": "Instead modify 'flutter/lib/snapshot/libraries.yaml' and follow the instructions therein.", "flutter": { "include": [ { "path": "../../../third_party/dart/sdk/lib/libraries.json", "target": "vm_common" } ...
engine/lib/snapshot/libraries.json/0
{ "file_path": "engine/lib/snapshot/libraries.json", "repo_id": "engine", "token_count": 194 }
377
// Copyright 2013 The Flutter 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_DART_RUNTIME_HOOKS_H_ #define FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_ #include "flutter/fml/macros.h" #include "third_party/dart/runti...
engine/lib/ui/dart_runtime_hooks.h/0
{ "file_path": "engine/lib/ui/dart_runtime_hooks.h", "repo_id": "engine", "token_count": 348 }
378
[{"family":"Roboto","fonts":[{"asset":"Roboto-Medium.ttf"}]}]
engine/lib/ui/fixtures/FontManifest.json/0
{ "file_path": "engine/lib/ui/fixtures/FontManifest.json", "repo_id": "engine", "token_count": 23 }
379
#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; // clamp(x, a, b) is equivalent t...
engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/43_fclamp.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/43_fclamp.frag", "repo_id": "engine", "token_count": 152 }
380
// Copyright 2013 The Flutter 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; // Examples can assume: // // ignore_for_file: deprecated_member_use // int foo = 0; // int bar = 0; // List<int> quux = <int>[]; // List<...
engine/lib/ui/hash_codes.dart/0
{ "file_path": "engine/lib/ui/hash_codes.dart", "repo_id": "engine", "token_count": 2930 }
381
// Copyright 2013 The Flutter 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_CANVAS_H_ #define FLUTTER_LIB_UI_PAINTING_CANVAS_H_ #include "flutter/display_list/dl_blend_mode.h" #include "flutter/disp...
engine/lib/ui/painting/canvas.h/0
{ "file_path": "engine/lib/ui/painting/canvas.h", "repo_id": "engine", "token_count": 3443 }
382
// Copyright 2013 The Flutter 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_FRAGMENT_SHADER_H_ #define FLUTTER_LIB_UI_PAINTING_FRAGMENT_SHADER_H_ #include "flutter/lib/ui/dart_wrapper.h" #include "f...
engine/lib/ui/painting/fragment_shader.h/0
{ "file_path": "engine/lib/ui/painting/fragment_shader.h", "repo_id": "engine", "token_count": 741 }
383
// Copyright 2013 The Flutter 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/common/task_runners.h" #include "flutter/fml/synchronization/count_down_latch.h" #include "flutter/fml/sync...
engine/lib/ui/painting/image_dispose_unittests.cc/0
{ "file_path": "engine/lib/ui/painting/image_dispose_unittests.cc", "repo_id": "engine", "token_count": 1594 }
384
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_REGISTRY_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_REGISTRY_H_ #include <functional> #include <se...
engine/lib/ui/painting/image_generator_registry.h/0
{ "file_path": "engine/lib/ui/painting/image_generator_registry.h", "repo_id": "engine", "token_count": 1409 }
385
// Copyright 2013 The Flutter 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_PATH_MEASURE_H_ #define FLUTTER_LIB_UI_PAINTING_PATH_MEASURE_H_ #include <vector> #include "flutter/lib/ui/dart_wrapper.h...
engine/lib/ui/painting/path_measure.h/0
{ "file_path": "engine/lib/ui/painting/path_measure.h", "repo_id": "engine", "token_count": 663 }
386
// Copyright 2013 The Flutter 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/single_frame_codec.h" #include <memory> #include "flutter/common/task_runners.h" #include "flutter/fml/synchronization/...
engine/lib/ui/painting/single_frame_codec_unittests.cc/0
{ "file_path": "engine/lib/ui/painting/single_frame_codec_unittests.cc", "repo_id": "engine", "token_count": 766 }
387
// Copyright 2013 The Flutter 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/semantics/semantics_update_builder.h" #include <utility> #include "flutter/lib/ui/floating_point.h" #include "flutter/lib/ui/ui_...
engine/lib/ui/semantics/semantics_update_builder.cc/0
{ "file_path": "engine/lib/ui/semantics/semantics_update_builder.cc", "repo_id": "engine", "token_count": 1907 }
388
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Built-in types and core primitives for a Flutter application. /// /// To use, import `dart:ui`. /// /// This library exposes the lowest-level services ...
engine/lib/ui/ui.dart/0
{ "file_path": "engine/lib/ui/ui.dart", "repo_id": "engine", "token_count": 476 }
389
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/ui/window/pointer_data_packet_converter.h" #include <cstring> #include "gtest/gtest.h" namespace flutter { namespace testing { vo...
engine/lib/ui/window/pointer_data_packet_converter_unittests.cc/0
{ "file_path": "engine/lib/ui/window/pointer_data_packet_converter_unittests.cc", "repo_id": "engine", "token_count": 12914 }
390
// Copyright 2013 The Flutter 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:math' as math; import 'package:image/image.dart'; import 'package:path/path.dar...
engine/lib/web_ui/dev/chrome.dart/0
{ "file_path": "engine/lib/web_ui/dev/chrome.dart", "repo_id": "engine", "token_count": 4887 }
391
// Copyright 2013 The Flutter 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 'package:path/path.dart' as path; import 'environment.dart'; class LicensesCom...
engine/lib/web_ui/dev/licenses.dart/0
{ "file_path": "engine/lib/web_ui/dev/licenses.dart", "repo_id": "engine", "token_count": 1177 }
392
# Copyright 2019 The Flutter 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/esbuild/esbuild.gni") import("//flutter/shell/version/version.gni") import("sources.gni") group("flutter_js") { public_deps = [ ...
engine/lib/web_ui/flutter_js/BUILD.gn/0
{ "file_path": "engine/lib/web_ui/flutter_js/BUILD.gn", "repo_id": "engine", "token_count": 315 }
393
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of ui; abstract class Scene { Future<Image> toImage(int width, int height); Image toImageSync(int width, int height); void dispose(); } abstra...
engine/lib/web_ui/lib/compositing.dart/0
{ "file_path": "engine/lib/web_ui/lib/compositing.dart", "repo_id": "engine", "token_count": 1066 }
394
// Copyright 2013 The Flutter 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; /// A function that returns current system time. typedef TimestampFunction = DateTime Function();...
engine/lib/web_ui/lib/src/engine/alarm_clock.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/alarm_clock.dart", "repo_id": "engine", "token_count": 1283 }
395
// Copyright 2013 The Flutter 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 '../vector_math.dart'; import 'layer.dart'; import 'layer_tree.dart'; import 'path.da...
engine/lib/web_ui/lib/src/engine/canvaskit/layer_scene_builder.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/layer_scene_builder.dart", "repo_id": "engine", "token_count": 2132 }
396
// Copyright 2013 The Flutter 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 'package:ui/ui.dart' as ui; import '../display.dart'; import '../dom.dart'; import 'rasterizer.dart'; /// A visible (on...
engine/lib/web_ui/lib/src/engine/canvaskit/render_canvas.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/render_canvas.dart", "repo_id": "engine", "token_count": 1685 }
397
// Copyright 2013 The Flutter 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.dart'; abstract class FallbackFontRegistry { List<int> getMissingCodePoints(List<int> codePoints, Li...
engine/lib/web_ui/lib/src/engine/font_fallbacks.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/font_fallbacks.dart", "repo_id": "engine", "token_count": 7050 }
398
// Copyright 2013 The Flutter 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 'path_utils.dart'; /// Chops cubic at Y extrema points and writes result to [dest]. /// /// ...
engine/lib/web_ui/lib/src/engine/html/path/cubic.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/path/cubic.dart", "repo_id": "engine", "token_count": 6728 }
399