text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BRANCHING_GLSL_
#define BRANCHING_GLSL_
#include <impeller/constants.glsl>
#include <impeller/types.glsl>
/// Perform an equality check for each ... | engine/impeller/compiler/shader_lib/impeller/branching.glsl/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/branching.glsl",
"repo_id": "engine",
"token_count": 933
} | 220 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/compiler/spirv_compiler.h"
#include <array>
#include "impeller/compiler/logger.h"
#include "impeller/compiler/types.h"
namespace impe... | engine/impeller/compiler/spirv_compiler.cc/0 | {
"file_path": "engine/impeller/compiler/spirv_compiler.cc",
"repo_id": "engine",
"token_count": 6145
} | 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 <memory>
#include "flutter/testing/testing.h"
#include "impeller/core/allocator.h"
#include "impeller/core/formats.h"
#include "impeller/core/text... | engine/impeller/core/allocator_unittests.cc/0 | {
"file_path": "engine/impeller/core/allocator_unittests.cc",
"repo_id": "engine",
"token_count": 1058
} | 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.
#ifndef FLUTTER_IMPELLER_CORE_RANGE_H_
#define FLUTTER_IMPELLER_CORE_RANGE_H_
#include <cstddef>
#include "flutter/fml/macros.h"
namespace impeller {
s... | engine/impeller/core/range.h/0 | {
"file_path": "engine/impeller/core/range.h",
"repo_id": "engine",
"token_count": 254
} | 223 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_CORE_VERTEX_BUFFER_H_
#define FLUTTER_IMPELLER_CORE_VERTEX_BUFFER_H_
#include "impeller/core/buffer_view.h"
#include "impeller/co... | engine/impeller/core/vertex_buffer.h/0 | {
"file_path": "engine/impeller/core/vertex_buffer.h",
"repo_id": "engine",
"token_count": 372
} | 224 |
# Android
## Rendering Backend Selection
Impeller supports both Vulkan and Open GL ES rendering on Android. Impeller will prefer rendering with Vulkan and fallback to OpenGL ES 2.0 for compatibility. With both the Vulkan and OpenGL ES, Impeller supports rendering on [all existing Android versions supported by Flutter... | engine/impeller/docs/android.md/0 | {
"file_path": "engine/impeller/docs/android.md",
"repo_id": "engine",
"token_count": 1008
} | 225 |
# Color blending
Impeller currently supports the same set of blending operations that
[Skia](https://api.skia.org/SkBlendMode_8h.html#ad96d76accb8ff5f3eafa29b91f7a25f0)
supports. Internally, Impeller distinguishes between two different kinds of
blend modes: Those which can be performed using the raster pipeline blend
... | engine/impeller/docs/blending.md/0 | {
"file_path": "engine/impeller/docs/blending.md",
"repo_id": "engine",
"token_count": 1038
} | 226 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_ATLAS_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_ATLAS_CONTENTS_H_
#include <functional>
#include <memo... | engine/impeller/entity/contents/atlas_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/atlas_contents.h",
"repo_id": "engine",
"token_count": 1456
} | 227 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BLEND_FILTER_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_BLEND_FILTER_CONTENTS_H_
#inclu... | engine/impeller/entity/contents/filters/blend_filter_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/blend_filter_contents.h",
"repo_id": "engine",
"token_count": 1382
} | 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 "impeller/entity/contents/filters/inputs/filter_input.h"
#include <memory>
#include <utility>
#include "flutter/fml/logging.h"
#include "impelle... | engine/impeller/entity/contents/filters/inputs/filter_input.cc/0 | {
"file_path": "engine/impeller/entity/contents/filters/inputs/filter_input.cc",
"repo_id": "engine",
"token_count": 1054
} | 229 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_SRGB_TO_LINEAR_FILTER_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_SRGB_TO_LINEAR_FILTER_C... | engine/impeller/entity/contents/filters/srgb_to_linear_filter_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/srgb_to_linear_filter_contents.h",
"repo_id": "engine",
"token_count": 435
} | 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.
#include "solid_color_contents.h"
#include "impeller/entity/contents/content_context.h"
#include "impeller/entity/entity.h"
#include "impeller/entity/geom... | engine/impeller/entity/contents/solid_color_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/solid_color_contents.cc",
"repo_id": "engine",
"token_count": 990
} | 231 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "impeller/core/formats.h"
#include "impeller/core/texture_descriptor.h"
#include "impeller/entity/contents/test/recording_rende... | engine/impeller/entity/contents/tiled_texture_contents_unittests.cc/0 | {
"file_path": "engine/impeller/entity/contents/tiled_texture_contents_unittests.cc",
"repo_id": "engine",
"token_count": 1197
} | 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 <algorithm>
#include "flutter/impeller/entity/geometry/circle_geometry.h"
#include "flutter/impeller/entity/geometry/line_geometry.h"
namespace... | engine/impeller/entity/geometry/circle_geometry.cc/0 | {
"file_path": "engine/impeller/entity/geometry/circle_geometry.cc",
"repo_id": "engine",
"token_count": 1373
} | 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.
#ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_RECT_GEOMETRY_H_
#define FLUTTER_IMPELLER_ENTITY_GEOMETRY_RECT_GEOMETRY_H_
#include "impeller/entity/geometry/geo... | engine/impeller/entity/geometry/rect_geometry.h/0 | {
"file_path": "engine/impeller/entity/geometry/rect_geometry.h",
"repo_id": "engine",
"token_count": 668
} | 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 <impeller/blending.glsl>
#include <impeller/color.glsl>
#include <impeller/types.glsl>
// kScreen = 0,
// kOverlay,
// kDarken,
// kLighten,
// k... | engine/impeller/entity/shaders/blending/blend_select.glsl/0 | {
"file_path": "engine/impeller/entity/shaders/blending/blend_select.glsl",
"repo_id": "engine",
"token_count": 707
} | 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.
precision mediump float;
layout(constant_id = 0) const float supports_decal = 1.0;
#include <impeller/constants.glsl>
#include <impeller/texture.glsl>
#i... | engine/impeller/entity/shaders/morphology_filter.frag/0 | {
"file_path": "engine/impeller/entity/shaders/morphology_filter.frag",
"repo_id": "engine",
"token_count": 549
} | 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.
uniform sampler2D SAMPLER_EXTERNAL_OES_texture_sampler;
in vec2 v_texture_coords;
in float v_alpha;
out vec4 frag_color;
void main() {
vec4 sampled =
... | engine/impeller/entity/shaders/texture_fill_external.frag/0 | {
"file_path": "engine/impeller/entity/shaders/texture_fill_external.frag",
"repo_id": "engine",
"token_count": 150
} | 237 |
layout(local_size_x = 128) in;
layout(std430) buffer;
struct SomeStruct {
vec2 vf;
uint i;
};
layout(binding = 0) writeonly buffer Output {
vec4 elements[];
}
output_data;
layout(binding = 1) readonly buffer Input0 {
int some_int;
ivec2 fixed_array[3];
vec4 elements[];
}
input_data0;
layout(binding = 2)... | engine/impeller/fixtures/sample.comp/0 | {
"file_path": "engine/impeller/fixtures/sample.comp",
"repo_id": "engine",
"token_count": 436
} | 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_IMPELLER_GEOMETRY_CONSTANTS_H_
#define FLUTTER_IMPELLER_GEOMETRY_CONSTANTS_H_
namespace impeller {
// e
constexpr float kE = 2.7182818284... | engine/impeller/geometry/constants.h/0 | {
"file_path": "engine/impeller/geometry/constants.h",
"repo_id": "engine",
"token_count": 574
} | 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.
#include "path_component.h"
#include <cmath>
namespace impeller {
/*
* Based on: https://en.wikipedia.org/wiki/B%C3%A9zier_curve#Specific_cases
*/
s... | engine/impeller/geometry/path_component.cc/0 | {
"file_path": "engine/impeller/geometry/path_component.cc",
"repo_id": "engine",
"token_count": 5170
} | 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_IMPELLER_GEOMETRY_SIGMA_H_
#define FLUTTER_IMPELLER_GEOMETRY_SIGMA_H_
#include "impeller/geometry/scalar.h"
namespace impeller {
/// For... | engine/impeller/geometry/sigma.h/0 | {
"file_path": "engine/impeller/geometry/sigma.h",
"repo_id": "engine",
"token_count": 697
} | 241 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <dlfcn.h>
#include <filesystem>
#include <memory>
#include "flutter/impeller/golden_tests/golden_playground_test.h"
#include "flutter/impeller/a... | engine/impeller/golden_tests/golden_playground_test_mac.cc/0 | {
"file_path": "engine/impeller/golden_tests/golden_playground_test_mac.cc",
"repo_id": "engine",
"token_count": 4083
} | 242 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/playground/backend/gles/playground_impl_gles.h"
#define IMPELLER_PLAYGROUND_SUPPORTS_ANGLE FML_OS_MACOSX
#if IMPELLER_PLAYGROUND_SUPPO... | engine/impeller/playground/backend/gles/playground_impl_gles.cc/0 | {
"file_path": "engine/impeller/playground/backend/gles/playground_impl_gles.cc",
"repo_id": "engine",
"token_count": 2715
} | 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.
#include "impeller/playground/image/decompressed_image.h"
#include <limits>
#include "flutter/fml/mapping.h"
#include "impeller/base/allocation.h"
names... | engine/impeller/playground/image/decompressed_image.cc/0 | {
"file_path": "engine/impeller/playground/image/decompressed_image.cc",
"repo_id": "engine",
"token_count": 1396
} | 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.
#ifndef FLUTTER_IMPELLER_PLAYGROUND_WIDGETS_H_
#define FLUTTER_IMPELLER_PLAYGROUND_WIDGETS_H_
#include <optional>
#include <tuple>
#include "impeller/bas... | engine/impeller/playground/widgets.h/0 | {
"file_path": "engine/impeller/playground/widgets.h",
"repo_id": "engine",
"token_count": 469
} | 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.
#include "impeller/renderer/backend/gles/context_gles.h"
#include <memory>
#include "impeller/base/config.h"
#include "impeller/base/validation.h"
#includ... | engine/impeller/renderer/backend/gles/context_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/context_gles.cc",
"repo_id": "engine",
"token_count": 1518
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_PIPELINE_LIBRARY_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_PIPELINE_LIBRARY_GLES_H_
#include "... | engine/impeller/renderer/backend/gles/pipeline_library_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/pipeline_library_gles.h",
"repo_id": "engine",
"token_count": 503
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SURFACE_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SURFACE_GLES_H_
#include <functional>
#inclu... | engine/impeller/renderer/backend/gles/surface_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/surface_gles.h",
"repo_id": "engine",
"token_count": 449
} | 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.
#include "impeller/renderer/backend/metal/blit_command_mtl.h"
#include "impeller/renderer/backend/metal/device_buffer_mtl.h"
#include "impeller/renderer/b... | engine/impeller/renderer/backend/metal/blit_command_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/blit_command_mtl.mm",
"repo_id": "engine",
"token_count": 1841
} | 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.
#include "impeller/renderer/backend/metal/formats_mtl.h"
#include <Metal/Metal.h>
#include <memory>
#include "impeller/renderer/render_pass.h"
namespace... | engine/impeller/renderer/backend/metal/formats_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/formats_mtl.mm",
"repo_id": "engine",
"token_count": 1697
} | 250 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_ALLOCATOR_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_ALLOCATOR_VK_H_
#include "impeller/core/... | engine/impeller/renderer/backend/vulkan/allocator_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/allocator_vk.h",
"repo_id": "engine",
"token_count": 994
} | 251 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_ENCODER_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_ENCODER_VK_H_
#include <cs... | engine/impeller/renderer/backend/vulkan/command_encoder_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/command_encoder_vk.h",
"repo_id": "engine",
"token_count": 1157
} | 252 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/descriptor_pool_vk.h"
#include <optional>
#include "impeller/base/validation.h"
#include "impeller/renderer/ba... | engine/impeller/renderer/backend/vulkan/descriptor_pool_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/descriptor_pool_vk.cc",
"repo_id": "engine",
"token_count": 2453
} | 253 |
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
#include <stdint.h>
namespace impeller {
// Maximum size to use VMA image suballocation. Any allocation greater than or
// equal to this value will use a dedicated VkDeviceMemory.
//
// This va... | engine/impeller/renderer/backend/vulkan/limits_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/limits_vk.h",
"repo_id": "engine",
"token_count": 204
} | 254 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <sys/types.h>
#include <functional>
#include <memory>
#include <utility>
#include "fml/synchronization/waitable_event.h"
#include "gtest/gtest.h"
... | engine/impeller/renderer/backend/vulkan/resource_manager_vk_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/resource_manager_vk_unittests.cc",
"repo_id": "engine",
"token_count": 908
} | 255 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_KHR_KHR_SURFACE_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_KHR_KHR_SURFACE... | engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_surface_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_surface_vk.h",
"repo_id": "engine",
"token_count": 592
} | 256 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/tracked_objects_vk.h"
#include "impeller/renderer/backend/vulkan/gpu_tracer_vk.h"
namespace impeller {
Tracke... | engine/impeller/renderer/backend/vulkan/tracked_objects_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/tracked_objects_vk.cc",
"repo_id": "engine",
"token_count": 752
} | 257 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/capabilities.h"
#include "impeller/core/formats.h"
namespace impeller {
Capabilities::Capabilities() = default;
Capabilities... | engine/impeller/renderer/capabilities.cc/0 | {
"file_path": "engine/impeller/renderer/capabilities.cc",
"repo_id": "engine",
"token_count": 3186
} | 258 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/compute_tessellator.h"
#include <cstdint>
#include "impeller/core/host_buffer.h"
#include "impeller/renderer/command_buffer.h... | engine/impeller/renderer/compute_tessellator.cc/0 | {
"file_path": "engine/impeller/renderer/compute_tessellator.cc",
"repo_id": "engine",
"token_count": 2367
} | 259 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_POOL_H_
#define FLUTTER_IMPELLER_RENDERER_POOL_H_
#include <cstdint>
#include <memory>
#include <mutex>
namespace impel... | engine/impeller/renderer/pool.h/0 | {
"file_path": "engine/impeller/renderer/pool.h",
"repo_id": "engine",
"token_count": 579
} | 260 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_SHADER_KEY_H_
#define FLUTTER_IMPELLER_RENDERER_SHADER_KEY_H_
#include <memory>
#include <string>
#include <unordered_ma... | engine/impeller/renderer/shader_key.h/0 | {
"file_path": "engine/impeller/renderer/shader_key.h",
"repo_id": "engine",
"token_count": 535
} | 261 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/third_party/flatbuffers/flatbuffers.gni")
import("../tools/impeller.gni")
config("runtime_stage_config") {
configs = [ "//flutter/impelle... | engine/impeller/runtime_stage/BUILD.gn/0 | {
"file_path": "engine/impeller/runtime_stage/BUILD.gn",
"repo_id": "engine",
"token_count": 548
} | 262 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_SCENE_ANIMATION_ANIMATION_TRANSFORMS_H_
#define FLUTTER_IMPELLER_SCENE_ANIMATION_ANIMATION_TRANSFORMS_H_
#include "impeller/geome... | engine/impeller/scene/animation/animation_transforms.h/0 | {
"file_path": "engine/impeller/scene/animation/animation_transforms.h",
"repo_id": "engine",
"token_count": 213
} | 263 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_SCENE_IMPORTER_SWITCHES_H_
#define FLUTTER_IMPELLER_SCENE_IMPORTER_SWITCHES_H_
#include <iostream>
#include <memory>
#include "f... | engine/impeller/scene/importer/switches.h/0 | {
"file_path": "engine/impeller/scene/importer/switches.h",
"repo_id": "engine",
"token_count": 350
} | 264 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_SCENE_SCENE_ENCODER_H_
#define FLUTTER_IMPELLER_SCENE_SCENE_ENCODER_H_
#include <memory>
#include <string>
#include <vector>
#in... | engine/impeller/scene/scene_encoder.h/0 | {
"file_path": "engine/impeller/scene/scene_encoder.h",
"repo_id": "engine",
"token_count": 415
} | 265 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_SHADER_ARCHIVE_SHADER_ARCHIVE_H_
#define FLUTTER_IMPELLER_SHADER_ARCHIVE_SHADER_ARCHIVE_H_
#include <memory>
#include <type_trait... | engine/impeller/shader_archive/shader_archive.h/0 | {
"file_path": "engine/impeller/shader_archive/shader_archive.h",
"repo_id": "engine",
"token_count": 987
} | 266 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/testing/android/native_activity/native_activity.gni")
import("../../tools/impeller.gni")
config("public_android_config") {
defines = [ "_... | engine/impeller/toolkit/android/BUILD.gn/0 | {
"file_path": "engine/impeller/toolkit/android/BUILD.gn",
"repo_id": "engine",
"token_count": 597
} | 267 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/toolkit/egl/config.h"
#include <utility>
namespace impeller {
namespace egl {
Config::Config(ConfigDescriptor descriptor, EGLConfig c... | engine/impeller/toolkit/egl/config.cc/0 | {
"file_path": "engine/impeller/toolkit/egl/config.cc",
"repo_id": "engine",
"token_count": 207
} | 268 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/compiled_action.gni")
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/malioc.gni")
import("//flutter/testing/testing.gn... | engine/impeller/tools/BUILD.gn/0 | {
"file_path": "engine/impeller/tools/BUILD.gn",
"repo_id": "engine",
"token_count": 194
} | 269 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_SKIA_TYPEFACE_SKIA_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_SKIA_TYPEFACE_SKIA_H_
#include "flutter/... | engine/impeller/typographer/backends/skia/typeface_skia.h/0 | {
"file_path": "engine/impeller/typographer/backends/skia/typeface_skia.h",
"repo_id": "engine",
"token_count": 480
} | 270 |
// Copyright 2013 The Flutter 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/testing/dl_test_snippets.h"
#include "flutter/testing/testing.h"
#include "impeller/playground/playground_test.h"
#include "... | engine/impeller/typographer/typographer_unittests.cc/0 | {
"file_path": "engine/impeller/typographer/typographer_unittests.cc",
"repo_id": "engine",
"token_count": 5799
} | 271 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_LIB_GPU_HOST_BUFFER_H_
#define FLUTTER_LIB_GPU_HOST_BUFFER_H_
#include "flutter/lib/gpu/export.h"
#include "flutter/lib/ui/dart_wrapper.h"... | engine/lib/gpu/host_buffer.h/0 | {
"file_path": "engine/lib/gpu/host_buffer.h",
"repo_id": "engine",
"token_count": 583
} | 272 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_LIB_GPU_RENDER_PIPELINE_H_
#define FLUTTER_LIB_GPU_RENDER_PIPELINE_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/expor... | engine/lib/gpu/render_pipeline.h/0 | {
"file_path": "engine/lib/gpu/render_pipeline.h",
"repo_id": "engine",
"token_count": 613
} | 273 |
// Copyright 2013 The Flutter 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_UI_H_
#define FLUTTER_LIB_UI_DART_UI_H_
#include "flutter/common/settings.h"
#include "flutter/fml/macros.h"
namespace flutte... | engine/lib/ui/dart_ui.h/0 | {
"file_path": "engine/lib/ui/dart_ui.h",
"repo_id": "engine",
"token_count": 192
} | 274 |
# ui_unittest Fixtures
The files in this directory are used by the ui_unittests binary.
The `ui_test.dart` file is either JIT or AOT compiled depending on the runtime
mode of the test binary. Other files in this folder are used by tests to verify
functionality.
See `//lib/ui/BUILD.gn` and `//testing/testing.gni` for... | engine/lib/ui/fixtures/README.md/0 | {
"file_path": "engine/lib/ui/fixtures/README.md",
"repo_id": "engine",
"token_count": 119
} | 275 |
# Copyright 2013 The Flutter 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("//build/compiled_action.gni")
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/testing/testing.gni")
if (enable_unittests) {
test_... | engine/lib/ui/fixtures/shaders/general_shaders/BUILD.gn/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/general_shaders/BUILD.gn",
"repo_id": "engine",
"token_count": 433
} | 276 |
#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;
// performs Hermite interpolation... | engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/49_smoothstep.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/49_smoothstep.frag",
"repo_id": "engine",
"token_count": 301
} | 277 |
// Copyright 2013 The Flutter 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/color_filter.h"
#include <cstring>
#include "flutter/lib/ui/ui_dart_state.h"
#include "third_party/tonic/converter/dart... | engine/lib/ui/painting/color_filter.cc/0 | {
"file_path": "engine/lib/ui/painting/color_filter.cc",
"repo_id": "engine",
"token_count": 661
} | 278 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/lib/ui/painting/image.h"
#include <algorithm>
#include <limits>
#include "tonic/logging/dart_invoke.h"
#if IMPELLER_SUPPORTS_RENDERING
... | engine/lib/ui/painting/image.cc/0 | {
"file_path": "engine/lib/ui/painting/image.cc",
"repo_id": "engine",
"token_count": 636
} | 279 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/lib/ui/painting/image_encoding_impeller.h"
#include "flutter/lib/ui/painting/image.h"
#include "impeller/core/device_buffer.h"
#include ... | engine/lib/ui/painting/image_encoding_impeller.cc/0 | {
"file_path": "engine/lib/ui/painting/image_encoding_impeller.cc",
"repo_id": "engine",
"token_count": 3957
} | 280 |
// Copyright 2013 The Flutter 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_SHADER_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_SHADER_H_
#include "flutter/lib/ui/dart_wrapper.h"
#include "flutter... | engine/lib/ui/painting/image_shader.h/0 | {
"file_path": "engine/lib/ui/painting/image_shader.h",
"repo_id": "engine",
"token_count": 606
} | 281 |
// Copyright 2013 The Flutter 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_PICTURE_H_
#define FLUTTER_LIB_UI_PAINTING_PICTURE_H_
#include "flutter/display_list/display_list.h"
#include "flutter/flo... | engine/lib/ui/painting/picture.h/0 | {
"file_path": "engine/lib/ui/painting/picture.h",
"repo_id": "engine",
"token_count": 1174
} | 282 |
// Copyright 2013 The Flutter 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;
/// Signature of callbacks that have no arguments and return no data.
typedef VoidCallback = void Function();
/// Signature for [Platform... | engine/lib/ui/platform_dispatcher.dart/0 | {
"file_path": "engine/lib/ui/platform_dispatcher.dart",
"repo_id": "engine",
"token_count": 34187
} | 283 |
// Copyright 2013 The Flutter 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/string_attribute.h"
#include "flutter/fml/logging.h"
#include "flutter/lib/ui/ui_dart_state.h"
#include "third_party/to... | engine/lib/ui/semantics/string_attribute.cc/0 | {
"file_path": "engine/lib/ui/semantics/string_attribute.cc",
"repo_id": "engine",
"token_count": 620
} | 284 |
// Copyright 2013 The Flutter 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_UI_DART_STATE_H_
#define FLUTTER_LIB_UI_UI_DART_STATE_H_
#include <memory>
#include <string>
#include <utility>
#include "flutter/... | engine/lib/ui/ui_dart_state.h/0 | {
"file_path": "engine/lib/ui/ui_dart_state.h",
"repo_id": "engine",
"token_count": 2706
} | 285 |
// Copyright 2013 The Flutter 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_PLATFORM_MESSAGE_RESPONSE_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_H_
#include <vector>
#include "flutter... | engine/lib/ui/window/platform_message_response.h/0 | {
"file_path": "engine/lib/ui/window/platform_message_response.h",
"repo_id": "engine",
"token_count": 348
} | 286 |
// Copyright 2013 The Flutter 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_VIEWPORT_METRICS_H_
#define FLUTTER_LIB_UI_WINDOW_VIEWPORT_METRICS_H_
#include <ostream>
#include <vector>
namespace flutte... | engine/lib/ui/window/viewport_metrics.h/0 | {
"file_path": "engine/lib/ui/window/viewport_metrics.h",
"repo_id": "engine",
"token_count": 1194
} | 287 |
// Copyright 2013 The Flutter 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' as io;
import 'package:args/command_runner.dart';
import 'package:path/path.dart' as path;
import 'environment.dart... | engine/lib/web_ui/dev/clean.dart/0 | {
"file_path": "engine/lib/web_ui/dev/clean.dart",
"repo_id": "engine",
"token_count": 700
} | 288 |
// Copyright 2013 The Flutter 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/args.dart';
import 'package:http/http.dart';
import 'package:path/path.dart' as path;
import 'cipd.dart';
im... | engine/lib/web_ui/dev/package_roller.dart/0 | {
"file_path": "engine/lib/web_ui/dev/package_roller.dart",
"repo_id": "engine",
"token_count": 5281
} | 289 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const isBlink = () => {
return (navigator.vendor === 'Google Inc.') ||
(navigator.agent === 'Edg/');
}
const hasImageCodecs = () => {
if (typeof I... | engine/lib/web_ui/flutter_js/src/browser_environment.js/0 | {
"file_path": "engine/lib/web_ui/flutter_js/src/browser_environment.js",
"repo_id": "engine",
"token_count": 534
} | 290 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(yjbanov): rename this file to web_only_api.dart.
// https://github.com/flutter/flutter/issues/100394
// Rather than e... | engine/lib/web_ui/lib/initialization.dart/0 | {
"file_path": "engine/lib/web_ui/lib/initialization.dart",
"repo_id": "engine",
"token_count": 1310
} | 291 |
// Copyright 2013 The Flutter 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:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import 'browser_detection.dart'... | engine/lib/web_ui/lib/src/engine/canvas_pool.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvas_pool.dart",
"repo_id": "engine",
"token_count": 16479
} | 292 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
/// A Rasterizer which uses one or many on-screen WebGL contexts to display the
//... | engine/lib/web_ui/lib/src/engine/canvaskit/multi_surface_rasterizer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/multi_surface_rasterizer.dart",
"repo_id": "engine",
"token_count": 811
} | 293 |
// Copyright 2013 The Flutter 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 '../browser_detection.dart';
import '../configuration.dart';
import '../display.dart'... | engine/lib/web_ui/lib/src/engine/canvaskit/surface.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/surface.dart",
"repo_id": "engine",
"token_count": 6990
} | 294 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
class FrameTimingRecorder {
final int _vsyncStartMicros = _currentFrameVsyncStar... | engine/lib/web_ui/lib/src/engine/frame_timing_recorder.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/frame_timing_recorder.dart",
"repo_id": "engine",
"token_count": 1145
} | 295 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:collection' show IterableBase;
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import 'conic.dart';... | engine/lib/web_ui/lib/src/engine/html/path/path_metrics.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/path_metrics.dart",
"repo_id": "engine",
"token_count": 11186
} | 296 |
// Copyright 2013 The Flutter 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 '../../browser_detection.dart';
import '../../dom.dart';
import '../../html_image_cod... | engine/lib/web_ui/lib/src/engine/html/shaders/image_shader.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/shaders/image_shader.dart",
"repo_id": "engine",
"token_count": 3842
} | 297 |
// Copyright 2013 The Flutter 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:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import 'package:web_locale_keymap/web_locale_keymap.dart' as... | engine/lib/web_ui/lib/src/engine/keyboard_binding.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/keyboard_binding.dart",
"repo_id": "engine",
"token_count": 9241
} | 298 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../dom.dart';
/// Returns the name of a slot from its `viewId`.
///
/// This is used by the [renderContent] function of the [PlatformViewManager]
... | engine/lib/web_ui/lib/src/engine/platform_views/slots.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/platform_views/slots.dart",
"repo_id": "engine",
"token_count": 520
} | 299 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../dom.dart';
import '../semantics.dart';
import '../util.dart';
/// Provides accessibility for dialogs.
///
/// See also [Role.dialog].
class Dia... | engine/lib/web_ui/lib/src/engine/semantics/dialog.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/dialog.dart",
"repo_id": "engine",
"token_count": 1866
} | 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.
import 'dart:convert';
import 'dart:typed_data';
import 'message_codec.dart';
import 'serialization.dart';
/// [MessageCodec] with unencoded binary messa... | engine/lib/web_ui/lib/src/engine/services/message_codecs.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/services/message_codecs.dart",
"repo_id": "engine",
"token_count": 6687
} | 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.
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
import 'package:ui/ui.dart' as ui;
class SkwasmPicture extend... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/picture.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/picture.dart",
"repo_id": "engine",
"token_count": 610
} | 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.
import 'dart:_wasm';
import 'dart:js_interop';
@JS()
@staticInterop
class WebAssemblyMemory {}
extension WebAssemblyMemoryExtension on WebAssemblyMemory ... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/skwasm_module.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/skwasm_module.dart",
"repo_id": "engine",
"token_count": 215
} | 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.
import 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../html/bitmap_canvas.dart';
import '../profiler.dart';
import '../view_embedder/style_ma... | engine/lib/web_ui/lib/src/engine/text/canvas_paragraph.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/canvas_paragraph.dart",
"repo_id": "engine",
"token_count": 7828
} | 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.
import 'dart:js_interop';
import '../dom.dart';
import 'text_editing.dart';
/// Provides default functionality for listening to HTML composition events.
... | engine/lib/web_ui/lib/src/engine/text_editing/composition_aware_mixin.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text_editing/composition_aware_mixin.dart",
"repo_id": "engine",
"token_count": 986
} | 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.
import 'dart:async';
import 'package:ui/src/engine.dart';
/// Encapsulates view objects, and their optional metadata indexed by `viewId`.
class FlutterView... | engine/lib/web_ui/lib/src/engine/view_embedder/flutter_view_manager.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/flutter_view_manager.dart",
"repo_id": "engine",
"token_count": 1342
} | 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.
import 'package:ui/src/engine.dart';
/// A function which takes a unique `id` and some `params` and creates an HTML
/// element.
typedef ParameterizedPlat... | engine/lib/web_ui/lib/ui_web/src/ui_web/platform_view_registry.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/platform_view_registry.dart",
"repo_id": "engine",
"token_count": 562
} | 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 "export.h"
#include "helpers.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/pathops/SkPathOps.h"
using n... | engine/lib/web_ui/skwasm/path.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/path.cpp",
"repo_id": "engine",
"token_count": 4111
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
impo... | engine/lib/web_ui/test/canvaskit/backdrop_filter_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/backdrop_filter_golden_test.dart",
"repo_id": "engine",
"token_count": 2577
} | 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.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
... | engine/lib/web_ui/test/canvaskit/initialization/services_vs_ui_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/initialization/services_vs_ui_test.dart",
"repo_id": "engine",
"token_count": 843
} | 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.
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pack... | engine/lib/web_ui/test/canvaskit/shader_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/shader_test.dart",
"repo_id": "engine",
"token_count": 1925
} | 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.
@TestOn('browser')
library;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pa... | engine/lib/web_ui/test/engine/assets_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/assets_test.dart",
"repo_id": "engine",
"token_count": 1641
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart' as ui;
void main() {
internalBootstrapBrowser... | engine/lib/web_ui/test/engine/image/image_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/image/image_test.dart",
"repo_id": "engine",
"token_count": 834
} | 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.
import 'dart:async';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engin... | engine/lib/web_ui/test/engine/platform_views/message_handler_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/platform_views/message_handler_test.dart",
"repo_id": "engine",
"token_count": 4033
} | 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.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:... | engine/lib/web_ui/test/engine/semantics/semantics_multi_view_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/semantics/semantics_multi_view_test.dart",
"repo_id": "engine",
"token_count": 1659
} | 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.
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/vector_math.dart';... | engine/lib/web_ui/test/engine/vector_math_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/vector_math_test.dart",
"repo_id": "engine",
"token_count": 489
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '../common/test_initialization... | engine/lib/web_ui/test/fallbacks/fallbacks_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/fallbacks/fallbacks_test.dart",
"repo_id": "engine",
"token_count": 273
} | 317 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
void main... | engine/lib/web_ui/test/html/dom_canvas_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/dom_canvas_test.dart",
"repo_id": "engine",
"token_count": 1057
} | 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.
import 'dart:async';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import 'package:web_engine_tester/golden_tester.dart';
typedef Can... | engine/lib/web_ui/test/html/paragraph/helper.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/paragraph/helper.dart",
"repo_id": "engine",
"token_count": 1181
} | 319 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.