text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_GL_H_ #define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_GL_H_ #include "flutter/display_list/testi...
engine/display_list/testing/dl_test_surface_gl.h/0
{ "file_path": "engine/display_list/testing/dl_test_surface_gl.h", "repo_id": "engine", "token_count": 521 }
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 "flutter/flow/testing/diff_context_test.h" namespace flutter { namespace testing { TEST_F(DiffContextTest, ClipAlignment) { MockLayerTree t1; ...
engine/flow/diff_context_unittests.cc/0
{ "file_path": "engine/flow/diff_context_unittests.cc", "repo_id": "engine", "token_count": 596 }
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. #include "flutter/flow/layers/cacheable_layer.h" namespace flutter { AutoCache::AutoCache(RasterCacheItem* raster_cache_item, Prerol...
engine/flow/layers/cacheable_layer.cc/0
{ "file_path": "engine/flow/layers/cacheable_layer.cc", "repo_id": "engine", "token_count": 428 }
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 "flutter/flow/layers/container_layer.h" #include <optional> namespace flutter { ContainerLayer::ContainerLayer() : child_paint_bounds_(SkRect::...
engine/flow/layers/container_layer.cc/0
{ "file_path": "engine/flow/layers/container_layer.cc", "repo_id": "engine", "token_count": 2500 }
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_FLOW_LAYERS_LAYER_STATE_STACK_H_ #define FLUTTER_FLOW_LAYERS_LAYER_STATE_STACK_H_ #include "flutter/display_list/dl_canvas.h" #include "fl...
engine/flow/layers/layer_state_stack.h/0
{ "file_path": "engine/flow/layers/layer_state_stack.h", "repo_id": "engine", "token_count": 6360 }
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 "flutter/flow/layers/clip_rect_layer.h" #include "flutter/flow/layers/platform_view_layer.h" #include "flutter/flow/layers/transform_layer.h" #in...
engine/flow/layers/platform_view_layer_unittests.cc/0
{ "file_path": "engine/flow/layers/platform_view_layer_unittests.cc", "repo_id": "engine", "token_count": 2278 }
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_FLOW_RASTER_CACHE_H_ #define FLUTTER_FLOW_RASTER_CACHE_H_ #include <memory> #include <unordered_map> #include "flutter/display_list/dl_ca...
engine/flow/raster_cache.h/0
{ "file_path": "engine/flow/raster_cache.h", "repo_id": "engine", "token_count": 3183 }
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. #include "flutter/flow/stopwatch.h" #include "fml/time/time_delta.h" #include "gmock/gmock.h" // IWYU pragma: keep #include "gtest/gtest.h" using testing...
engine/flow/stopwatch_unittests.cc/0
{ "file_path": "engine/flow/stopwatch_unittests.cc", "repo_id": "engine", "token_count": 907 }
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 "flutter/flow/testing/mock_raster_cache.h" #include "flutter/flow/layers/display_list_raster_cache_item.h" #include "flutter/flow/layers/layer.h"...
engine/flow/testing/mock_raster_cache.cc/0
{ "file_path": "engine/flow/testing/mock_raster_cache.cc", "repo_id": "engine", "token_count": 2867 }
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. #ifndef FLUTTER_FLUTTER_VMA_FLUTTER_SKIA_VMA_H_ #define FLUTTER_FLUTTER_VMA_FLUTTER_SKIA_VMA_H_ #include "flutter/flutter_vma/flutter_vma.h" #include "fl...
engine/flutter_vma/flutter_skia_vma.h/0
{ "file_path": "engine/flutter_vma/flutter_skia_vma.h", "repo_id": "engine", "token_count": 1106 }
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 "fml/closure.h" #include "gtest/gtest.h" TEST(ScopedCleanupClosureTest, DestructorDoesNothingWhenNoClosureSet) { fml::ScopedCleanupClosure clea...
engine/fml/closure_unittests.cc/0
{ "file_path": "engine/fml/closure_unittests.cc", "repo_id": "engine", "token_count": 579 }
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. #include "flutter/fml/memory/task_runner_checker.h" namespace fml { TaskRunnerChecker::TaskRunnerChecker() : initialized_queue_id_(InitTaskQueueId())...
engine/fml/memory/task_runner_checker.cc/0
{ "file_path": "engine/fml/memory/task_runner_checker.cc", "repo_id": "engine", "token_count": 558 }
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. #define FML_USED_ON_EMBEDDER #include <thread> #include <utility> #include "flutter/fml/message_loop_task_queues.h" #include "flutter/fml/synchronization...
engine/fml/message_loop_task_queues_merge_unmerge_unittests.cc/0
{ "file_path": "engine/fml/message_loop_task_queues_merge_unmerge_unittests.cc", "repo_id": "engine", "token_count": 4000 }
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. #ifndef FLUTTER_FML_PLATFORM_ANDROID_PATHS_ANDROID_H_ #define FLUTTER_FML_PLATFORM_ANDROID_PATHS_ANDROID_H_ #include "flutter/fml/macros.h" #include "flut...
engine/fml/platform/android/paths_android.h/0
{ "file_path": "engine/fml/platform/android/paths_android.h", "repo_id": "engine", "token_count": 200 }
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. #ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSOBJECT_H_ #define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_NSOBJECT_H_ #include <type_traits> #include <utility> /...
engine/fml/platform/darwin/scoped_nsobject.h/0
{ "file_path": "engine/fml/platform/darwin/scoped_nsobject.h", "repo_id": "engine", "token_count": 3502 }
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. #include "flutter/fml/platform/fuchsia/log_state.h" #include <fidl/fuchsia.logger/cpp/fidl.h> #include <lib/component/incoming/cpp/protocol.h> #include <l...
engine/fml/platform/fuchsia/log_state.cc/0
{ "file_path": "engine/fml/platform/fuchsia/log_state.cc", "repo_id": "engine", "token_count": 772 }
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 "flutter/fml/paths.h" #include <unistd.h> #include <climits> #include "flutter/fml/logging.h" namespace fml { namespace paths { namespace { ...
engine/fml/platform/posix/paths_posix.cc/0
{ "file_path": "engine/fml/platform/posix/paths_posix.cc", "repo_id": "engine", "token_count": 518 }
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. #include "flutter/fml/string_conversion.h" #include "gtest/gtest.h" namespace fml { namespace testing { TEST(StringConversion, Utf16ToUtf16Empty) { EX...
engine/fml/string_conversion_unittests.cc/0
{ "file_path": "engine/fml/string_conversion_unittests.cc", "repo_id": "engine", "token_count": 387 }
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 "flutter/fml/synchronization/waitable_event.h" #include <atomic> #include <cstddef> #include <cstdint> #include <cstdlib> #include <thread> #incl...
engine/fml/synchronization/waitable_event_unittest.cc/0
{ "file_path": "engine/fml/synchronization/waitable_event_unittest.cc", "repo_id": "engine", "token_count": 2200 }
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_FML_TIME_TIME_POINT_H_ #define FLUTTER_FML_TIME_TIME_POINT_H_ #include <cstdint> #include <functional> #include <iosfwd> #include "flutte...
engine/fml/time/time_point.h/0
{ "file_path": "engine/fml/time/time_point.h", "repo_id": "engine", "token_count": 777 }
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. #include "impeller/aiks/aiks_context.h" #include "fml/closure.h" #include "impeller/aiks/picture.h" #include "impeller/typographer/typographer_context.h" ...
engine/impeller/aiks/aiks_context.cc/0
{ "file_path": "engine/impeller/aiks/aiks_context.cc", "repo_id": "engine", "token_count": 660 }
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 "flutter/testing/testing.h" #include "impeller/aiks/canvas.h" #include "impeller/aiks/image_filter.h" #include "impeller/geometry/path_builder.h" ...
engine/impeller/aiks/canvas_unittests.cc/0
{ "file_path": "engine/impeller/aiks/canvas_unittests.cc", "repo_id": "engine", "token_count": 4945 }
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_AIKS_PICTURE_RECORDER_H_ #define FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_ #include "flutter/fml/macros.h" #include "impeller/aik...
engine/impeller/aiks/picture_recorder.h/0
{ "file_path": "engine/impeller/aiks/picture_recorder.h", "repo_id": "engine", "token_count": 254 }
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. #ifndef FLUTTER_IMPELLER_BASE_MASK_H_ #define FLUTTER_IMPELLER_BASE_MASK_H_ #include <type_traits> namespace impeller { template <typename EnumType_> st...
engine/impeller/base/mask.h/0
{ "file_path": "engine/impeller/base/mask.h", "repo_id": "engine", "token_count": 2940 }
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 <string_view> namespace impeller { namespace compiler { constexpr std::string_view kReflectionHeaderTemplate = R"~~(// THIS FILE IS GENERATE...
engine/impeller/compiler/code_gen_template.h/0
{ "file_path": "engine/impeller/compiler/code_gen_template.h", "repo_id": "engine", "token_count": 3753 }
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_COMPILER_REFLECTOR_H_ #define FLUTTER_IMPELLER_COMPILER_REFLECTOR_H_ #include <cstdint> #include <memory> #include <optional> #i...
engine/impeller/compiler/reflector.h/0
{ "file_path": "engine/impeller/compiler/reflector.h", "repo_id": "engine", "token_count": 3787 }
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 CONVERSIONS_GLSL_ #define CONVERSIONS_GLSL_ vec2 IPRemapCoords(vec2 coords, float y_coord_scale) { if (y_coord_scale < 0.0) { coords.y = 1.0...
engine/impeller/compiler/shader_lib/impeller/conversions.glsl/0
{ "file_path": "engine/impeller/compiler/shader_lib/impeller/conversions.glsl", "repo_id": "engine", "token_count": 138 }
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_COMPILER_SPIRV_SKSL_H_ #define FLUTTER_IMPELLER_COMPILER_SPIRV_SKSL_H_ #include <cstdint> #include <memory> #include <utility> #i...
engine/impeller/compiler/spirv_sksl.h/0
{ "file_path": "engine/impeller/compiler/spirv_sksl.h", "repo_id": "engine", "token_count": 948 }
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/core/capture.h" #include <initializer_list> #include <memory> namespace impeller { //------------------------------------------------...
engine/impeller/core/capture.cc/0
{ "file_path": "engine/impeller/core/capture.cc", "repo_id": "engine", "token_count": 3644 }
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 "impeller/core/runtime_types.h" namespace impeller { size_t RuntimeUniformDescription::GetSize() const { size_t size = dimensions.rows * dimen...
engine/impeller/core/runtime_types.cc/0
{ "file_path": "engine/impeller/core/runtime_types.cc", "repo_id": "engine", "token_count": 205 }
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_DISPLAY_LIST_DL_DISPATCHER_H_ #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_DISPATCHER_H_ #include "flutter/display_list/dl_op_receive...
engine/impeller/display_list/dl_dispatcher.h/0
{ "file_path": "engine/impeller/display_list/dl_dispatcher.h", "repo_id": "engine", "token_count": 3918 }
216
# iOS CPU Profiling XCode has a number of built in profiling tools that can easily be used with local or prebuilt engines. This document is focused on creating flame graph charts, which is not a part of XCode but provides a useful way to look at aggregate performance. Compared to the Android Studio flame graph this on...
engine/impeller/docs/ios_cpu_profile.md/0
{ "file_path": "engine/impeller/docs/ios_cpu_profile.md", "repo_id": "engine", "token_count": 344 }
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 <memory> #include <optional> #include "gtest/gtest.h" #include "impeller/entity/contents/checkerboard_contents.h" #include "impeller/entity/cont...
engine/impeller/entity/contents/checkerboard_contents_unittests.cc/0
{ "file_path": "engine/impeller/entity/contents/checkerboard_contents_unittests.cc", "repo_id": "engine", "token_count": 606 }
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/entity/contents/filters/color_filter_contents.h" #include <utility> #include "impeller/base/validation.h" #include "impeller/entity/co...
engine/impeller/entity/contents/filters/color_filter_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/color_filter_contents.cc", "repo_id": "engine", "token_count": 1247 }
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/entity/contents/filters/inputs/placeholder_filter_input.h" #include <optional> #include <utility> #include "impeller/base/strings.h" ...
engine/impeller/entity/contents/filters/inputs/placeholder_filter_input.cc/0
{ "file_path": "engine/impeller/entity/contents/filters/inputs/placeholder_filter_input.cc", "repo_id": "engine", "token_count": 368 }
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 "framebuffer_blend_contents.h" #include "impeller/entity/contents/content_context.h" #include "impeller/renderer/render_pass.h" namespace impell...
engine/impeller/entity/contents/framebuffer_blend_contents.cc/0
{ "file_path": "engine/impeller/entity/contents/framebuffer_blend_contents.cc", "repo_id": "engine", "token_count": 2170 }
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. #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_SOLID_RRECT_BLUR_CONTENTS_H_ #define FLUTTER_IMPELLER_ENTITY_CONTENTS_SOLID_RRECT_BLUR_CONTENTS_H_ #include <func...
engine/impeller/entity/contents/solid_rrect_blur_contents.h/0
{ "file_path": "engine/impeller/entity/contents/solid_rrect_blur_contents.h", "repo_id": "engine", "token_count": 614 }
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 <memory> #include <optional> #include "gtest/gtest.h" #include "impeller/entity/contents/contents.h" #include "impeller/entity/contents/solid_co...
engine/impeller/entity/contents/vertices_contents_unittests.cc/0
{ "file_path": "engine/impeller/entity/contents/vertices_contents_unittests.cc", "repo_id": "engine", "token_count": 1122 }
223
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_COVER_GEOMETRY_H_ #define FLUTTER_IMPELLER_ENTITY_GEOMETRY_COVER_GEOMETRY_H_ #include "impeller/entity/geometry/g...
engine/impeller/entity/geometry/cover_geometry.h/0
{ "file_path": "engine/impeller/entity/geometry/cover_geometry.h", "repo_id": "engine", "token_count": 674 }
224
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/entity/geometry/stroke_path_geometry.h" #include "impeller/core/buffer_view.h" #include "impeller/core/formats.h" #include "impeller/en...
engine/impeller/entity/geometry/stroke_path_geometry.cc/0
{ "file_path": "engine/impeller/entity/geometry/stroke_path_geometry.cc", "repo_id": "engine", "token_count": 11865 }
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. precision mediump float; #include <impeller/blending.glsl> #include <impeller/color.glsl> #include <impeller/texture.glsl> #include <impeller/types.glsl> ...
engine/impeller/entity/shaders/blending/porter_duff_blend.frag/0
{ "file_path": "engine/impeller/entity/shaders/blending/porter_duff_blend.frag", "repo_id": "engine", "token_count": 548 }
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/constants.glsl> #include <impeller/gaussian.glsl> #include <impeller/texture.glsl> #include <impeller/types.glsl> uniform f16sampler2D ...
engine/impeller/entity/shaders/gaussian_blur/kernel.glsl/0
{ "file_path": "engine/impeller/entity/shaders/gaussian_blur/kernel.glsl", "repo_id": "engine", "token_count": 422 }
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. precision mediump float; #include <impeller/color.glsl> #include <impeller/texture.glsl> #include <impeller/types.glsl> uniform sampler2D texture_sampler...
engine/impeller/entity/shaders/radial_gradient_fill.frag/0
{ "file_path": "engine/impeller/entity/shaders/radial_gradient_fill.frag", "repo_id": "engine", "token_count": 600 }
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. precision mediump float; #include <impeller/external_texture_oes.glsl> uniform sampler2D SAMPLER_EXTERNAL_OES_texture_sampler; uniform FragInfo { floa...
engine/impeller/entity/shaders/tiled_texture_fill_external.frag/0
{ "file_path": "engine/impeller/entity/shaders/tiled_texture_fill_external.frag", "repo_id": "engine", "token_count": 378 }
229
#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; #include <flutter/runtime_effect.glsl> layout(location = 0) uniform vec4 u_color; layout(location = 1) uniform fl...
engine/impeller/fixtures/ink_sparkle.frag/0
{ "file_path": "engine/impeller/fixtures/ink_sparkle.frag", "repo_id": "engine", "token_count": 1653 }
230
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gtest/gtest.h" #include "impeller/geometry/geometry_asserts.h" #include <limits> #include <sstream> #include <type_traits> #include "flutter/fm...
engine/impeller/geometry/geometry_unittests.cc/0
{ "file_path": "engine/impeller/geometry/geometry_unittests.cc", "repo_id": "engine", "token_count": 25252 }
231
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gtest/gtest.h" #include "flutter/impeller/geometry/size.h" namespace impeller { namespace testing { TEST(SizeTest, SizeIsEmpty) { auto nan =...
engine/impeller/geometry/size_unittests.cc/0
{ "file_path": "engine/impeller/geometry/size_unittests.cc", "repo_id": "engine", "token_count": 1100 }
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 <wordexp.h> #include "flutter/fml/backtrace.h" #include "flutter/fml/build_config.h" #include "flutter/fml/command_line.h" #include "flutter/fml/...
engine/impeller/golden_tests/main.cc/0
{ "file_path": "engine/impeller/golden_tests/main.cc", "repo_id": "engine", "token_count": 871 }
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/playground/backend/metal/playground_impl_mtl.h" #define GLFW_INCLUDE_NONE #import "third_party/glfw/include/GLFW/glfw3.h" #define GLFW...
engine/impeller/playground/backend/metal/playground_impl_mtl.mm/0
{ "file_path": "engine/impeller/playground/backend/metal/playground_impl_mtl.mm", "repo_id": "engine", "token_count": 1885 }
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 "imgui_impl_impeller.h" #include <algorithm> #include <climits> #include <memory> #include <vector> #include "impeller/core/host_buffer.h" #incl...
engine/impeller/playground/imgui/imgui_impl_impeller.cc/0
{ "file_path": "engine/impeller/playground/imgui/imgui_impl_impeller.cc", "repo_id": "engine", "token_count": 4714 }
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. import("//flutter/vulkan/config.gni") import("../../../tools/impeller.gni") config("gles_config") { # Generic GL/GLES/EGL/Vulkan headers. Any will do. We j...
engine/impeller/renderer/backend/gles/BUILD.gn/0
{ "file_path": "engine/impeller/renderer/backend/gles/BUILD.gn", "repo_id": "engine", "token_count": 1221 }
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_RENDERER_BACKEND_GLES_DESCRIPTION_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_DESCRIPTION_GLES_H_ #include <set> #incl...
engine/impeller/renderer/backend/gles/description_gles.h/0
{ "file_path": "engine/impeller/renderer/backend/gles/description_gles.h", "repo_id": "engine", "token_count": 464 }
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. #include "impeller/renderer/backend/gles/reactor_gles.h" #include <algorithm> #include "flutter/fml/trace_event.h" #include "fml/logging.h" #include "imp...
engine/impeller/renderer/backend/gles/reactor_gles.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/reactor_gles.cc", "repo_id": "engine", "token_count": 3593 }
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. #include "flutter/testing/testing.h" // IWYU pragma: keep #include "gtest/gtest.h" #include "impeller/renderer/backend/gles/formats_gles.h" namespace imp...
engine/impeller/renderer/backend/gles/test/formats_gles_unittests.cc/0
{ "file_path": "engine/impeller/renderer/backend/gles/test/formats_gles_unittests.cc", "repo_id": "engine", "token_count": 456 }
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_RENDERER_BACKEND_METAL_COMMAND_BUFFER_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMMAND_BUFFER_MTL_H_ #include <Meta...
engine/impeller/renderer/backend/metal/command_buffer_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/command_buffer_mtl.h", "repo_id": "engine", "token_count": 535 }
240
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_LAZY_DRAWABLE_HOLDER_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_LAZY_DRAWABLE_HOLDER_H_ #include <...
engine/impeller/renderer/backend/metal/lazy_drawable_holder.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/lazy_drawable_holder.h", "repo_id": "engine", "token_count": 410 }
241
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_LIBRARY_MTL_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_LIBRARY_MTL_H_ #include <Foun...
engine/impeller/renderer/backend/metal/shader_library_mtl.h/0
{ "file_path": "engine/impeller/renderer/backend/metal/shader_library_mtl.h", "repo_id": "engine", "token_count": 775 }
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. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_ANDROID_AHB_TEXTURE_SOURCE_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_ANDROID_AHB_TEXTURE_SOUR...
engine/impeller/renderer/backend/vulkan/android/ahb_texture_source_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/android/ahb_texture_source_vk.h", "repo_id": "engine", "token_count": 960 }
243
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_POOL_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_POOL_VK_H_ #include <memory> ...
engine/impeller/renderer/backend/vulkan/command_pool_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/command_pool_vk.h", "repo_id": "engine", "token_count": 2040 }
244
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/renderer/backend/vulkan/device_buffer_vk.h" #include "flutter/flutter_vma/flutter_vma.h" #include "flutter/fml/trace_event.h" #include ...
engine/impeller/renderer/backend/vulkan/device_buffer_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/device_buffer_vk.cc", "repo_id": "engine", "token_count": 1383 }
245
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/renderer/backend/vulkan/pipeline_library_vk.h" #include <chrono> #include <cstdint> #include <optional> #include <sstream> #include "f...
engine/impeller/renderer/backend/vulkan/pipeline_library_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/pipeline_library_vk.cc", "repo_id": "engine", "token_count": 3644 }
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 "impeller/renderer/backend/vulkan/sampler_vk.h" #include "impeller/renderer/backend/vulkan/context_vk.h" #include "impeller/renderer/backend/vulk...
engine/impeller/renderer/backend/vulkan/sampler_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/sampler_vk.cc", "repo_id": "engine", "token_count": 1815 }
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. #include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.h" #include "fml/synchronization/semaphore.h" #include "impeller/base/valid...
engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.cc/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.cc", "repo_id": "engine", "token_count": 7224 }
248
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VERTEX_DESCRIPTOR_VK_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VERTEX_DESCRIPTOR_VK_H_ #include...
engine/impeller/renderer/backend/vulkan/vertex_descriptor_vk.h/0
{ "file_path": "engine/impeller/renderer/backend/vulkan/vertex_descriptor_vk.h", "repo_id": "engine", "token_count": 248 }
249
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/renderer/command.h" #include <utility> #include "impeller/base/validation.h" #include "impeller/core/formats.h" #include "impeller/ren...
engine/impeller/renderer/command.cc/0
{ "file_path": "engine/impeller/renderer/command.cc", "repo_id": "engine", "token_count": 1411 }
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 "impeller/renderer/render_pass.h" #include "fml/status.h" namespace impeller { RenderPass::RenderPass(std::shared_ptr<const Context> context, ...
engine/impeller/renderer/render_pass.cc/0
{ "file_path": "engine/impeller/renderer/render_pass.cc", "repo_id": "engine", "token_count": 1822 }
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 "impeller/renderer/snapshot.h" #include <optional> namespace impeller { std::optional<Rect> Snapshot::GetCoverage() const { if (!texture) { ...
engine/impeller/renderer/snapshot.cc/0
{ "file_path": "engine/impeller/renderer/snapshot.cc", "repo_id": "engine", "token_count": 310 }
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_IMPELLER_RUNTIME_STAGE_RUNTIME_STAGE_H_ #define FLUTTER_IMPELLER_RUNTIME_STAGE_RUNTIME_STAGE_H_ #include <map> #include <memory> #include ...
engine/impeller/runtime_stage/runtime_stage.h/0
{ "file_path": "engine/impeller/runtime_stage/runtime_stage.h", "repo_id": "engine", "token_count": 655 }
253
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/scene/camera.h" namespace impeller { namespace scene { Camera Camera::MakePerspective(Radians fov_y, Vector3 position) { Camera came...
engine/impeller/scene/camera.cc/0
{ "file_path": "engine/impeller/scene/camera.cc", "repo_id": "engine", "token_count": 302 }
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. #ifndef FLUTTER_IMPELLER_SCENE_IMPORTER_VERTICES_BUILDER_H_ #define FLUTTER_IMPELLER_SCENE_IMPORTER_VERTICES_BUILDER_H_ #include <cstddef> #include <map> ...
engine/impeller/scene/importer/vertices_builder.h/0
{ "file_path": "engine/impeller/scene/importer/vertices_builder.h", "repo_id": "engine", "token_count": 1971 }
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. uniform FrameInfo { mat4 mvp; float enable_skinning; float joint_texture_size; } frame_info; uniform sampler2D joints_texture; // This attribute la...
engine/impeller/scene/shaders/skinned.vert/0
{ "file_path": "engine/impeller/scene/shaders/skinned.vert", "repo_id": "engine", "token_count": 958 }
256
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "flutter/fml/mapping.h" #include "flutter/testing/testing.h" #include "impeller/base/validation.h" #include "impeller/shader_ar...
engine/impeller/shader_archive/shader_archive_unittests.cc/0
{ "file_path": "engine/impeller/shader_archive/shader_archive_unittests.cc", "repo_id": "engine", "token_count": 1435 }
257
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_CHOREOGRAPHER_H_ #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_CHOREOGRAPHER_H_ #include "impeller/toolkit/android/pro...
engine/impeller/toolkit/android/choreographer.h/0
{ "file_path": "engine/impeller/toolkit/android/choreographer.h", "repo_id": "engine", "token_count": 965 }
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. #ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_CONTEXT_H_ #define FLUTTER_IMPELLER_TOOLKIT_EGL_CONTEXT_H_ #include <functional> #include "flutter/fml/macros.h" #in...
engine/impeller/toolkit/egl/context.h/0
{ "file_path": "engine/impeller/toolkit/egl/context.h", "repo_id": "engine", "token_count": 512 }
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("//build/compiled_action.gni") import("//flutter/common/config.gni") import("//flutter/impeller/tools/malioc.gni") import("//flutter/testing/testing.gn...
engine/impeller/tools/impeller.gni/0
{ "file_path": "engine/impeller/tools/impeller.gni", "repo_id": "engine", "token_count": 13178 }
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("//flutter/impeller/tools/impeller.gni") impeller_component("typographer_stb_backend") { testonly = true sources = [ "glyph_atlas_context_stb...
engine/impeller/typographer/backends/stb/BUILD.gn/0
{ "file_path": "engine/impeller/typographer/backends/stb/BUILD.gn", "repo_id": "engine", "token_count": 267 }
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. #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_GLYPH_ATLAS_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_GLYPH_ATLAS_H_ #include <functional> #include <memory> #include <...
engine/impeller/typographer/glyph_atlas.h/0
{ "file_path": "engine/impeller/typographer/glyph_atlas.h", "repo_id": "engine", "token_count": 2269 }
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. #include "flutter/lib/gpu/command_buffer.h" #include "dart_api.h" #include "fml/make_copyable.h" #include "impeller/renderer/command_buffer.h" #include "i...
engine/lib/gpu/command_buffer.cc/0
{ "file_path": "engine/lib/gpu/command_buffer.cc", "repo_id": "engine", "token_count": 1409 }
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. // ignore_for_file: public_member_api_docs part of flutter_gpu; typedef CompletionCallback<T> = void Function(bool success); base class CommandBuffer ex...
engine/lib/gpu/lib/src/command_buffer.dart/0
{ "file_path": "engine/lib/gpu/lib/src/command_buffer.dart", "repo_id": "engine", "token_count": 341 }
264
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/gpu/shader_library.h" #include <optional> #include <utility> #include "flutter/assets/asset_manager.h" #include "flutter/lib/gpu/fi...
engine/lib/gpu/shader_library.cc/0
{ "file_path": "engine/lib/gpu/shader_library.cc", "repo_id": "engine", "token_count": 5843 }
265
include: ../../analysis_options.yaml analyzer: exclude: # fixtures/ depends on dart:ui and raises false positives. - fixtures/** linter: rules: unreachable_from_main: false # lint not compatible with how dart:ui is structured
engine/lib/ui/analysis_options.yaml/0
{ "file_path": "engine/lib/ui/analysis_options.yaml", "repo_id": "engine", "token_count": 78 }
266
#version 320 es // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. precision highp float; layout(location = 0) out vec4 oColor; layout(location = 0) uniform float a; // should be 1.0 float addA(float x...
engine/lib/ui/fixtures/shaders/general_shaders/functions.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/general_shaders/functions.frag", "repo_id": "engine", "token_count": 348 }
267
#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 = vec4(...
engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/25_atan2.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/25_atan2.frag", "repo_id": "engine", "token_count": 209 }
268
#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 = vec4(...
engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/67_distance.frag/0
{ "file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/67_distance.frag", "repo_id": "engine", "token_count": 253 }
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. #include "flutter/lib/ui/isolate_name_server/isolate_name_server.h" namespace flutter { IsolateNameServer::IsolateNameServer() {} IsolateNameServer::~Is...
engine/lib/ui/isolate_name_server/isolate_name_server.cc/0
{ "file_path": "engine/lib/ui/isolate_name_server/isolate_name_server.cc", "repo_id": "engine", "token_count": 522 }
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. #ifndef FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_IMPELLER_H_ #define FLUTTER_LIB_UI_PAINTING_DISPLAY_LIST_DEFERRED_IMAGE_GPU_IMPELLER_H_ #i...
engine/lib/ui/painting/display_list_deferred_image_gpu_impeller.h/0
{ "file_path": "engine/lib/ui/painting/display_list_deferred_image_gpu_impeller.h", "repo_id": "engine", "token_count": 1554 }
271
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_H_ #define FLUTTER_LIB_UI_PAINTING_IMAGE_DECODER_H_ #include <memory> #include "flutter/common/settings.h" ...
engine/lib/ui/painting/image_decoder.h/0
{ "file_path": "engine/lib/ui/painting/image_decoder.h", "repo_id": "engine", "token_count": 840 }
272
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/ui/painting/image_encoding.h" #include "flutter/lib/ui/painting/image_encoding_impl.h" #include "flutter/lib/ui/painting/image.h" n...
engine/lib/ui/painting/image_encoding_skia.cc/0
{ "file_path": "engine/lib/ui/painting/image_encoding_skia.cc", "repo_id": "engine", "token_count": 1517 }
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. #include "flutter/lib/ui/painting/matrix.h" #include "flutter/fml/logging.h" #include "flutter/lib/ui/floating_point.h" namespace flutter { // Mappings ...
engine/lib/ui/painting/matrix.cc/0
{ "file_path": "engine/lib/ui/painting/matrix.cc", "repo_id": "engine", "token_count": 718 }
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 "flutter/lib/ui/painting/rrect.h" #include "flutter/fml/logging.h" #include "third_party/tonic/logging/dart_error.h" #include "third_party/tonic/...
engine/lib/ui/painting/rrect.cc/0
{ "file_path": "engine/lib/ui/painting/rrect.cc", "repo_id": "engine", "token_count": 634 }
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. #include "flutter/lib/ui/plugins/callback_cache.h" #include <fstream> #include <iterator> #include "flutter/fml/build_config.h" #include "flutter/fml/log...
engine/lib/ui/plugins/callback_cache.cc/0
{ "file_path": "engine/lib/ui/plugins/callback_cache.cc", "repo_id": "engine", "token_count": 2153 }
276
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_LIB_UI_SNAPSHOT_DELEGATE_H_ #define FLUTTER_LIB_UI_SNAPSHOT_DELEGATE_H_ #include <string> #include "flutter/common/graphics/texture.h" #i...
engine/lib/ui/snapshot_delegate.h/0
{ "file_path": "engine/lib/ui/snapshot_delegate.h", "repo_id": "engine", "token_count": 1119 }
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. part of dart.ui; /// A configurable display that a [FlutterView] renders on. /// /// Use [FlutterView.display] to get the current display for that view. cl...
engine/lib/ui/window.dart/0
{ "file_path": "engine/lib/ui/window.dart", "repo_id": "engine", "token_count": 12997 }
278
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/lib/ui/window/platform_message_response_dart_port.h" #include <array> #include <utility> #include "flutter/common/task_runners.h" #incl...
engine/lib/ui/window/platform_message_response_dart_port.cc/0
{ "file_path": "engine/lib/ui/window/platform_message_response_dart_port.cc", "repo_id": "engine", "token_count": 805 }
279
# Flutter Web Engine This directory contains the source code for the Web Engine. ## Hacking on the Web Engine If you are setting up a workspace for the first time, start by following the instructions at [Setting up the Engine development environment][1]. In addition, it is useful to add the following to your `PATH` ...
engine/lib/web_ui/README.md/0
{ "file_path": "engine/lib/web_ui/README.md", "repo_id": "engine", "token_count": 3748 }
280
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io' as io; import 'package:http/http.dart'; import 'package:path/path.dart' as path; import 'common.dart'; import 'envi...
engine/lib/web_ui/dev/edge_installation.dart/0
{ "file_path": "engine/lib/web_ui/dev/edge_installation.dart", "repo_id": "engine", "token_count": 1279 }
281
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:test_api/backend.dart'; import 'webdriver_browser.dart'; /// Provides an e...
engine/lib/web_ui/dev/safari_macos.dart/0
{ "file_path": "engine/lib/web_ui/dev/safari_macos.dart", "repo_id": "engine", "token_count": 853 }
282
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. part of ui; double clampDouble(double x, double min, double max) { assert(min <= max && !max.isNaN && !min.isNaN); if (x < min) { return min; } ...
engine/lib/web_ui/lib/math.dart/0
{ "file_path": "engine/lib/web_ui/lib/math.dart", "repo_id": "engine", "token_count": 152 }
283
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:typed_data'; import 'package:ui/ui.dart' as ui; import '../validators.dart'; import '../vector_math.dart'; import 'canvas.dart'; import 'can...
engine/lib/web_ui/lib/src/engine/canvaskit/canvaskit_canvas.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/canvaskit_canvas.dart", "repo_id": "engine", "token_count": 4640 }
284
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:ui/src/engine.dart'; /// A [Rasterizer] that uses a single GL context in an OffscreenCanvas to do /// all the rendering. It transfers bitm...
engine/lib/web_ui/lib/src/engine/canvaskit/offscreen_canvas_rasterizer.dart/0
{ "file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/offscreen_canvas_rasterizer.dart", "repo_id": "engine", "token_count": 681 }
285