text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/concurrent_message_loop.h" namespace fml { class ConcurrentMessageLoopDarwin : public ConcurrentMessageLoop { friend class Concur...
engine/fml/platform/darwin/concurrent_message_loop_factory.mm/0
{ "file_path": "engine/fml/platform/darwin/concurrent_message_loop_factory.mm", "repo_id": "engine", "token_count": 236 }
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_FML_PLATFORM_DARWIN_STRING_RANGE_SANITIZATION_H_ #define FLUTTER_FML_PLATFORM_DARWIN_STRING_RANGE_SANITIZATION_H_ #include <Foundation/Fou...
engine/fml/platform/darwin/string_range_sanitization.h/0
{ "file_path": "engine/fml/platform/darwin/string_range_sanitization.h", "repo_id": "engine", "token_count": 341 }
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_FML_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_ #define FLUTTER_FML_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_ #include <lib/fit/function.h> namespace fml...
engine/fml/platform/fuchsia/task_observers.h/0
{ "file_path": "engine/fml/platform/fuchsia/task_observers.h", "repo_id": "engine", "token_count": 525 }
181
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/platform/win/errors_win.h" #include <Windows.h> #include <sstream> #include "flutter/fml/platform/win/wstring_conversion.h" names...
engine/fml/platform/win/errors_win.cc/0
{ "file_path": "engine/fml/platform/win/errors_win.cc", "repo_id": "engine", "token_count": 663 }
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. #define FML_USED_ON_EMBEDDER #include "flutter/fml/raster_thread_merger.h" #include <utility> #include "flutter/fml/message_loop_impl.h" namespace fml ...
engine/fml/raster_thread_merger.cc/0
{ "file_path": "engine/fml/raster_thread_merger.cc", "repo_id": "engine", "token_count": 1923 }
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_FML_SYNCHRONIZATION_SEMAPHORE_H_ #define FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_ #include <memory> #include "flutter/fml/compiler_specif...
engine/fml/synchronization/semaphore.h/0
{ "file_path": "engine/fml/synchronization/semaphore.h", "repo_id": "engine", "token_count": 1015 }
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. #ifndef FLUTTER_FML_TASK_SOURCE_GRADE_H_ #define FLUTTER_FML_TASK_SOURCE_GRADE_H_ namespace fml { /** * Categories of work dispatched to `MessageLoopTas...
engine/fml/task_source_grade.h/0
{ "file_path": "engine/fml/task_source_grade.h", "repo_id": "engine", "token_count": 263 }
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 "flutter/fml/unique_fd.h" #include "flutter/fml/eintr_wrapper.h" namespace fml { namespace internal { #if FML_OS_WIN namespace os_win { std::...
engine/fml/unique_fd.cc/0
{ "file_path": "engine/fml/unique_fd.cc", "repo_id": "engine", "token_count": 283 }
186
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/aiks/aiks_playground_inspector.h" #include <initializer_list> #include "impeller/core/capture.h" #include "impeller/entity/entity_pass...
engine/impeller/aiks/aiks_playground_inspector.cc/0
{ "file_path": "engine/impeller/aiks/aiks_playground_inspector.cc", "repo_id": "engine", "token_count": 4524 }
187
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_AIKS_IMAGE_H_ #define FLUTTER_IMPELLER_AIKS_IMAGE_H_ #include <memory> #include "flutter/fml/macros.h" #include "impeller/core/t...
engine/impeller/aiks/image.h/0
{ "file_path": "engine/impeller/aiks/image.h", "repo_id": "engine", "token_count": 256 }
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. #include <sstream> #include "flutter/testing/testing.h" #include "impeller/aiks/trace_serializer.h" namespace impeller { namespace testing { TEST(TraceSer...
engine/impeller/aiks/trace_serializer_unittests.cc/0
{ "file_path": "engine/impeller/aiks/trace_serializer_unittests.cc", "repo_id": "engine", "token_count": 180 }
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. #ifndef FLUTTER_IMPELLER_BASE_THREAD_H_ #define FLUTTER_IMPELLER_BASE_THREAD_H_ #include <chrono> #include <condition_variable> #include <functional> #inc...
engine/impeller/base/thread.h/0
{ "file_path": "engine/impeller/base/thread.h", "repo_id": "engine", "token_count": 3483 }
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. #ifndef FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_ #define FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_ #include "flutter/fml/macros.h" #include "flutter/te...
engine/impeller/compiler/compiler_test.h/0
{ "file_path": "engine/impeller/compiler/compiler_test.h", "repo_id": "engine", "token_count": 512 }
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. #ifndef FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_DATA_H_ #define FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_DATA_H_ #include <memory> #include <vector> #incl...
engine/impeller/compiler/shader_bundle_data.h/0
{ "file_path": "engine/impeller/compiler/shader_bundle_data.h", "repo_id": "engine", "token_count": 885 }
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. // Parallel exclusive prefix sum computes the prefix in place in storage. // BLOCK_SIZE is the overall storage size while ident must be the global // x ide...
engine/impeller/compiler/shader_lib/impeller/prefix_sum.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/prefix_sum.glsl", "repo_id": "engine", "token_count": 1393 }
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. #include "impeller/compiler/uniform_sorter.h" #include <cstdint> namespace impeller { std::vector<spirv_cross::ID> SortUniforms( const spirv_cross::...
engine/impeller/compiler/uniform_sorter.cc/0
{ "file_path": "engine/impeller/compiler/uniform_sorter.cc", "repo_id": "engine", "token_count": 694 }
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/core/formats.h" #include <sstream> #include "impeller/base/strings.h" #include "impeller/base/validation.h" #include "impeller/core/te...
engine/impeller/core/formats.cc/0
{ "file_path": "engine/impeller/core/formats.cc", "repo_id": "engine", "token_count": 1864 }
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. #include "impeller/display_list/dl_vertices_geometry.h" #include "display_list/dl_vertices.h" #include "impeller/display_list/skia_conversions.h" #include...
engine/impeller/display_list/dl_vertices_geometry.cc/0
{ "file_path": "engine/impeller/display_list/dl_vertices_geometry.cc", "repo_id": "engine", "token_count": 871 }
196
# How Impeller Works Around The Lack of Uniform Buffers in Open GL ES 2.0. The Impeller Renderer API allows callers to specify uniform data in a discrete buffer. Indeed, it is conventional for the higher level layers of the Impeller stack to specify all uniform data for a render pass in a single buffer. This jumbo buf...
engine/impeller/docs/ubo_gles2.md/0
{ "file_path": "engine/impeller/docs/ubo_gles2.md", "repo_id": "engine", "token_count": 802 }
197
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_CONICAL_GRADIENT_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_CONICAL_GRADIENT_CONTENTS_H_ #include <func...
engine/impeller/entity/contents/conical_gradient_contents.h/0
{ "file_path": "engine/impeller/entity/contents/conical_gradient_contents.h", "repo_id": "engine", "token_count": 801 }
198
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/entity/contents/filters/gaussian_blur_filter_contents.h" #include <cmath> #include "flutter/fml/make_copyable.h" #include "impeller/en...
engine/impeller/entity/contents/filters/gaussian_blur_filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/gaussian_blur_filter_contents.cc", "repo_id": "engine", "token_count": 11793 }
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. #include "impeller/entity/contents/filters/local_matrix_filter_contents.h" namespace impeller { LocalMatrixFilterContents::LocalMatrixFilterContents() = ...
engine/impeller/entity/contents/filters/local_matrix_filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/local_matrix_filter_contents.cc", "repo_id": "engine", "token_count": 489 }
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_ENTITY_CONTENTS_LINEAR_GRADIENT_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_LINEAR_GRADIENT_CONTENTS_H_ #include <functi...
engine/impeller/entity/contents/linear_gradient_contents.h/0
{ "file_path": "engine/impeller/entity/contents/linear_gradient_contents.h", "repo_id": "engine", "token_count": 785 }
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. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_RECORDING_RENDER_PASS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_RECORDING_RENDER_PASS_H_ #include "im...
engine/impeller/entity/contents/test/recording_render_pass.h/0
{ "file_path": "engine/impeller/entity/contents/test/recording_render_pass.h", "repo_id": "engine", "token_count": 1062 }
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_ENTITY_ENTITY_PASS_DELEGATE_H_ #define FLUTTER_IMPELLER_ENTITY_ENTITY_PASS_DELEGATE_H_ #include <memory> #include "flutter/fml/m...
engine/impeller/entity/entity_pass_delegate.h/0
{ "file_path": "engine/impeller/entity/entity_pass_delegate.h", "repo_id": "engine", "token_count": 512 }
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. #ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_GEOMETRY_H_ #define FLUTTER_IMPELLER_ENTITY_GEOMETRY_GEOMETRY_H_ #include "impeller/core/formats.h" #include "imp...
engine/impeller/entity/geometry/geometry.h/0
{ "file_path": "engine/impeller/entity/geometry/geometry.h", "repo_id": "engine", "token_count": 2648 }
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. #include "impeller/entity/render_target_cache.h" #include "impeller/renderer/render_target.h" namespace impeller { RenderTargetCache::RenderTargetCache(s...
engine/impeller/entity/render_target_cache.cc/0
{ "file_path": "engine/impeller/entity/render_target_cache.cc", "repo_id": "engine", "token_count": 1858 }
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. precision mediump float; #include <impeller/color.glsl> #include <impeller/texture.glsl> #include <impeller/types.glsl> // A color filter that transforms...
engine/impeller/entity/shaders/color_matrix_color_filter.frag/0
{ "file_path": "engine/impeller/entity/shaders/color_matrix_color_filter.frag", "repo_id": "engine", "token_count": 671 }
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. #include <impeller/transform.glsl> #include <impeller/types.glsl> uniform FrameInfo { mat4 mvp; float depth; mat4 entity_transform; vec2 atlas_siz...
engine/impeller/entity/shaders/glyph_atlas.vert/0
{ "file_path": "engine/impeller/entity/shaders/glyph_atlas.vert", "repo_id": "engine", "token_count": 1148 }
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. #include <impeller/types.glsl> uniform FrameInfo { mat4 mvp; float depth; f16vec4 color; } frame_info; in vec2 position; IMPELLER_MAYBE_FLAT out f...
engine/impeller/entity/shaders/solid_fill.vert/0
{ "file_path": "engine/impeller/entity/shaders/solid_fill.vert", "repo_id": "engine", "token_count": 191 }
208
layout(local_size_x = 128) in; layout(std430) buffer; layout(binding = 0) writeonly buffer Output { uint count; uint elements[]; } output_data; layout(binding = 1) readonly buffer Input { uint count; uint elements[]; } input_data; void main() { uint ident = gl_GlobalInvocationID.x; if (ident >= input_da...
engine/impeller/fixtures/stage2.comp/0
{ "file_path": "engine/impeller/fixtures/stage2.comp", "repo_id": "engine", "token_count": 165 }
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 "gtest/gtest.h" #include "flutter/impeller/geometry/rect.h" #include "flutter/impeller/geometry/geometry_asserts.h" namespace impeller { namesp...
engine/impeller/geometry/rect_unittests.cc/0
{ "file_path": "engine/impeller/geometry/rect_unittests.cc", "repo_id": "engine", "token_count": 43340 }
210
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "vector.h" #include <sstream> namespace impeller { std::string Vector3::ToString() const { std::stringstream stream; stream << "{" << x << "...
engine/impeller/geometry/vector.cc/0
{ "file_path": "engine/impeller/geometry/vector.cc", "repo_id": "engine", "token_count": 181 }
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_GOLDEN_TESTS_SCREENSHOTTER_H_ #define FLUTTER_IMPELLER_GOLDEN_TESTS_SCREENSHOTTER_H_ #include "flutter/fml/macros.h" #include "fl...
engine/impeller/golden_tests/screenshotter.h/0
{ "file_path": "engine/impeller/golden_tests/screenshotter.h", "repo_id": "engine", "token_count": 372 }
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_PLAYGROUND_COMPUTE_PLAYGROUND_TEST_H_ #define FLUTTER_IMPELLER_PLAYGROUND_COMPUTE_PLAYGROUND_TEST_H_ #include <memory> #include ...
engine/impeller/playground/compute_playground_test.h/0
{ "file_path": "engine/impeller/playground/compute_playground_test.h", "repo_id": "engine", "token_count": 908 }
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. #include "impeller/playground/playground_impl.h" #include "flutter/testing/testing.h" #define GLFW_INCLUDE_NONE #include "third_party/glfw/include/GLFW/gl...
engine/impeller/playground/playground_impl.cc/0
{ "file_path": "engine/impeller/playground/playground_impl.cc", "repo_id": "engine", "token_count": 1212 }
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_RENDERER_BACKEND_GLES_BLIT_PASS_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BLIT_PASS_GLES_H_ #include <memory> #incl...
engine/impeller/renderer/backend/gles/blit_pass_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/blit_pass_gles.h", "repo_id": "engine", "token_count": 1214 }
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. #include "impeller/renderer/backend/gles/gpu_tracer_gles.h" #include <thread> #include "fml/trace_event.h" namespace impeller { GPUTracerGLES::GPUTracerG...
engine/impeller/renderer/backend/gles/gpu_tracer_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/gpu_tracer_gles.cc", "repo_id": "engine", "token_count": 979 }
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/gles/sampler_library_gles.h" #include "impeller/base/config.h" #include "impeller/base/validation.h" #include "impelle...
engine/impeller/renderer/backend/gles/sampler_library_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/sampler_library_gles.cc", "repo_id": "engine", "token_count": 563 }
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 "flutter/testing/testing.h" // IWYU pragma: keep #include "fml/mapping.h" #include "gtest/gtest.h" #include "impeller/renderer/backend/gles/proc_...
engine/impeller/renderer/backend/gles/test/specialization_constants_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/test/specialization_constants_unittests.cc", "repo_id": "engine", "token_count": 1111 }
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_RENDERER_BACKEND_METAL_COMPUTE_PIPELINE_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMPUTE_PIPELINE_MTL_H_ #include <...
engine/impeller/renderer/backend/metal/compute_pipeline_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/compute_pipeline_mtl.h", "repo_id": "engine", "token_count": 563 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_MTL_H_ #include <Metal/Metal.h> ...
engine/impeller/renderer/backend/metal/pipeline_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/pipeline_mtl.h", "repo_id": "engine", "token_count": 550 }
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 "flutter/testing/testing.h" #include "impeller/core/formats.h" #include "impeller/core/texture_descriptor.h" #include "impeller/renderer/backend/m...
engine/impeller/renderer/backend/metal/texture_mtl_unittests.mm/0
{ "file_path": "engine/impeller/renderer/backend/metal/texture_mtl_unittests.mm", "repo_id": "engine", "token_count": 607 }
221
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/renderer/backend/vulkan/blit_pass_vk.h" #include "flutter/fml/logging.h" #include "flutter/fml/trace_event.h" #include "impeller/render...
engine/impeller/renderer/backend/vulkan/blit_pass_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/blit_pass_vk.cc", "repo_id": "engine", "token_count": 1153 }
222
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/renderer/backend/vulkan/compute_pipeline_vk.h" namespace impeller { ComputePipelineVK::ComputePipelineVK( std::weak_ptr<DeviceHold...
engine/impeller/renderer/backend/vulkan/compute_pipeline_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/compute_pipeline_vk.cc", "repo_id": "engine", "token_count": 568 }
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/renderer/backend/vulkan/fence_waiter_vk.h" #include <algorithm> #include <chrono> #include <utility> #include "flutter/fml/cpu_affinit...
engine/impeller/renderer/backend/vulkan/fence_waiter_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/fence_waiter_vk.cc", "repo_id": "engine", "token_count": 2339 }
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/renderer/backend/vulkan/render_pass_builder_vk.h" #include <algorithm> #include <vector> #include "impeller/renderer/backend/vulkan/fo...
engine/impeller/renderer/backend/vulkan/render_pass_builder_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/render_pass_builder_vk.cc", "repo_id": "engine", "token_count": 2675 }
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_RENDERER_BACKEND_VULKAN_TEST_MOCK_VULKAN_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_TEST_MOCK_VULKAN_H_ #include <functi...
engine/impeller/renderer/backend/vulkan/test/mock_vulkan.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/test/mock_vulkan.h", "repo_id": "engine", "token_count": 1415 }
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/renderer/backend/vulkan/yuv_conversion_vk.h" #include "flutter/fml/hash_combine.h" #include "impeller/base/validation.h" #include "impe...
engine/impeller/renderer/backend/vulkan/yuv_conversion_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/yuv_conversion_vk.cc", "repo_id": "engine", "token_count": 2381 }
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. #include "impeller/renderer/compute_pass.h" namespace impeller { ComputePass::ComputePass(std::shared_ptr<const Context> context) : context_(std::mov...
engine/impeller/renderer/compute_pass.cc/0
{ "file_path": "engine/impeller/renderer/compute_pass.cc", "repo_id": "engine", "token_count": 170 }
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. #define FML_USED_ON_EMBEDDER #include <memory> #include "flutter/common/settings.h" #include "flutter/common/task_runners.h" #include "flutter/lib/gpu/co...
engine/impeller/renderer/renderer_dart_unittests.cc/0
{ "file_path": "engine/impeller/renderer/renderer_dart_unittests.cc", "repo_id": "engine", "token_count": 2226 }
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. #include "impeller/renderer/texture_mipmap.h" #include "impeller/renderer/blit_pass.h" #include "impeller/renderer/command_buffer.h" namespace impeller { ...
engine/impeller/renderer/texture_mipmap.cc/0
{ "file_path": "engine/impeller/renderer/texture_mipmap.cc", "repo_id": "engine", "token_count": 311 }
230
## ⚠️ **Experimental:** Do not use in production! ⚠️ # Impeller Scene Impeller Scene is an experimental realtime 3D renderer powered by Impeller's render layer with the following design priorities: * Ease of use. * Suitability for mobile. * Common case scalability. The aim is to create a familiar and flexible scene...
engine/impeller/scene/README.md/0
{ "file_path": "engine/impeller/scene/README.md", "repo_id": "engine", "token_count": 1654 }
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_SCENE_IMPORTER_CONVERSIONS_H_ #define FLUTTER_IMPELLER_SCENE_IMPORTER_CONVERSIONS_H_ #include <cstddef> #include <map> #include <...
engine/impeller/scene/importer/conversions.h/0
{ "file_path": "engine/impeller/scene/importer/conversions.h", "repo_id": "engine", "token_count": 487 }
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. #ifndef FLUTTER_IMPELLER_SCENE_NODE_H_ #define FLUTTER_IMPELLER_SCENE_NODE_H_ #include <memory> #include <mutex> #include <optional> #include <vector> #i...
engine/impeller/scene/node.h/0
{ "file_path": "engine/impeller/scene/node.h", "repo_id": "engine", "token_count": 1381 }
233
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/shader_archive/multi_arch_shader_archive.h" #include "impeller/shader_archive/multi_arch_shader_archive_flatbuffers.h" namespace impel...
engine/impeller/shader_archive/multi_arch_shader_archive.cc/0
{ "file_path": "engine/impeller/shader_archive/multi_arch_shader_archive.cc", "repo_id": "engine", "token_count": 1266 }
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 "tessellator.h" #include <vector> namespace impeller { PathBuilder* CreatePathBuilder() { return new PathBuilder(); } void DestroyPathBuilder...
engine/impeller/tessellator/c/tessellator.cc/0
{ "file_path": "engine/impeller/tessellator/c/tessellator.cc", "repo_id": "engine", "token_count": 972 }
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. #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_PROC_TABLE_H_ #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_PROC_TABLE_H_ #include <EGL/egl.h> #define EGL_EGLEXT_PROT...
engine/impeller/toolkit/android/proc_table.h/0
{ "file_path": "engine/impeller/toolkit/android/proc_table.h", "repo_id": "engine", "token_count": 1694 }
236
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_IMAGE_H_ #define FLUTTER_IMPELLER_TOOLKIT_EGL_IMAGE_H_ #include "flutter/fml/unique_object.h" #include "flutter/impel...
engine/impeller/toolkit/egl/image.h/0
{ "file_path": "engine/impeller/toolkit/egl/image.h", "repo_id": "engine", "token_count": 759 }
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. import("//flutter/impeller/tools/impeller.gni") impeller_component("typographer") { sources = [ "font.cc", "font.h", "font_glyph_pair.cc", ...
engine/impeller/typographer/BUILD.gn/0
{ "file_path": "engine/impeller/typographer/BUILD.gn", "repo_id": "engine", "token_count": 512 }
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_TYPOGRAPHER_BACKENDS_STB_TYPEFACE_STB_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TYPEFACE_STB_H_ #include "flutter/fml/...
engine/impeller/typographer/backends/stb/typeface_stb.h/0
{ "file_path": "engine/impeller/typographer/backends/stb/typeface_stb.h", "repo_id": "engine", "token_count": 573 }
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. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_TEXT_FRAME_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_TEXT_FRAME_H_ #include "flutter/fml/macros.h" #include "impeller/t...
engine/impeller/typographer/text_frame.h/0
{ "file_path": "engine/impeller/typographer/text_frame.h", "repo_id": "engine", "token_count": 815 }
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. // ignore_for_file: public_member_api_docs part of flutter_gpu; base class ShaderLibrary extends NativeFieldWrapperClass1 { static ShaderLibrary? fromA...
engine/lib/gpu/lib/src/shader_library.dart/0
{ "file_path": "engine/lib/gpu/lib/src/shader_library.dart", "repo_id": "engine", "token_count": 510 }
241
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/build/dart/dart.gni") source_set("io") { sources = [ "dart_io.cc", "dart_io.h", ] deps = [ "$dart_src/runtime:dart_api",...
engine/lib/io/BUILD.gn/0
{ "file_path": "engine/lib/io/BUILD.gn", "repo_id": "engine", "token_count": 213 }
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/compositing/scene_builder.h" #include "flutter/flow/layers/backdrop_filter_layer.h" #include "flutter/flow/layers/clip_path_layer...
engine/lib/ui/compositing/scene_builder.cc/0
{ "file_path": "engine/lib/ui/compositing/scene_builder.cc", "repo_id": "engine", "token_count": 5178 }
243
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/compiled_action.gni") import("//flutter/impeller/tools/impeller.gni") import("//flutter/testing/testing.gni") if (enable_unittests) { test_...
engine/lib/ui/fixtures/shaders/supported_op_shaders/BUILD.gn/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_op_shaders/BUILD.gn", "repo_id": "engine", "token_count": 770 }
244
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of dart.ui; /// Same as [num.clamp] but optimized for a non-null [double]. /// /// This is faster because it avoids polymorphism, boxing, and special...
engine/lib/ui/math.dart/0
{ "file_path": "engine/lib/ui/math.dart", "repo_id": "engine", "token_count": 224 }
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. #ifndef FLUTTER_LIB_UI_PAINTING_ENGINE_LAYER_H_ #define FLUTTER_LIB_UI_PAINTING_ENGINE_LAYER_H_ #include "flutter/flow/layers/container_layer.h" #include ...
engine/lib/ui/painting/engine_layer.h/0
{ "file_path": "engine/lib/ui/painting/engine_layer.h", "repo_id": "engine", "token_count": 399 }
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_LIB_UI_PAINTING_IMAGE_DECODER_SKIA_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_SKIA_H_ #include "flutter/fml/macros.h" #include "flut...
engine/lib/ui/painting/image_decoder_skia.h/0
{ "file_path": "engine/lib/ui/painting/image_decoder_skia.h", "repo_id": "engine", "token_count": 471 }
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_PAINTING_IMAGE_GENERATOR_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_H_ #include <optional> #include "flutter/fml/macros.h" ...
engine/lib/ui/painting/image_generator.h/0
{ "file_path": "engine/lib/ui/painting/image_generator.h", "repo_id": "engine", "token_count": 3310 }
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/lib/ui/painting/paint.h" #include "flutter/shell/common/shell_test.h" #include "flutter/shell/common/thread_host.h" #include "flutter/te...
engine/lib/ui/painting/paint_unittests.cc/0
{ "file_path": "engine/lib/ui/painting/paint_unittests.cc", "repo_id": "engine", "token_count": 959 }
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/lib/ui/painting/shader.h" #include "flutter/lib/ui/ui_dart_state.h" namespace flutter { IMPLEMENT_WRAPPERTYPEINFO(ui, Shader); Shader...
engine/lib/ui/painting/shader.cc/0
{ "file_path": "engine/lib/ui/painting/shader.cc", "repo_id": "engine", "token_count": 126 }
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 "flutter/lib/ui/semantics/semantics_node.h" #include <cstring> namespace flutter { constexpr int32_t kMinPlatformViewId = -1; SemanticsNode::S...
engine/lib/ui/semantics/semantics_node.cc/0
{ "file_path": "engine/lib/ui/semantics/semantics_node.cc", "repo_id": "engine", "token_count": 257 }
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. #include "flutter/lib/ui/text/paragraph.h" #include "flutter/common/settings.h" #include "flutter/common/task_runners.h" #include "flutter/fml/logging.h" ...
engine/lib/ui/text/paragraph.cc/0
{ "file_path": "engine/lib/ui/text/paragraph.cc", "repo_id": "engine", "token_count": 3343 }
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. #ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_CONFIGURATION_H_ #define FLUTTER_LIB_UI_WINDOW_PLATFORM_CONFIGURATION_H_ #include <functional> #include <memory> #i...
engine/lib/ui/window/platform_configuration.h/0
{ "file_path": "engine/lib/ui/window/platform_configuration.h", "repo_id": "engine", "token_count": 9761 }
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 "flutter/lib/ui/window/pointer_data_packet.h" #include "flutter/fml/logging.h" #include <cstring> namespace flutter { PointerDataPacket::Pointe...
engine/lib/ui/window/pointer_data_packet.cc/0
{ "file_path": "engine/lib/ui/window/pointer_data_packet.cc", "repo_id": "engine", "token_count": 374 }
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 'dart:async'; import 'package:args/command_runner.dart'; import 'environment.dart'; import 'pipeline.dart'; import 'utils.dart'; class AnalyzeCom...
engine/lib/web_ui/dev/analyze.dart/0
{ "file_path": "engine/lib/web_ui/dev/analyze.dart", "repo_id": "engine", "token_count": 541 }
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:io' as io; import 'package:yaml/yaml.dart'; enum Compiler { dart2js, dart2wasm } enum Renderer { html, canvaskit, skwasm, } class...
engine/lib/web_ui/dev/felt_config.dart/0
{ "file_path": "engine/lib/web_ui/dev/felt_config.dart", "repo_id": "engine", "token_count": 3317 }
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 'dart:async'; import 'dart:io' as io; import 'package:args/command_runner.dart'; import 'package:path/path.dart' as path; import 'package:watcher/...
engine/lib/web_ui/dev/test_runner.dart/0
{ "file_path": "engine/lib/web_ui/dev/test_runner.dart", "repo_id": "engine", "token_count": 6444 }
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. type JSCompileTarget = "dart2js" | "dartdevc"; type WasmCompileTarget = "dart2wasm"; export type CompileTarget = JSCompileTarget | WasmCompileTarget; exp...
engine/lib/web_ui/flutter_js/src/types.d.ts/0
{ "file_path": "engine/lib/web_ui/flutter_js/src/types.d.ts", "repo_id": "engine", "token_count": 522 }
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. part of ui; /// Runs [computation] on the platform thread and returns the result. /// /// This may run the computation on a separate isolate. That isolate...
engine/lib/web_ui/lib/platform_isolate.dart/0
{ "file_path": "engine/lib/web_ui/lib/platform_isolate.dart", "repo_id": "engine", "token_count": 362 }
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 'dart:typed_data'; import 'package:ui/src/engine/vector_math.dart'; import 'package:ui/ui.dart' as ui; import '../util.dart'; import 'canvaskit_ap...
engine/lib/web_ui/lib/src/engine/canvaskit/image_filter.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/image_filter.dart", "repo_id": "engine", "token_count": 2253 }
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 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import 'canvas.dart'; import 'canvaskit_api.dart'; import 'picture.dart'; class CkPictureRe...
engine/lib/web_ui/lib/src/engine/canvaskit/picture_recorder.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/picture_recorder.dart", "repo_id": "engine", "token_count": 470 }
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 'dart:math' as math; import 'dart:typed_data'; import 'package:js/js_util.dart' as js_util; import '...
engine/lib/web_ui/lib/src/engine/dom.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/dom.dart", "repo_id": "engine", "token_count": 36341 }
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 'package:ui/ui.dart' as ui; import '../dom.dart'; import '../util.dart'; import '../vector_math.dart'; import 'surface.dart'; /// A surface that t...
engine/lib/web_ui/lib/src/engine/html/offset.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/offset.dart", "repo_id": "engine", "token_count": 545 }
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:math' as math; import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import '../engine_canvas.dart'; import '../picture.dart'; import...
engine/lib/web_ui/lib/src/engine/html/recording_canvas.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/html/recording_canvas.dart", "repo_id": "engine", "token_count": 23375 }
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. import 'dart:js_interop'; import 'dart:typed_data'; import 'package:meta/meta.dart'; import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as u...
engine/lib/web_ui/lib/src/engine/image_decoder.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/image_decoder.dart", "repo_id": "engine", "token_count": 5008 }
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. import 'dart:async'; import 'package:ui/ui.dart' as ui; import 'dom.dart'; import 'html/bitmap_canvas.dart'; import 'html/recording_canvas.dart'; import ...
engine/lib/web_ui/lib/src/engine/picture.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/picture.dart", "repo_id": "engine", "token_count": 1310 }
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. /// JavaScript API bindings for browser APIs. /// /// The public surface of this API must be safe to use. In particular, using the /// API of this library ...
engine/lib/web_ui/lib/src/engine/safe_browser_api.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/safe_browser_api.dart", "repo_id": "engine", "token_count": 12013 }
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:math' as math; import 'dart:typed_data'; import 'package:meta/meta.dart'; import 'package:ui/ui.dart' as ui; import 'package:ui/ui_web/src/ui...
engine/lib/web_ui/lib/src/engine/semantics/semantics.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/semantics/semantics.dart", "repo_id": "engine", "token_count": 28839 }
268
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:ffi'; import 'dart:js_interop'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; import 'package:ui/src/e...
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/font_collection.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/font_collection.dart", "repo_id": "engine", "token_count": 3262 }
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. @DefaultAsset('skwasm') library skwasm_impl; import 'dart:ffi'; import 'package:ui/src/engine/skwasm/skwasm_impl.dart'; final class RawContourMeasure ex...
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_path_metrics.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_path_metrics.dart", "repo_id": "engine", "token_count": 603 }
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 'dart:_wasm'; import 'dart:async'; import 'dart:ffi'; import 'dart:js_interop'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; impo...
engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/surface.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/surface.dart", "repo_id": "engine", "token_count": 1700 }
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. import 'dart:math' as math; import 'package:ui/ui.dart' as ui; import 'package:ui/ui_web/src/ui_web.dart' as ui_web; import '../browser_detection.dart'; ...
engine/lib/web_ui/lib/src/engine/text/paragraph.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/text/paragraph.dart", "repo_id": "engine", "token_count": 13996 }
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. import 'dart:async'; import 'package:meta/meta.dart'; import 'package:ui/src/engine/dom.dart'; import 'package:ui/src/engine/view_embedder/display_dpr_str...
engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/dimensions_provider.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/dimensions_provider.dart", "repo_id": "engine", "token_count": 860 }
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. import 'dart:convert'; import 'dart:typed_data'; import 'package:ui/src/engine.dart'; /// Provides the [AssetManager] used by the Flutter Engine. AssetMa...
engine/lib/web_ui/lib/ui_web/src/ui_web/asset_manager.dart/0
{ "file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/asset_manager.dart", "repo_id": "engine", "token_count": 1227 }
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. #include "../export.h" #include "../wrappers.h" #include "third_party/skia/modules/skparagraph/include/ParagraphBuilder.h" using namespace skia::textlayou...
engine/lib/web_ui/skwasm/text/paragraph_builder.cpp/0
{ "file_path": "engine/lib/web_ui/skwasm/text/paragraph_builder.cpp", "repo_id": "engine", "token_count": 1203 }
275
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:typed_data'; import 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'packa...
engine/lib/web_ui/test/canvaskit/filter_test.dart/0
{ "file_path": "engine/lib/web_ui/test/canvaskit/filter_test.dart", "repo_id": "engine", "token_count": 3269 }
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. import 'dart:typed_data'; import 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'pac...
engine/lib/web_ui/test/canvaskit/picture_test.dart/0
{ "file_path": "engine/lib/web_ui/test/canvaskit/picture_test.dart", "repo_id": "engine", "token_count": 2148 }
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. /// Provides utilities for testing engine code. library matchers; import 'dart:math' as math; import 'package:html/dom.dart' as html_package; import 'pac...
engine/lib/web_ui/test/common/matchers.dart/0
{ "file_path": "engine/lib/web_ui/test/common/matchers.dart", "repo_id": "engine", "token_count": 5676 }
278