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.
import("../tools/impeller.gni")
config("impeller_canvas_recorder_config") {
defines = [ "IMPELLER_TRACE_CANVAS" ]
}
impeller_component("aiks") {
sources... | engine/impeller/aiks/BUILD.gn/0 | {
"file_path": "engine/impeller/aiks/BUILD.gn",
"repo_id": "engine",
"token_count": 1559
} | 212 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/testing/testing.h"
#include "impeller/aiks/canvas_recorder.h"
namespace impeller {
namespace testing {
namespace {
class Serializer {
p... | engine/impeller/aiks/canvas_recorder_unittests.cc/0 | {
"file_path": "engine/impeller/aiks/canvas_recorder_unittests.cc",
"repo_id": "engine",
"token_count": 2738
} | 213 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_AIKS_PICTURE_H_
#define FLUTTER_IMPELLER_AIKS_PICTURE_H_
#include <deque>
#include <memory>
#include <optional>
#include "flutte... | engine/impeller/aiks/picture.h/0 | {
"file_path": "engine/impeller/aiks/picture.h",
"repo_id": "engine",
"token_count": 352
} | 214 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_BASE_COMPARABLE_H_
#define FLUTTER_IMPELLER_BASE_COMPARABLE_H_
#include <cstddef>
#include <functional>
#include <map>
#include <... | engine/impeller/base/comparable.h/0 | {
"file_path": "engine/impeller/base/comparable.h",
"repo_id": "engine",
"token_count": 1031
} | 215 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/shell/version/version.gni")
impeller_component("utilities") {
# Current versions of libcx... | engine/impeller/compiler/BUILD.gn/0 | {
"file_path": "engine/impeller/compiler/BUILD.gn",
"repo_id": "engine",
"token_count": 1102
} | 216 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_COMPILER_LOGGER_H_
#define FLUTTER_IMPELLER_COMPILER_LOGGER_H_
#include <sstream>
#include <string>
#include "flutter/fml/loggin... | engine/impeller/compiler/logger.h/0 | {
"file_path": "engine/impeller/compiler/logger.h",
"repo_id": "engine",
"token_count": 389
} | 217 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COLOR_GLSL_
#define COLOR_GLSL_
#include <impeller/branching.glsl>
#include <impeller/types.glsl>
/// Convert a premultiplied color (a color whic... | engine/impeller/compiler/shader_lib/impeller/color.glsl/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/color.glsl",
"repo_id": "engine",
"token_count": 535
} | 218 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_COMPILER_SPIRV_COMPILER_H_
#define FLUTTER_IMPELLER_COMPILER_SPIRV_COMPILER_H_
#include <cstdint>
#include <vector>
#include "fl... | engine/impeller/compiler/spirv_compiler.h/0 | {
"file_path": "engine/impeller/compiler/spirv_compiler.h",
"repo_id": "engine",
"token_count": 817
} | 219 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/core/buffer_view.h"
namespace impeller {
//
} // namespace impeller
| engine/impeller/core/buffer_view.cc/0 | {
"file_path": "engine/impeller/core/buffer_view.cc",
"repo_id": "engine",
"token_count": 76
} | 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.
import("//flutter/impeller/tools/impeller.gni")
impeller_component("skia_conversions") {
sources = [
"skia_conversions.cc",
"skia_conversions.h",
... | engine/impeller/display_list/BUILD.gn/0 | {
"file_path": "engine/impeller/display_list/BUILD.gn",
"repo_id": "engine",
"token_count": 792
} | 221 |
# Android CPU Profiling
Android devices have different performance characteristics than iOS devices, CPU traces frequently reveal surprising performance issues, such as https://github.com/flutter/engine/pull/48303 . This document describes the steps to capture an equivalent [flame graph](https://cacm.acm.org/magazines... | engine/impeller/docs/android_cpu_profile.md/0 | {
"file_path": "engine/impeller/docs/android_cpu_profile.md",
"repo_id": "engine",
"token_count": 726
} | 222 |
# Impeller's Coordinate System
**TL;DR, Impeller uses the Metal coordinate system.**
This document describes the Impeller coordinate system. This is the coordinate
system assumed by all Impeller sub-subsystems and users of Impeller itself.
All sub-systems that deal with interacting with backend client rendering APIs... | engine/impeller/docs/coordinate_system.md/0 | {
"file_path": "engine/impeller/docs/coordinate_system.md",
"repo_id": "engine",
"token_count": 961
} | 223 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/contents/checkerboard_contents.h"
#include "impeller/core/formats.h"
#include "impeller/entity/contents/content_context.h"
#incl... | engine/impeller/entity/contents/checkerboard_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/checkerboard_contents.cc",
"repo_id": "engine",
"token_count": 714
} | 224 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/contents/filters/border_mask_blur_filter_contents.h"
#include "impeller/entity/contents/content_context.h"
#include "impeller/en... | engine/impeller/entity/contents/filters/border_mask_blur_filter_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/filters/border_mask_blur_filter_contents.cc",
"repo_id": "engine",
"token_count": 2357
} | 225 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_INPUT_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_INPUT_H_
#include <... | engine/impeller/entity/contents/filters/inputs/filter_input.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/inputs/filter_input.h",
"repo_id": "engine",
"token_count": 1234
} | 226 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/contents/filters/yuv_to_rgb_filter_contents.h"
#include "impeller/core/formats.h"
#include "impeller/entity/contents/anonymous_c... | engine/impeller/entity/contents/filters/yuv_to_rgb_filter_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/filters/yuv_to_rgb_filter_contents.cc",
"repo_id": "engine",
"token_count": 1994
} | 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_SOLID_COLOR_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_SOLID_COLOR_CONTENTS_H_
#include <memory>
#incl... | engine/impeller/entity/contents/solid_color_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/solid_color_contents.h",
"repo_id": "engine",
"token_count": 633
} | 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 "vertices_contents.h"
#include "impeller/entity/contents/content_context.h"
#include "impeller/entity/contents/filters/color_filter_contents.h"
#... | engine/impeller/entity/contents/vertices_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/vertices_contents.cc",
"repo_id": "engine",
"token_count": 2654
} | 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_GEOMETRY_CIRCLE_GEOMETRY_H_
#define FLUTTER_IMPELLER_ENTITY_GEOMETRY_CIRCLE_GEOMETRY_H_
#include "impeller/entity/geometry... | engine/impeller/entity/geometry/circle_geometry.h/0 | {
"file_path": "engine/impeller/entity/geometry/circle_geometry.h",
"repo_id": "engine",
"token_count": 773
} | 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 "flutter/impeller/entity/geometry/round_rect_geometry.h"
namespace impeller {
RoundRectGeometry::RoundRectGeometry(const Rect& bounds, const Siz... | engine/impeller/entity/geometry/round_rect_geometry.cc/0 | {
"file_path": "engine/impeller/entity/geometry/round_rect_geometry.cc",
"repo_id": "engine",
"token_count": 1037
} | 231 |
#version 450
// Copyright 2013 The Flutter 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/texture.glsl>
#include <impeller/types.glsl>
#include "bl... | engine/impeller/entity/shaders/blending/framebuffer_blend.frag/0 | {
"file_path": "engine/impeller/entity/shaders/blending/framebuffer_blend.frag",
"repo_id": "engine",
"token_count": 645
} | 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 <impeller/conversions.glsl>
#include <impeller/types.glsl>
uniform FrameInfo {
mat4 mvp;
float texture_sampler_y_coord_scale;
}
frame_info;
... | engine/impeller/entity/shaders/morphology_filter.vert/0 | {
"file_path": "engine/impeller/entity/shaders/morphology_filter.vert",
"repo_id": "engine",
"token_count": 208
} | 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.
precision mediump float;
#include <impeller/constants.glsl>
#include <impeller/types.glsl>
uniform f16sampler2D texture_sampler;
uniform FragInfo {
ve... | engine/impeller/entity/shaders/texture_fill_strict_src.frag/0 | {
"file_path": "engine/impeller/entity/shaders/texture_fill_strict_src.frag",
"repo_id": "engine",
"token_count": 389
} | 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.
uniform FrameInfo {
float current_time;
vec2 cursor_position;
vec2 window_size;
}
frame_info;
in vec2 interpolated_texture_coordinates;
out vec4 fr... | engine/impeller/fixtures/box_fade.frag/0 | {
"file_path": "engine/impeller/fixtures/box_fade.frag",
"repo_id": "engine",
"token_count": 228
} | 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.
uniform FragInfo {
vec4 unused_color;
vec4 color;
}
frag_info;
in vec2 v_position;
out vec4 frag_color;
float SphereDistance(vec2 position, float ra... | engine/impeller/fixtures/inactive_uniforms.frag/0 | {
"file_path": "engine/impeller/fixtures/inactive_uniforms.frag",
"repo_id": "engine",
"token_count": 138
} | 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 FragInfo {
vec4 color;
}
frag_info;
out vec4 frag_color;
void main() {
frag_color = frag_info.color;
}
| engine/impeller/fixtures/sample.frag/0 | {
"file_path": "engine/impeller/fixtures/sample.frag",
"repo_id": "engine",
"token_count": 91
} | 237 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_GEOMETRY_GEOMETRY_ASSERTS_H_
#define FLUTTER_IMPELLER_GEOMETRY_GEOMETRY_ASSERTS_H_
#include <array>
#include <iostream>
#include... | engine/impeller/geometry/geometry_asserts.h/0 | {
"file_path": "engine/impeller/geometry/geometry_asserts.h",
"repo_id": "engine",
"token_count": 3710
} | 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_PATH_COMPONENT_H_
#define FLUTTER_IMPELLER_GEOMETRY_PATH_COMPONENT_H_
#include <functional>
#include <type_traits>
#incl... | engine/impeller/geometry/path_component.h/0 | {
"file_path": "engine/impeller/geometry/path_component.h",
"repo_id": "engine",
"token_count": 2145
} | 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 "flutter/impeller/golden_tests/golden_playground_test.h"
#include "impeller/aiks/picture.h"
namespace impeller {
GoldenPlaygroundTest::GoldenPl... | engine/impeller/golden_tests/golden_playground_test_stub.cc/0 | {
"file_path": "engine/impeller/golden_tests/golden_playground_test_stub.cc",
"repo_id": "engine",
"token_count": 621
} | 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_PLAYGROUND_BACKEND_GLES_PLAYGROUND_IMPL_GLES_H_
#define FLUTTER_IMPELLER_PLAYGROUND_BACKEND_GLES_PLAYGROUND_IMPL_GLES_H_
#include... | engine/impeller/playground/backend/gles/playground_impl_gles.h/0 | {
"file_path": "engine/impeller/playground/backend/gles/playground_impl_gles.h",
"repo_id": "engine",
"token_count": 482
} | 241 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_PLAYGROUND_IMAGE_DECOMPRESSED_IMAGE_H_
#define FLUTTER_IMPELLER_PLAYGROUND_IMAGE_DECOMPRESSED_IMAGE_H_
#include <memory>
#include... | engine/impeller/playground/image/decompressed_image.h/0 | {
"file_path": "engine/impeller/playground/image/decompressed_image.h",
"repo_id": "engine",
"token_count": 458
} | 242 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/impeller/tools/impeller.gni")
if (impeller_enable_compute) {
impeller_shaders("compute_shaders") {
name = "compute"
enable_opengl... | engine/impeller/renderer/BUILD.gn/0 | {
"file_path": "engine/impeller/renderer/BUILD.gn",
"repo_id": "engine",
"token_count": 1665
} | 243 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_CONTEXT_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_CONTEXT_GLES_H_
#include "impeller/base/back... | engine/impeller/renderer/backend/gles/context_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/context_gles.h",
"repo_id": "engine",
"token_count": 1250
} | 244 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/gles/proc_table_gles.h"
#include <sstream>
#include "fml/closure.h"
#include "impeller/base/allocation.h"
#include "i... | engine/impeller/renderer/backend/gles/proc_table_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/proc_table_gles.cc",
"repo_id": "engine",
"token_count": 5675
} | 245 |
# `MockGLES`
This directory contains a mock implementation of the GLES backend.
Most functions are implemented as no-ops, have a default implementation that is not configurable, or just record the call. The latter is useful for testing:
```cc
TEST(MockGLES, Example) {
// Creates a mock GLES implementation and sets... | engine/impeller/renderer/backend/gles/test/README.md/0 | {
"file_path": "engine/impeller/renderer/backend/gles/test/README.md",
"repo_id": "engine",
"token_count": 537
} | 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_METAL_BLIT_PASS_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_BLIT_PASS_MTL_H_
#include <Metal/Metal.h>... | engine/impeller/renderer/backend/metal/blit_pass_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/blit_pass_mtl.h",
"repo_id": "engine",
"token_count": 1127
} | 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_METAL_GPU_TRACER_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_GPU_TRACER_MTL_H_
#include <Metal/Metal.... | engine/impeller/renderer/backend/metal/gpu_tracer_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/gpu_tracer_mtl.h",
"repo_id": "engine",
"token_count": 585
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_FUNCTION_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_FUNCTION_MTL_H_
#include <Me... | engine/impeller/renderer/backend/metal/shader_function_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/shader_function_mtl.h",
"repo_id": "engine",
"token_count": 599
} | 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 "flutter/testing/testing.h" // IWYU pragma: keep
#include "gtest/gtest.h"
#include "impeller/core/device_buffer_descriptor.h"
#include "impeller/... | engine/impeller/renderer/backend/vulkan/allocator_vk_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/allocator_vk_unittests.cc",
"repo_id": "engine",
"token_count": 1447
} | 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.
#include <thread>
#include "flutter/testing/testing.h" // IWYU pragma: keep
#include "fml/synchronization/waitable_event.h"
#include "impeller/renderer/b... | engine/impeller/renderer/backend/vulkan/command_encoder_vk_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/command_encoder_vk_unittests.cc",
"repo_id": "engine",
"token_count": 1079
} | 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_DESCRIPTOR_POOL_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DESCRIPTOR_POOL_VK_H_
#include <cs... | engine/impeller/renderer/backend/vulkan/descriptor_pool_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/descriptor_pool_vk.h",
"repo_id": "engine",
"token_count": 1247
} | 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.
// FLUTTER_NOLINT: https://github.com/flutter/flutter/issues/123467
#include "impeller/renderer/backend/vulkan/pipeline_cache_vk.h"
#include <sstream>
#... | engine/impeller/renderer/backend/vulkan/pipeline_cache_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/pipeline_cache_vk.cc",
"repo_id": "engine",
"token_count": 2194
} | 253 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/sampler_library_vk.h"
#include "impeller/renderer/backend/vulkan/context_vk.h"
#include "impeller/renderer/back... | engine/impeller/renderer/backend/vulkan/sampler_library_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/sampler_library_vk.cc",
"repo_id": "engine",
"token_count": 407
} | 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 "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_image_vk.h"
namespace impeller {
KHRSwapchainImageVK::KHRSwapchainImageVK(TextureD... | engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_image_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_image_vk.cc",
"repo_id": "engine",
"token_count": 860
} | 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_TRACKED_OBJECTS_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_TRACKED_OBJECTS_VK_H_
#include <me... | engine/impeller/renderer/backend/vulkan/tracked_objects_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/tracked_objects_vk.h",
"repo_id": "engine",
"token_count": 736
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_CAPABILITIES_H_
#define FLUTTER_IMPELLER_RENDERER_CAPABILITIES_H_
#include <memory>
#include "flutter/fml/macros.h"
#in... | engine/impeller/renderer/capabilities.h/0 | {
"file_path": "engine/impeller/renderer/capabilities.h",
"repo_id": "engine",
"token_count": 2194
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_COMPUTE_TESSELLATOR_H_
#define FLUTTER_IMPELLER_RENDERER_COMPUTE_TESSELLATOR_H_
#include "flutter/fml/macros.h"
#include... | engine/impeller/renderer/compute_tessellator.h/0 | {
"file_path": "engine/impeller/renderer/compute_tessellator.h",
"repo_id": "engine",
"token_count": 1092
} | 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 "gtest/gtest.h"
#include "impeller/renderer/pool.h"
namespace impeller {
namespace testing {
namespace {
class Foobar {
public:
static std::... | engine/impeller/renderer/pool_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/pool_unittests.cc",
"repo_id": "engine",
"token_count": 564
} | 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.
#include "impeller/renderer/shader_library.h"
namespace impeller {
ShaderLibrary::ShaderLibrary() = default;
ShaderLibrary::~ShaderLibrary() = default;
... | engine/impeller/renderer/shader_library.cc/0 | {
"file_path": "engine/impeller/renderer/shader_library.cc",
"repo_id": "engine",
"token_count": 237
} | 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.
#include "impeller/runtime_stage/runtime_stage.h"
#include <array>
#include <memory>
#include "fml/mapping.h"
#include "impeller/base/validation.h"
#incl... | engine/impeller/runtime_stage/runtime_stage.cc/0 | {
"file_path": "engine/impeller/runtime_stage/runtime_stage.cc",
"repo_id": "engine",
"token_count": 1779
} | 261 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/scene/animation/property_resolver.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include "impeller/geometry/matrix_dec... | engine/impeller/scene/animation/property_resolver.cc/0 | {
"file_path": "engine/impeller/scene/animation/property_resolver.cc",
"repo_id": "engine",
"token_count": 1712
} | 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_IMPORTER_TYPES_H_
#define FLUTTER_IMPELLER_SCENE_IMPORTER_TYPES_H_
namespace impeller {
namespace scene {
namespace importe... | engine/impeller/scene/importer/types.h/0 | {
"file_path": "engine/impeller/scene/importer/types.h",
"repo_id": "engine",
"token_count": 181
} | 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.
#include <cmath>
#include <memory>
#include <vector>
#include "flutter/fml/mapping.h"
#include "flutter/testing/testing.h"
#include "impeller/core/formats... | engine/impeller/scene/scene_unittests.cc/0 | {
"file_path": "engine/impeller/scene/scene_unittests.cc",
"repo_id": "engine",
"token_count": 4365
} | 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.
#include <filesystem>
#include <iostream>
#include "flutter/fml/command_line.h"
#include "impeller/shader_archive/shader_archive_writer.h"
namespace impe... | engine/impeller/shader_archive/shader_archive_main.cc/0 | {
"file_path": "engine/impeller/shader_archive/shader_archive_main.cc",
"repo_id": "engine",
"token_count": 633
} | 265 |
Android Toolkit
===============
Type-safe managed wrappers around Android objects vended by the NDK. Does not
require linking to libandroid.so. The symbols are resolved via dynamic runtime
lookup so that the toolkit can be built with an older NDK but still run on
modern Android versions and use the latest features.
| engine/impeller/toolkit/android/README.md/0 | {
"file_path": "engine/impeller/toolkit/android/README.md",
"repo_id": "engine",
"token_count": 73
} | 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.
#ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_CONFIG_H_
#define FLUTTER_IMPELLER_TOOLKIT_EGL_CONFIG_H_
#include "flutter/fml/macros.h"
#include "impeller/toolkit/e... | engine/impeller/toolkit/egl/config.h/0 | {
"file_path": "engine/impeller/toolkit/egl/config.h",
"repo_id": "engine",
"token_count": 552
} | 267 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys
import argparse
import errno
import os
import subprocess
def make_directories(path):
try:
os.makedirs(path)
except OSError as exc:
i... | engine/impeller/tools/build_metal_library.py/0 | {
"file_path": "engine/impeller/tools/build_metal_library.py",
"repo_id": "engine",
"token_count": 1199
} | 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.
#include "impeller/typographer/backends/skia/typographer_context_skia.h"
#include <numeric>
#include <utility>
#include "flutter/fml/logging.h"
#include ... | engine/impeller/typographer/backends/skia/typographer_context_skia.cc/0 | {
"file_path": "engine/impeller/typographer/backends/skia/typographer_context_skia.cc",
"repo_id": "engine",
"token_count": 7502
} | 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_GLYPH_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_GLYPH_H_
#include <cstdint>
#include <functional>
#include "flutter/fm... | engine/impeller/typographer/glyph.h/0 | {
"file_path": "engine/impeller/typographer/glyph.h",
"repo_id": "engine",
"token_count": 765
} | 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.
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/testing/testing.gni")
source_set("gpu") {
cflags = ... | engine/lib/gpu/BUILD.gn/0 | {
"file_path": "engine/lib/gpu/BUILD.gn",
"repo_id": "engine",
"token_count": 860
} | 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.
/// The Flutter GPU library.
///
/// To use, import `package:flutter_gpu/gpu.dart`.
///
/// See also:
///
/// * [Flutter GPU Wiki page](https://github.com... | engine/lib/gpu/lib/gpu.dart/0 | {
"file_path": "engine/lib/gpu/lib/gpu.dart",
"repo_id": "engine",
"token_count": 290
} | 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.
#include "flutter/lib/gpu/shader.h"
#include <utility>
#include "flutter/lib/gpu/formats.h"
#include "fml/make_copyable.h"
#include "impeller/core/runtim... | engine/lib/gpu/shader.cc/0 | {
"file_path": "engine/lib/gpu/shader.cc",
"repo_id": "engine",
"token_count": 1543
} | 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_SNAPSHOT_SNAPSHOT_H_
#define FLUTTER_LIB_SNAPSHOT_SNAPSHOT_H_
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
extern "C... | engine/lib/snapshot/snapshot.h/0 | {
"file_path": "engine/lib/snapshot/snapshot.h",
"repo_id": "engine",
"token_count": 223
} | 274 |
// Copyright 2013 The Flutter 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_WRAPPER_H_
#define FLUTTER_LIB_UI_DART_WRAPPER_H_
#include "flutter/fml/memory/ref_counted.h"
#include "third_party/tonic/dart... | engine/lib/ui/dart_wrapper.h/0 | {
"file_path": "engine/lib/ui/dart_wrapper.h",
"repo_id": "engine",
"token_count": 314
} | 275 |
#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 oColor;
layout(location = 0) uniform sampler2D iChild;
void main() {
// iChild1 ... | engine/lib/ui/fixtures/shaders/general_shaders/blue_green_sampler.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/general_shaders/blue_green_sampler.frag",
"repo_id": "engine",
"token_count": 159
} | 276 |
// Copyright 2013 The Flutter 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_IO_MANAGER_H_
#define FLUTTER_LIB_UI_IO_MANAGER_H_
#include "flutter/flow/skia_gpu_object.h"
#include "flutter/fml/memory/weak_ptr.... | engine/lib/ui/io_manager.h/0 | {
"file_path": "engine/lib/ui/io_manager.h",
"repo_id": "engine",
"token_count": 418
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_COLOR_FILTER_H_
#define FLUTTER_LIB_UI_PAINTING_COLOR_FILTER_H_
#include "flutter/display_list/effects/dl_color_filter.h"
... | engine/lib/ui/painting/color_filter.h/0 | {
"file_path": "engine/lib/ui/painting/color_filter.h",
"repo_id": "engine",
"token_count": 401
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_H_
#include "flutter/display_list/image/dl_image.h"
#include "flutter/lib/u... | engine/lib/ui/painting/image.h/0 | {
"file_path": "engine/lib/ui/painting/image.h",
"repo_id": "engine",
"token_count": 507
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_IMPELLER_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_IMPELLER_H_
#include "flutter/common/task_runner... | engine/lib/ui/painting/image_encoding_impeller.h/0 | {
"file_path": "engine/lib/ui/painting/image_encoding_impeller.h",
"repo_id": "engine",
"token_count": 632
} | 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.
#include "flutter/lib/ui/painting/immutable_buffer.h"
#include <cstring>
#include "flutter/fml/file.h"
#include "flutter/fml/make_copyable.h"
#include "f... | engine/lib/ui/painting/immutable_buffer.cc/0 | {
"file_path": "engine/lib/ui/painting/immutable_buffer.cc",
"repo_id": "engine",
"token_count": 3916
} | 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.
#include "flutter/lib/ui/painting/picture_recorder.h"
#include "flutter/lib/ui/painting/canvas.h"
#include "flutter/lib/ui/painting/picture.h"
#include "t... | engine/lib/ui/painting/picture_recorder.cc/0 | {
"file_path": "engine/lib/ui/painting/picture_recorder.cc",
"repo_id": "engine",
"token_count": 510
} | 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;
/// Runs [computation] on the platform thread and returns the result.
///
/// This may run the computation on a separate isolate. That iso... | engine/lib/ui/platform_isolate.dart/0 | {
"file_path": "engine/lib/ui/platform_isolate.dart",
"repo_id": "engine",
"token_count": 2334
} | 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.
#ifndef FLUTTER_LIB_UI_SEMANTICS_STRING_ATTRIBUTE_H_
#define FLUTTER_LIB_UI_SEMANTICS_STRING_ATTRIBUTE_H_
#include "flutter/lib/ui/dart_wrapper.h"
#includ... | engine/lib/ui/semantics/string_attribute.h/0 | {
"file_path": "engine/lib/ui/semantics/string_attribute.h",
"repo_id": "engine",
"token_count": 1043
} | 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.
#include "flutter/lib/ui/volatile_path_tracker.h"
#include <utility>
namespace flutter {
VolatilePathTracker::VolatilePathTracker(
fml::RefPtr<fml::... | engine/lib/ui/volatile_path_tracker.cc/0 | {
"file_path": "engine/lib/ui/volatile_path_tracker.cc",
"repo_id": "engine",
"token_count": 870
} | 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.
#include "flutter/lib/ui/window/platform_message_response_dart.h"
#include <utility>
#include "flutter/common/task_runners.h"
#include "flutter/fml/make_... | engine/lib/ui/window/platform_message_response_dart.cc/0 | {
"file_path": "engine/lib/ui/window/platform_message_response_dart.cc",
"repo_id": "engine",
"token_count": 1805
} | 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.
import 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'browser.dart';
import 'chrome.dart';
import 'edge.dart';
import 'environment.dar... | engine/lib/web_ui/dev/common.dart/0 | {
"file_path": "engine/lib/web_ui/dev/common.dart",
"repo_id": "engine",
"token_count": 2344
} | 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:path/path.dart' as path;
import 'package:watcher/watcher.dart';
import 'exceptions.dart';
im... | engine/lib/web_ui/dev/pipeline.dart/0 | {
"file_path": "engine/lib/web_ui/dev/pipeline.dart",
"repo_id": "engine",
"token_count": 2719
} | 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 { createWasmInstantiator } from "./instantiate_wasm.js";
export const loadCanvasKit = (deps, config, browserEnvironment, engineRevision) => {
if ... | engine/lib/web_ui/flutter_js/src/canvaskit_loader.js/0 | {
"file_path": "engine/lib/web_ui/flutter_js/src/canvaskit_loader.js",
"repo_id": "engine",
"token_count": 721
} | 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.
part of ui;
/// The type of a key event.
// Must match the KeyEventType enum in ui/window/key_data.h.
enum KeyEventType {
/// The key is pressed.
down... | engine/lib/web_ui/lib/key.dart/0 | {
"file_path": "engine/lib/web_ui/lib/key.dart",
"repo_id": "engine",
"token_count": 2297
} | 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.
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../color_filter.dart';
import '../display.dart';
import ... | engine/lib/web_ui/lib/src/engine/canvaskit/canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/canvas.dart",
"repo_id": "engine",
"token_count": 3499
} | 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:typed_data';
import 'package:ui/ui.dart' as ui;
import 'canvas.dart';
import 'painting.dart';
import 'path.dart';
/// A virtual canvas that... | engine/lib/web_ui/lib/src/engine/canvaskit/n_way_canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/n_way_canvas.dart",
"repo_id": "engine",
"token_count": 1081
} | 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 'dart:typed_data';
import 'package:meta/meta.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
import 'package:ui/ui_w... | engine/lib/web_ui/lib/src/engine/canvaskit/text.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/text.dart",
"repo_id": "engine",
"token_count": 14729
} | 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 'package:ui/ui.dart' as ui;
import '../browser_detection.dart';
import '../color_filter.dart';
import '../dom.dart';
import '../util.dart';
import ... | engine/lib/web_ui/lib/src/engine/html/backdrop_filter.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/backdrop_filter.dart",
"repo_id": "engine",
"token_count": 2259
} | 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 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import 'path_utils.dart';
/// Stores the path verbs, points and... | engine/lib/web_ui/lib/src/engine/html/path/path_ref.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/path_ref.dart",
"repo_id": "engine",
"token_count": 14161
} | 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:typed_data';
import 'package:ui/ui.dart' as ui;
import '../../safe_browser_api.dart';
import 'shader_builder.dart';
/// Converts colors and... | engine/lib/web_ui/lib/src/engine/html/shaders/normalized_gradient.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/shaders/normalized_gradient.dart",
"repo_id": "engine",
"token_count": 2637
} | 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:meta/meta.dart';
import 'package:ui/src/engine/scene_painting.dart';
import 'package:ui/src/engine/vector_math.d... | engine/lib/web_ui/lib/src/engine/layers.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/layers.dart",
"repo_id": "engine",
"token_count": 7299
} | 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 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../platform_dispatcher.dart';
import '../util.dart';
import 'semantics.dart';
/// Suppli... | engine/lib/web_ui/lib/src/engine/semantics/focusable.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/focusable.dart",
"repo_id": "engine",
"token_count": 2857
} | 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 'dart:typed_data';
import 'buffers.dart';
/// Write-only buffer for incrementally building a [ByteData] instance.
///
/// A WriteBuffer instance c... | engine/lib/web_ui/lib/src/engine/services/serialization.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/services/serialization.dart",
"repo_id": "engine",
"token_count": 2195
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawCanvas extends Op... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_canvas.dart",
"repo_id": "engine",
"token_count": 2649
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
final class RawLineMetrics extends Opaque {}
typedef LineMetricsHandle = Pointer<RawLineM... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_line_metrics.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_line_metrics.dart",
"repo_id": "engine",
"token_count": 804
} | 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 'dart:async';
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/ui_web/src/ui_web.dart' as ui_web;
/// This class ... | engine/lib/web_ui/lib/src/engine/text/font_collection.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/font_collection.dart",
"repo_id": "engine",
"token_count": 2262
} | 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 '../browser_detection.dart';
import '../dom.dart';
/// Various input action types used in text fields.
///
/// These types are coming from Flutter'... | engine/lib/web_ui/lib/src/engine/text_editing/input_action.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text_editing/input_action.dart",
"repo_id": "engine",
"token_count": 1339
} | 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 '../dom.dart';
/// Sets global attributes for a Flutter View.
///
/// The global attributes are set on the [rootElement] of the Flutter View, as
//... | engine/lib/web_ui/lib/src/engine/view_embedder/global_html_attributes.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/global_html_attributes.dart",
"repo_id": "engine",
"token_count": 598
} | 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 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
/// Sets the handler that forwards platform messages to web plugins.
///
/// This ... | engine/lib/web_ui/lib/ui_web/src/ui_web/plugins.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/plugins.dart",
"repo_id": "engine",
"token_count": 145
} | 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 "export.h"
#include "helpers.h"
#include "third_party/skia/include/core/SkBBHFactory.h"
#include "third_party/skia/include/core/SkPicture.h"
#incl... | engine/lib/web_ui/skwasm/picture.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/picture.cpp",
"repo_id": "engine",
"token_count": 448
} | 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 'dart:math' as math;
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/sr... | engine/lib/web_ui/test/canvaskit/canvas_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/canvas_golden_test.dart",
"repo_id": "engine",
"token_count": 7069
} | 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.
import 'package:js/js_util.dart' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.d... | engine/lib/web_ui/test/canvaskit/initialization/stores_config_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/initialization/stores_config_test.dart",
"repo_id": "engine",
"token_count": 480
} | 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 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '..... | engine/lib/web_ui/test/canvaskit/skia_font_collection_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/skia_font_collection_test.dart",
"repo_id": "engine",
"token_count": 2067
} | 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:js_interop';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/browser_detection.d... | engine/lib/web_ui/test/engine/browser_detect_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/browser_detect_test.dart",
"repo_id": "engine",
"token_count": 2850
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
internalBootstrapBrows... | engine/lib/web_ui/test/engine/platform_views/slots_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/platform_views/slots_test.dart",
"repo_id": "engine",
"token_count": 552
} | 311 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.