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.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/message_loop.h"
#include <iostream>
#include <thread>
#include "flutter/fml/build_config.h"
#include ... | engine/fml/message_loop_unittests.cc/0 | {
"file_path": "engine/fml/message_loop_unittests.cc",
"repo_id": "engine",
"token_count": 2560
} | 169 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PLATFORM_ANDROID_SCOPED_JAVA_REF_H_
#define FLUTTER_FML_PLATFORM_ANDROID_SCOPED_JAVA_REF_H_
#include <jni.h>
#include <cstddef>
#inc... | engine/fml/platform/android/scoped_java_ref.h/0 | {
"file_path": "engine/fml/platform/android/scoped_java_ref.h",
"repo_id": "engine",
"token_count": 2037
} | 170 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#import <CoreFoundation/CoreFoundation.h>
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#include "fml/logging.h"
#include "g... | engine/fml/platform/darwin/scoped_nsobject_arc_unittests.mm/0 | {
"file_path": "engine/fml/platform/darwin/scoped_nsobject_arc_unittests.mm",
"repo_id": "engine",
"token_count": 1629
} | 171 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/platform/fuchsia/message_loop_fuchsia.h"
#include <lib/async-loop/default.h>
#include <lib/async/cpp/task.h>
#include <lib/async/def... | engine/fml/platform/fuchsia/message_loop_fuchsia.cc/0 | {
"file_path": "engine/fml/platform/fuchsia/message_loop_fuchsia.cc",
"repo_id": "engine",
"token_count": 1498
} | 172 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PLATFORM_WIN_WSTRING_CONVERSION_H_
#define FLUTTER_FML_PLATFORM_WIN_WSTRING_CONVERSION_H_
#include <string>
namespace fml {
// Retur... | engine/fml/platform/win/wstring_conversion.h/0 | {
"file_path": "engine/fml/platform/win/wstring_conversion.h",
"repo_id": "engine",
"token_count": 306
} | 173 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/fml/logging.h"
namespace fml {
CountDownLatch::CountDownLatch(size_t count) ... | engine/fml/synchronization/count_down_latch.cc/0 | {
"file_path": "engine/fml/synchronization/count_down_latch.cc",
"repo_id": "engine",
"token_count": 222
} | 174 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/task_runner.h"
#include "flutter/fml/memory/task_runner_checker.h"
#include <utility>
#include "flutt... | engine/fml/task_runner.cc/0 | {
"file_path": "engine/fml/task_runner.cc",
"repo_id": "engine",
"token_count": 739
} | 175 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <thread>
#include "flutter/fml/time/chrono_timestamp_provider.h"
#include "flutter/fml/time/time_delta.h"
#include "gtest/gtest.h"
namespace fml... | engine/fml/time/time_unittest.cc/0 | {
"file_path": "engine/fml/time/time_unittest.cc",
"repo_id": "engine",
"token_count": 674
} | 176 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/impeller/aiks/aiks_unittests.h"
#include "impeller/aiks/canvas.h"
#include "impeller/entity/contents/conical_gradient_contents.h"
#inclu... | engine/impeller/aiks/aiks_gradient_unittests.cc/0 | {
"file_path": "engine/impeller/aiks/aiks_gradient_unittests.cc",
"repo_id": "engine",
"token_count": 13434
} | 177 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_
#define FLUTTER_IMPELLER_AIKS_COLOR_FILTER_H_
#include "impeller/entity/contents/filters/color_filter_conten... | engine/impeller/aiks/color_filter.h/0 | {
"file_path": "engine/impeller/aiks/color_filter.h",
"repo_id": "engine",
"token_count": 1691
} | 178 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "impeller/renderer/command_buffer.h"
#include "impeller/renderer/command_queue.h"
#include "impeller/aiks/testing/context_spy.h... | engine/impeller/aiks/testing/context_spy.cc/0 | {
"file_path": "engine/impeller/aiks/testing/context_spy.cc",
"repo_id": "engine",
"token_count": 1856
} | 179 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_BASE_PROMISE_H_
#define FLUTTER_IMPELLER_BASE_PROMISE_H_
#include <future>
namespace impeller {
template <class T>
std::future<... | engine/impeller/base/promise.h/0 | {
"file_path": "engine/impeller/base/promise.h",
"repo_id": "engine",
"token_count": 421
} | 180 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_COMPILER_COMPILER_H_
#define FLUTTER_IMPELLER_COMPILER_COMPILER_H_
#include <initializer_list>
#include <sstream>
#include <strin... | engine/impeller/compiler/compiler.h/0 | {
"file_path": "engine/impeller/compiler/compiler.h",
"repo_id": "engine",
"token_count": 682
} | 181 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_COMPILER_RUNTIME_STAGE_DATA_H_
#define FLUTTER_IMPELLER_COMPILER_RUNTIME_STAGE_DATA_H_
#include <memory>
#include <vector>
#incl... | engine/impeller/compiler/runtime_stage_data.h/0 | {
"file_path": "engine/impeller/compiler/runtime_stage_data.h",
"repo_id": "engine",
"token_count": 589
} | 182 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <impeller/tile_mode.glsl>
/// A triangle wave. 0->0, 1->1, 2->0, and so on... works with negative numbers.
float TriangleWave(float x) {
return... | engine/impeller/compiler/shader_lib/impeller/external_texture_oes.glsl/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/external_texture_oes.glsl",
"repo_id": "engine",
"token_count": 515
} | 183 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
#define FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
#include <cstdint>
#include <iostream>
#include <memory>
#inc... | engine/impeller/compiler/switches.h/0 | {
"file_path": "engine/impeller/compiler/switches.h",
"repo_id": "engine",
"token_count": 775
} | 184 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/core/device_buffer.h"
namespace impeller {
DeviceBuffer::DeviceBuffer(DeviceBufferDescriptor desc) : desc_(desc) {}
DeviceBuffer::~De... | engine/impeller/core/device_buffer.cc/0 | {
"file_path": "engine/impeller/core/device_buffer.cc",
"repo_id": "engine",
"token_count": 694
} | 185 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/core/sampler.h"
namespace impeller {
Sampler::Sampler(SamplerDescriptor desc) : desc_(std::move(desc)) {}
Sampler::~Sampler() = defau... | engine/impeller/core/sampler.cc/0 | {
"file_path": "engine/impeller/core/sampler.cc",
"repo_id": "engine",
"token_count": 136
} | 186 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
#include "flutter/display_list/image... | engine/impeller/display_list/dl_image_impeller.h/0 | {
"file_path": "engine/impeller/display_list/dl_image_impeller.h",
"repo_id": "engine",
"token_count": 687
} | 187 |
# Learning to Read GPU Frame Captures
This is a gentle introduction to learning how one may go about reading a GPU
frame capture. This would be using a tool like the [Xcode GPU Frame
Debugger](https://developer.apple.com/documentation/metal/frame_capture_debugging_tools?language=objc),
[RenderDoc](https://renderdoc.or... | engine/impeller/docs/read_frame_captures.md/0 | {
"file_path": "engine/impeller/docs/read_frame_captures.md",
"repo_id": "engine",
"token_count": 6319
} | 188 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_CLIP_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_CLIP_CONTENTS_H_
#include <functional>
#include <memory... | engine/impeller/entity/contents/clip_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/clip_contents.h",
"repo_id": "engine",
"token_count": 1273
} | 189 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/contents/filters/color_matrix_filter_contents.h"
#include <optional>
#include "impeller/entity/contents/anonymous_contents.h"
#... | engine/impeller/entity/contents/filters/color_matrix_filter_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/filters/color_matrix_filter_contents.cc",
"repo_id": "engine",
"token_count": 1628
} | 190 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/contents/filters/inputs/texture_filter_input.h"
#include <utility>
#include "impeller/core/formats.h"
namespace impeller {
Te... | engine/impeller/entity/contents/filters/inputs/texture_filter_input.cc/0 | {
"file_path": "engine/impeller/entity/contents/filters/inputs/texture_filter_input.cc",
"repo_id": "engine",
"token_count": 503
} | 191 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include "impeller/entity/contents/gradient_generator.h"
#include "flutter/fml/logging.h"
#include "impeller/core/texture.h"
#includ... | engine/impeller/entity/contents/gradient_generator.cc/0 | {
"file_path": "engine/impeller/entity/contents/gradient_generator.cc",
"repo_id": "engine",
"token_count": 690
} | 192 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_SWEEP_GRADIENT_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_SWEEP_GRADIENT_CONTENTS_H_
#include <function... | engine/impeller/entity/contents/sweep_gradient_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/sweep_gradient_contents.h",
"repo_id": "engine",
"token_count": 796
} | 193 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_ENTITY_H_
#define FLUTTER_IMPELLER_ENTITY_ENTITY_H_
#include <cstdint>
#include "impeller/core/capture.h"
#include "impel... | engine/impeller/entity/entity.h/0 | {
"file_path": "engine/impeller/entity/entity.h",
"repo_id": "engine",
"token_count": 1250
} | 194 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/entity/geometry/vertices_geometry.h"
#include <cstdint>
#include <utility>
#include "impeller/core/buffer_view.h"
namespace impeller ... | engine/impeller/entity/geometry/vertices_geometry.cc/0 | {
"file_path": "engine/impeller/entity/geometry/vertices_geometry.cc",
"repo_id": "engine",
"token_count": 3584
} | 195 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision mediump float;
#include <impeller/gaussian.glsl>
#include <impeller/texture.glsl>
#include <impeller/types.glsl>
// Constant time mask blur for... | engine/impeller/entity/shaders/border_mask_blur.frag/0 | {
"file_path": "engine/impeller/entity/shaders/border_mask_blur.frag",
"repo_id": "engine",
"token_count": 744
} | 196 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision highp float;
#include <impeller/gaussian.glsl>
#include <impeller/types.glsl>
uniform FragInfo {
f16vec4 color;
vec2 rect_size;
float blu... | engine/impeller/entity/shaders/rrect_blur.frag/0 | {
"file_path": "engine/impeller/entity/shaders/rrect_blur.frag",
"repo_id": "engine",
"token_count": 1487
} | 197 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision mediump float;
#include <impeller/color.glsl>
#include <impeller/texture.glsl>
#include <impeller/types.glsl>
uniform f16sampler2D y_texture;
u... | engine/impeller/entity/shaders/yuv_to_rgb_filter.frag/0 | {
"file_path": "engine/impeller/entity/shaders/yuv_to_rgb_filter.frag",
"repo_id": "engine",
"token_count": 421
} | 198 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'dart:ui' as ui;
import '../../lib/gpu/lib/gpu.dart' as gpu;
void main() {}
@pragma('vm:entry-point')
void sayHi() {
p... | engine/impeller/fixtures/dart_tests.dart/0 | {
"file_path": "engine/impeller/fixtures/dart_tests.dart",
"repo_id": "engine",
"token_count": 1615
} | 199 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef IMPELLER_TARGET_OPENGLES
void main() {
// Instancing is not supported on legacy targets and test will be disabled.
}
#else // IMPELLER_TARGET_O... | engine/impeller/fixtures/instanced_draw.vert/0 | {
"file_path": "engine/impeller/fixtures/instanced_draw.vert",
"repo_id": "engine",
"token_count": 289
} | 200 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_GEOMETRY_GRADIENT_H_
#define FLUTTER_IMPELLER_GEOMETRY_GRADIENT_H_
#include <cstdint>
#include <memory>
#include <vector>
#inclu... | engine/impeller/geometry/gradient.h/0 | {
"file_path": "engine/impeller/geometry/gradient.h",
"repo_id": "engine",
"token_count": 362
} | 201 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quaternion.h"
#include <sstream>
namespace impeller {
Quaternion Quaternion::Slerp(const Quaternion& to, double time) const {
double cosine =... | engine/impeller/geometry/quaternion.cc/0 | {
"file_path": "engine/impeller/geometry/quaternion.cc",
"repo_id": "engine",
"token_count": 331
} | 202 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_GEOMETRY_TRIG_H_
#define FLUTTER_IMPELLER_GEOMETRY_TRIG_H_
#include <functional>
#include <vector>
#include "flutter/impeller/ge... | engine/impeller/geometry/trig.h/0 | {
"file_path": "engine/impeller/geometry/trig.h",
"repo_id": "engine",
"token_count": 488
} | 203 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/golden_tests/metal_screenshot.h"
namespace impeller {
namespace testing {
MetalScreenshot::MetalScreenshot(CGImageRef cgImage) : cg_im... | engine/impeller/golden_tests/metal_screenshot.mm/0 | {
"file_path": "engine/impeller/golden_tests/metal_screenshot.mm",
"repo_id": "engine",
"token_count": 548
} | 204 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
#define FLUTTER_IMPELLER_PLAYGROUND_BACKEND_VULKAN_PLAYGROUND_IMPL_VK_H_
#include... | engine/impeller/playground/backend/vulkan/playground_impl_vk.h/0 | {
"file_path": "engine/impeller/playground/backend/vulkan/playground_impl_vk.h",
"repo_id": "engine",
"token_count": 531
} | 205 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
in vec2 frag_texture_coordinates;
in vec4 frag_vertex_color;
out vec4 frag_color;
uniform sampler2D tex;
void main() {
frag_color = frag_vertex_color ... | engine/impeller/playground/imgui/imgui_raster.frag/0 | {
"file_path": "engine/impeller/playground/imgui/imgui_raster.frag",
"repo_id": "engine",
"token_count": 117
} | 206 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_ALLOCATOR_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_ALLOCATOR_GLES_H_
#include "flutter/fml/ma... | engine/impeller/renderer/backend/gles/allocator_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/allocator_gles.h",
"repo_id": "engine",
"token_count": 456
} | 207 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_DEVICE_BUFFER_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_DEVICE_BUFFER_GLES_H_
#include <cstdin... | engine/impeller/renderer/backend/gles/device_buffer_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/device_buffer_gles.h",
"repo_id": "engine",
"token_count": 767
} | 208 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/gles/render_pass_gles.h"
#include <cstdint>
#include "GLES3/gl3.h"
#include "flutter/fml/trace_event.h"
#include "fml... | engine/impeller/renderer/backend/gles/render_pass_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/render_pass_gles.cc",
"repo_id": "engine",
"token_count": 8305
} | 209 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "GLES3/gl3.h"
#include "fml/logging.h"
#include "impeller/renderer/backend/gles/proc_table_gles.h"
#include "impeller/renderer/... | engine/impeller/renderer/backend/gles/test/mock_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/test/mock_gles.cc",
"repo_id": "engine",
"token_count": 2936
} | 210 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMPUTE_PASS_BINDINGS_CACHE_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMPUTE_PASS_BINDINGS_CA... | engine/impeller/renderer/backend/metal/compute_pass_bindings_cache_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/compute_pass_bindings_cache_mtl.h",
"repo_id": "engine",
"token_count": 771
} | 211 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PASS_BINDINGS_CACHE_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PASS_BINDINGS_CACHE_MTL_H_
#inc... | engine/impeller/renderer/backend/metal/pass_bindings_cache_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/pass_bindings_cache_mtl.h",
"repo_id": "engine",
"token_count": 950
} | 212 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SURFACE_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SURFACE_MTL_H_
#include <QuartzCore/CAMetal... | engine/impeller/renderer/backend/metal/surface_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/surface_mtl.h",
"repo_id": "engine",
"token_count": 1180
} | 213 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BARRIER_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BARRIER_VK_H_
#include "flutter/fml/macros... | engine/impeller/renderer/backend/vulkan/barrier_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/barrier_vk.h",
"repo_id": "engine",
"token_count": 816
} | 214 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "fml/status.h"
#include "impeller/renderer/backend/vulkan/command_queue_vk.h"
#include "impeller/base/validation.h"
#include "impeller/renderer/... | engine/impeller/renderer/backend/vulkan/command_queue_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/command_queue_vk.cc",
"repo_id": "engine",
"token_count": 1301
} | 215 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEVICE_HOLDER_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEVICE_HOLDER_VK_H_
#include "impell... | engine/impeller/renderer/backend/vulkan/device_holder_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/device_holder_vk.h",
"repo_id": "engine",
"token_count": 359
} | 216 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/pipeline_vk.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/fml/trace_event.h"
#include "impeller/b... | engine/impeller/renderer/backend/vulkan/pipeline_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/pipeline_vk.cc",
"repo_id": "engine",
"token_count": 7899
} | 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.
#include "impeller/renderer/backend/vulkan/shader_function_vk.h"
namespace impeller {
ShaderFunctionVK::ShaderFunctionVK(
const std::weak_ptr<DeviceH... | engine/impeller/renderer/backend/vulkan/shader_function_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/shader_function_vk.cc",
"repo_id": "engine",
"token_count": 313
} | 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.
#include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_vk.h"
#include "flutter/fml/trace_event.h"
#include "impeller/base/validation.h"
#i... | engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_vk.cc",
"repo_id": "engine",
"token_count": 1302
} | 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/renderer/command_buffer.h"
#include "impeller/renderer/compute_pass.h"
#include "impeller/renderer/render_pass.h"
#include "impeller/re... | engine/impeller/renderer/command_buffer.cc/0 | {
"file_path": "engine/impeller/renderer/command_buffer.cc",
"repo_id": "engine",
"token_count": 571
} | 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/renderer/render_target.h"
#include <sstream>
#include "impeller/base/strings.h"
#include "impeller/base/validation.h"
#include "impell... | engine/impeller/renderer/render_target.cc/0 | {
"file_path": "engine/impeller/renderer/render_target.cc",
"repo_id": "engine",
"token_count": 5431
} | 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.
#extension GL_KHR_shader_subgroup_arithmetic : enable
layout(local_size_x = 256, local_size_y = 1) in;
layout(std430) buffer;
layout(binding = 0) buffer P... | engine/impeller/renderer/stroke.comp/0 | {
"file_path": "engine/impeller/renderer/stroke.comp",
"repo_id": "engine",
"token_count": 582
} | 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_RUNTIME_STAGE_RUNTIME_STAGE_PLAYGROUND_H_
#define FLUTTER_IMPELLER_RUNTIME_STAGE_RUNTIME_STAGE_PLAYGROUND_H_
#include "flutter/fm... | engine/impeller/runtime_stage/runtime_stage_playground.h/0 | {
"file_path": "engine/impeller/runtime_stage/runtime_stage_playground.h",
"repo_id": "engine",
"token_count": 290
} | 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/scene/geometry.h"
#include <memory>
#include <ostream>
#include "impeller/core/device_buffer_descriptor.h"
#include "impeller/core/for... | engine/impeller/scene/geometry.cc/0 | {
"file_path": "engine/impeller/scene/geometry.cc",
"repo_id": "engine",
"token_count": 3262
} | 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.
#ifndef FLUTTER_IMPELLER_SCENE_MATERIAL_H_
#define FLUTTER_IMPELLER_SCENE_MATERIAL_H_
#include <memory>
#include "impeller/core/formats.h"
#include "impe... | engine/impeller/scene/material.h/0 | {
"file_path": "engine/impeller/scene/material.h",
"repo_id": "engine",
"token_count": 1448
} | 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.
uniform FrameInfo {
mat4 mvp;
}
frame_info;
// This attribute layout is expected to be identical to that within
// `impeller/scene/importer/scene.fbs`.
... | engine/impeller/scene/shaders/unskinned.vert/0 | {
"file_path": "engine/impeller/scene/shaders/unskinned.vert",
"repo_id": "engine",
"token_count": 318
} | 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_SHADER_ARCHIVE_SHADER_ARCHIVE_WRITER_H_
#define FLUTTER_IMPELLER_SHADER_ARCHIVE_SHADER_ARCHIVE_WRITER_H_
#include <memory>
#inclu... | engine/impeller/shader_archive/shader_archive_writer.h/0 | {
"file_path": "engine/impeller/shader_archive/shader_archive_writer.h",
"repo_id": "engine",
"token_count": 506
} | 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_TOOLKIT_ANDROID_HARDWARE_BUFFER_H_
#define FLUTTER_IMPELLER_TOOLKIT_ANDROID_HARDWARE_BUFFER_H_
#include <optional>
#include "flu... | engine/impeller/toolkit/android/hardware_buffer.h/0 | {
"file_path": "engine/impeller/toolkit/android/hardware_buffer.h",
"repo_id": "engine",
"token_count": 1614
} | 228 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_DISPLAY_H_
#define FLUTTER_IMPELLER_TOOLKIT_EGL_DISPLAY_H_
#include <memory>
#include <optional>
#include "flutter/f... | engine/impeller/toolkit/egl/display.h/0 | {
"file_path": "engine/impeller/toolkit/egl/display.h",
"repo_id": "engine",
"token_count": 469
} | 229 |
{
"flutter/impeller/entity/advanced_blend.frag.vkspv": {
"Mali-G78": {
"core": "Mali-G78",
"filename": "flutter/impeller/entity/advanced_blend.frag.vkspv",
"has_side_effects": false,
"has_uniform_computation": true,
"modifies_coverage": false,
"reads_color_buffer": false,
... | engine/impeller/tools/malioc.json/0 | {
"file_path": "engine/impeller/tools/malioc.json",
"repo_id": "engine",
"token_count": 192161
} | 230 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_GLYPH_ATLAS_CONTEXT_STB_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_GLYPH_ATLAS_CONTEXT_STB_H_
... | engine/impeller/typographer/backends/stb/glyph_atlas_context_stb.h/0 | {
"file_path": "engine/impeller/typographer/backends/stb/glyph_atlas_context_stb.h",
"repo_id": "engine",
"token_count": 616
} | 231 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TYPOGRAPHER_LAZY_GLYPH_ATLAS_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_LAZY_GLYPH_ATLAS_H_
#include <unordered_map>
#include "flut... | engine/impeller/typographer/lazy_glyph_atlas.h/0 | {
"file_path": "engine/impeller/typographer/lazy_glyph_atlas.h",
"repo_id": "engine",
"token_count": 569
} | 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 "flutter/lib/gpu/context.h"
#include <future>
#include "flutter/lib/gpu/formats.h"
#include "flutter/lib/ui/ui_dart_state.h"
#include "fml/make_... | engine/lib/gpu/context.cc/0 | {
"file_path": "engine/lib/gpu/context.cc",
"repo_id": "engine",
"token_count": 1199
} | 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.
// ignore_for_file: public_member_api_docs
part of flutter_gpu;
// ATTENTION! ATTENTION! ATTENTION!
// All enum classes defined in this file must exactly... | engine/lib/gpu/lib/src/formats.dart/0 | {
"file_path": "engine/lib/gpu/lib/src/formats.dart",
"repo_id": "engine",
"token_count": 1276
} | 234 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/lib/gpu/smoketest.h"
#include "flutter/fml/memory/ref_ptr.h"
#include "flutter/lib/ui/dart_wrapper.h"
#include "flutter/lib/ui/ui_dart_st... | engine/lib/gpu/smoketest.cc/0 | {
"file_path": "engine/lib/gpu/smoketest.cc",
"repo_id": "engine",
"token_count": 741
} | 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.
// KEEP THIS SYNCHRONIZED WITH ../web_ui/lib/channel_buffers.dart
part of dart.ui;
/// Deprecated. Migrate to [ChannelCallback] instead.
///
/// Signatur... | engine/lib/ui/channel_buffers.dart/0 | {
"file_path": "engine/lib/ui/channel_buffers.dart",
"repo_id": "engine",
"token_count": 7541
} | 236 |
#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;
void main() {
fragColor =
... | engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/27_exp.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/27_exp.frag",
"repo_id": "engine",
"token_count": 224
} | 237 |
#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;
void main() {
fragColor =
... | engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/69_normalize.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/69_normalize.frag",
"repo_id": "engine",
"token_count": 259
} | 238 |
#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;
void main() {
float sum = 0.0;
... | engine/lib/ui/fixtures/shaders/supported_op_shaders/246_OpLoopMerge.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_op_shaders/246_OpLoopMerge.frag",
"repo_id": "engine",
"token_count": 229
} | 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/lib/ui/isolate_name_server/isolate_name_server_natives.h"
#include <string>
#include "flutter/lib/ui/isolate_name_server/isolate_name_s... | engine/lib/ui/isolate_name_server/isolate_name_server_natives.cc/0 | {
"file_path": "engine/lib/ui/isolate_name_server/isolate_name_server_natives.cc",
"repo_id": "engine",
"token_count": 589
} | 240 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_SKIA_H_
#define FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_SKIA_H_
#include <... | engine/lib/ui/painting/display_list_deferred_image_gpu_skia.h/0 | {
"file_path": "engine/lib/ui/painting/display_list_deferred_image_gpu_skia.h",
"repo_id": "engine",
"token_count": 1974
} | 241 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_IMPELLER_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_IMPELLER_H_
#include <future>
#include "flutter/f... | engine/lib/ui/painting/image_decoder_impeller.h/0 | {
"file_path": "engine/lib/ui/painting/image_decoder_impeller.h",
"repo_id": "engine",
"token_count": 1438
} | 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 "flutter/lib/ui/painting/image_encoding.h"
#include "flutter/lib/ui/painting/image_encoding_impl.h"
#include "flutter/common/task_runners.h"
#inc... | engine/lib/ui/painting/image_encoding_unittests.cc/0 | {
"file_path": "engine/lib/ui/painting/image_encoding_unittests.cc",
"repo_id": "engine",
"token_count": 6085
} | 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 "flutter/lib/ui/painting/multi_frame_codec.h"
#include <utility>
#include "flutter/fml/make_copyable.h"
#include "flutter/lib/ui/painting/displa... | engine/lib/ui/painting/multi_frame_codec.cc/0 | {
"file_path": "engine/lib/ui/painting/multi_frame_codec.cc",
"repo_id": "engine",
"token_count": 4384
} | 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 "flutter/lib/ui/painting/scene/scene_node.h"
#include <memory>
#include <sstream>
#include "flutter/assets/asset_manager.h"
#include "flutter/fm... | engine/lib/ui/painting/scene/scene_node.cc/0 | {
"file_path": "engine/lib/ui/painting/scene/scene_node.cc",
"repo_id": "engine",
"token_count": 2914
} | 245 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of dart.ui;
/// How the pointer has changed since the last report.
enum PointerChange {
/// The input from the pointer is no longer directed toward... | engine/lib/ui/pointer.dart/0 | {
"file_path": "engine/lib/ui/pointer.dart",
"repo_id": "engine",
"token_count": 4840
} | 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.
#include "flutter/lib/ui/text/asset_manager_font_provider.h"
#include <utility>
#include "flutter/fml/logging.h"
#include "third_party/skia/include/core/... | engine/lib/ui/text/asset_manager_font_provider.cc/0 | {
"file_path": "engine/lib/ui/text/asset_manager_font_provider.cc",
"repo_id": "engine",
"token_count": 1706
} | 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_LIB_UI_WINDOW_KEY_DATA_H_
#define FLUTTER_LIB_UI_WINDOW_KEY_DATA_H_
#include <cstdint>
namespace flutter {
// If this value changes, upd... | engine/lib/ui/window/key_data.h/0 | {
"file_path": "engine/lib/ui/window/key_data.h",
"repo_id": "engine",
"token_count": 672
} | 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 "flutter/common/task_runners.h"
#include "flutter/fml/mapping.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/lib/ui/... | engine/lib/ui/window/platform_message_response_dart_port_unittests.cc/0 | {
"file_path": "engine/lib/ui/window/platform_message_response_dart_port_unittests.cc",
"repo_id": "engine",
"token_count": 1079
} | 249 |
# For more information on test and runner configurations:
#
# * https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md#platforms
platforms:
- chrome
- vm
| engine/lib/web_ui/dart_test_chrome.yaml/0 | {
"file_path": "engine/lib/web_ui/dart_test_chrome.yaml",
"repo_id": "engine",
"token_count": 61
} | 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.
class BrowserInstallerException implements Exception {
BrowserInstallerException(this.message);
final String message;
@override
String toString()... | engine/lib/web_ui/dev/exceptions.dart/0 | {
"file_path": "engine/lib/web_ui/dev/exceptions.dart",
"repo_id": "engine",
"token_count": 162
} | 251 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert' show JsonEncoder;
import 'dart:io' as io;
import 'package:path/path.dart' as pathlib;
import '../environment.dart';
import '../exce... | engine/lib/web_ui/dev/steps/copy_artifacts_step.dart/0 | {
"file_path": "engine/lib/web_ui/dev/steps/copy_artifacts_step.dart",
"repo_id": "engine",
"token_count": 4222
} | 252 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { browserEnvironment } from './browser_environment.js';
import { FlutterEntrypointLoader } from './entrypoint_loader.js';
import { FlutterServiceWor... | engine/lib/web_ui/flutter_js/src/loader.js/0 | {
"file_path": "engine/lib/web_ui/flutter_js/src/loader.js",
"repo_id": "engine",
"token_count": 1970
} | 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.
// For documentation see https://github.com/flutter/engine/blob/main/lib/ui/painting.dart
part of ui;
void _validateColorStops(List<Color> colors, List<do... | engine/lib/web_ui/lib/painting.dart/0 | {
"file_path": "engine/lib/web_ui/lib/painting.dart",
"repo_id": "engine",
"token_count": 9029
} | 254 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
import '../../engine.dart';
/// Caches canvases used to display Skia-drawn content.
class DisplayCanvasFactory<T extends ... | engine/lib/web_ui/lib/src/engine/canvaskit/display_canvas_factory.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/display_canvas_factory.dart",
"repo_id": "engine",
"token_count": 1311
} | 255 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import '../color_filter.dart';
import '../shader_data.dart'... | engine/lib/web_ui/lib/src/engine/canvaskit/painting.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/painting.dart",
"repo_id": "engine",
"token_count": 5244
} | 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.
import 'package:ui/ui.dart' as ui;
import 'browser_detection.dart';
import 'dom.dart';
import 'services.dart';
/// Handles clipboard related platform mes... | engine/lib/web_ui/lib/src/engine/clipboard.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/clipboard.dart",
"repo_id": "engine",
"token_count": 2791
} | 257 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:ui/ui.dart' as ui;
import '../../engine/color_filter.dart';
import '../browser_detection.dart';
import '../dom.dart';
import '../svg.dart'... | engine/lib/web_ui/lib/src/engine/html/color_filter.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/color_filter.dart",
"repo_id": "engine",
"token_count": 5712
} | 258 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import 'conic.dart';
import 'cubic.dart';
import 'path_utils.dart';
/// Computes tangent at... | engine/lib/web_ui/lib/src/engine/html/path/tangent.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/tangent.dart",
"repo_id": "engine",
"token_count": 2733
} | 259 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../frame_reference.dart';
import '../onscreen_logging.da... | engine/lib/web_ui/lib/src/engine/html/surface.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/surface.dart",
"repo_id": "engine",
"token_count": 15316
} | 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.
import 'package:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import 'package:ui/ui_web/src/ui_web.dart' as ui_web;
import '../dom.dart';
import '..... | engine/lib/web_ui/lib/src/engine/navigation/history.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/navigation/history.dart",
"repo_id": "engine",
"token_count": 4457
} | 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 'dart:async';
import 'dart:js_interop';
import 'package:ui/ui_web/src/ui_web.dart' as ui_web;
import 'util.dart';
// TODO(mdebbar): Deprecate thi... | engine/lib/web_ui/lib/src/engine/profiler.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/profiler.dart",
"repo_id": "engine",
"token_count": 2160
} | 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.
import '../dom.dart';
import '../semantics.dart';
/// Provides accessibility for links.
class Link extends PrimaryRoleManager {
Link(SemanticsObject sem... | engine/lib/web_ui/lib/src/engine/semantics/link.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/link.dart",
"repo_id": "engine",
"token_count": 286
} | 263 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ffi';
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
import 'package:... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/canvas.dart",
"repo_id": "engine",
"token_count": 4418
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:_wasm';
import 'dart:ffi';
import 'dart:js_interop';
import 'package:ui/src/engine/skwasm/skwas... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_image.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_image.dart",
"repo_id": "engine",
"token_count": 664
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawStrutStyle extend... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_strut_style.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_strut_style.dart",
"repo_id": "engine",
"token_count": 647
} | 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 'package:web_unicode/web_unicode.dart';
import 'unicode_range.dart';
export 'package:web_unicode/web_unicode.dart' show LineCharProperty;
Unicode... | engine/lib/web_ui/lib/src/engine/text/line_break_properties.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/line_break_properties.dart",
"repo_id": "engine",
"token_count": 309
} | 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 'dart:async';
import 'dart:collection';
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:meta/meta.dart';
import 'package:ui/u... | engine/lib/web_ui/lib/src/engine/util.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/util.dart",
"repo_id": "engine",
"token_count": 9703
} | 268 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.