text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
> [!NOTE]
> There are parts of this release process that can only be completed by Googlers
on the Dash team. If you are not a Googler on the Dash team, please reach out on the
[#hackers-devtools](https://discord.com/channels/608014603317936148/1106667330093723668)
Discord channel before trying to create a DevTools rel... | devtools/tool/RELEASE_INSTRUCTIONS.md/0 | {
"file_path": "devtools/tool/RELEASE_INSTRUCTIONS.md",
"repo_id": "devtools",
"token_count": 4429
} | 150 |
# Script to execute smoke tests for the flutter/tests registry
# https://github.com/flutter/tests
# This is executed as a pre-submit check for every PR in flutter/flutter
# At this point we can expect that mocks have already been generated
# from the setup steps in
# https://github.com/flutter/tests/blob/main/registry... | devtools/tool/flutter_customer_tests/test.sh/0 | {
"file_path": "devtools/tool/flutter_customer_tests/test.sh",
"repo_id": "devtools",
"token_count": 168
} | 151 |
// Copyright 2023 The Chromium 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';
import 'package:args/command_runner.dart';
import 'package:io/io.dart';
import 'package:path/path.dart' as path;
import '../utils.dart... | devtools/tool/lib/commands/update_dart_sdk_deps.dart/0 | {
"file_path": "devtools/tool/lib/commands/update_dart_sdk_deps.dart",
"repo_id": "devtools",
"token_count": 1195
} | 152 |
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Add files or directories to the blocklist. They should be base names, not
# paths.
ignore=CVS,.git,out
# Pickle collected data for later comparisons.
persistent=yes
... | engine/.pylintrc/0 | {
"file_path": "engine/.pylintrc",
"repo_id": "engine",
"token_count": 2176
} | 153 |
// Copyright 2013 The Flutter 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_ASSETS_DIRECTORY_ASSET_BUNDLE_H_
#define FLUTTER_ASSETS_DIRECTORY_ASSET_BUNDLE_H_
#include <optional>
#include "flutter/assets/asset_resol... | engine/assets/directory_asset_bundle.h/0 | {
"file_path": "engine/assets/directory_asset_bundle.h",
"repo_id": "engine",
"token_count": 584
} | 154 |
#!/usr/bin/env python3
#
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Utility for dart_pkg and dart_pkg_app rules"""
import argparse
import errno
import json
import os
import shutil
import subprocess... | engine/build/dart/tools/dart_pkg.py/0 | {
"file_path": "engine/build/dart/tools/dart_pkg.py",
"repo_id": "engine",
"token_count": 3427
} | 155 |
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is based on:
# https://skia.googlesource.com/skia/+/main/third_party/libwebp/BUILD.gn
config("libwebp_config") {
include_dirs = [
"//flutte... | engine/build/secondary/flutter/third_party/libwebp/BUILD.gn/0 | {
"file_path": "engine/build/secondary/flutter/third_party/libwebp/BUILD.gn",
"repo_id": "engine",
"token_count": 4194
} | 156 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("libcxxabi_config") {
common_cc_flags = [
"-nostdinc++",
"-fvisibility=hidden",
]
cflags_cc = common_cc_flags
cflags_objcc = common_cc... | engine/build/secondary/third_party/libcxxabi/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/libcxxabi/BUILD.gn",
"repo_id": "engine",
"token_count": 967
} | 157 |
#!/usr/bin/env python3.8
# Copyright 2012 Google Inc. All Rights Reserved.
"""
A simple wrapper for protoc.
Script for //third_party/protobuf/proto_library.gni .
Features:
- Inserts #include for extra header automatically.
- Prevents bad proto names.
"""
from __future__ import print_function
import argparse
import o... | engine/build/secondary/third_party/protobuf/protoc_wrapper.py/0 | {
"file_path": "engine/build/secondary/third_party/protobuf/protoc_wrapper.py",
"repo_id": "engine",
"token_count": 3006
} | 158 |
# Copyright 2019 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# ANGLE expects this to be here.
# Flutter has no wayland third-party dir
wayland_gn_dir = ""
| engine/build_overrides/wayland.gni/0 | {
"file_path": "engine/build_overrides/wayland.gni",
"repo_id": "engine",
"token_count": 74
} | 159 |
{
"builds": [
{
"archives": [
{
"name": "host_debug",
"base_path": "out/host_debug_desktop/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_debug_desktop/zip_archive... | engine/ci/builders/linux_host_desktop_engine.json/0 | {
"file_path": "engine/ci/builders/linux_host_desktop_engine.json",
"repo_id": "engine",
"token_count": 2525
} | 160 |
{
"builds": [
{
"archives": [
{
"base_path": "out/host_debug/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_debug/zip_archives/windows-x64/artifacts.zip",
"out... | engine/ci/builders/windows_host_engine.json/0 | {
"file_path": "engine/ci/builders/windows_host_engine.json",
"repo_id": "engine",
"token_count": 3117
} | 161 |
Signature: 10ea95d73c5e8a92240f014b15634a8c
| engine/ci/licenses_golden/tool_signature/0 | {
"file_path": "engine/ci/licenses_golden/tool_signature",
"repo_id": "engine",
"token_count": 24
} | 162 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/common/graphics/gl_context_switch.h"
namespace flutter {
SwitchableGLContext::SwitchableGLContext() = default;
SwitchableGLContext::~S... | engine/common/graphics/gl_context_switch.cc/0 | {
"file_path": "engine/common/graphics/gl_context_switch.cc",
"repo_id": "engine",
"token_count": 308
} | 163 |
// Copyright 2013 The Flutter 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_BENCHMARKING_DL_COMPLEXITY_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_H_
#include "flutter/display_list/displ... | engine/display_list/benchmarking/dl_complexity.h/0 | {
"file_path": "engine/display_list/benchmarking/dl_complexity.h",
"repo_id": "engine",
"token_count": 576
} | 164 |
// Copyright 2013 The Flutter 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_DL_BUILDER_H_
#define FLUTTER_DISPLAY_LIST_DL_BUILDER_H_
#include "flutter/display_list/display_list.h"
#include "flutter/dis... | engine/display_list/dl_builder.h/0 | {
"file_path": "engine/display_list/dl_builder.h",
"repo_id": "engine",
"token_count": 10901
} | 165 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/dl_vertices.h"
#include "flutter/display_list/utils/dl_bounds_accumulator.h"
#include "flutter/fml/logging.h"
namespace fl... | engine/display_list/dl_vertices.cc/0 | {
"file_path": "engine/display_list/dl_vertices.cc",
"repo_id": "engine",
"token_count": 4318
} | 166 |
// Copyright 2013 The Flutter 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_EFFECTS_DL_PATH_EFFECT_H_
#define FLUTTER_DISPLAY_LIST_EFFECTS_DL_PATH_EFFECT_H_
#include <optional>
#include "flutter/displ... | engine/display_list/effects/dl_path_effect.h/0 | {
"file_path": "engine/display_list/effects/dl_path_effect.h",
"repo_id": "engine",
"token_count": 1445
} | 167 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/skia/dl_sk_conversions.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/effec... | engine/display_list/skia/dl_sk_conversions.cc/0 | {
"file_path": "engine/display_list/skia/dl_sk_conversions.cc",
"repo_id": "engine",
"token_count": 4951
} | 168 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/testing/dl_test_surface_metal.h"
#include "flutter/impeller/display_list/dl_dispatcher.h"
#include "flutter/impeller/display... | engine/display_list/testing/dl_test_surface_metal.cc/0 | {
"file_path": "engine/display_list/testing/dl_test_surface_metal.cc",
"repo_id": "engine",
"token_count": 1611
} | 169 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cassert>
#include <chrono>
#include <iostream>
#define GLFW_EXPOSE_NATIVE_EGL
#define GLFW_INCLUDE_GLEXT
#include <EGL/egl.h>
#include <EGL/egl... | engine/examples/glfw_drm/FlutterEmbedderGLFW.cc/0 | {
"file_path": "engine/examples/glfw_drm/FlutterEmbedderGLFW.cc",
"repo_id": "engine",
"token_count": 4852
} | 170 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/embedded_views.h"
#include "flutter/fml/logging.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
TEST(EmbeddedV... | engine/flow/embedded_view_params_unittests.cc/0 | {
"file_path": "engine/flow/embedded_view_params_unittests.cc",
"repo_id": "engine",
"token_count": 1241
} | 171 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_CACHEABLE_LAYER_H_
#define FLUTTER_FLOW_LAYERS_CACHEABLE_LAYER_H_
#include <memory>
#include "flutter/flow/layers/container_l... | engine/flow/layers/cacheable_layer.h/0 | {
"file_path": "engine/flow/layers/cacheable_layer.h",
"repo_id": "engine",
"token_count": 472
} | 172 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_CONTAINER_LAYER_H_
#define FLUTTER_FLOW_LAYERS_CONTAINER_LAYER_H_
#include <vector>
#include "flutter/flow/layers/layer.h"
n... | engine/flow/layers/container_layer.h/0 | {
"file_path": "engine/flow/layers/container_layer.h",
"repo_id": "engine",
"token_count": 592
} | 173 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gtest/gtest.h"
#include "flutter/display_list/effects/dl_color_filter.h"
#include "flutter/display_list/effects/dl_image_filter.h"
#include "flu... | engine/flow/layers/layer_state_stack_unittests.cc/0 | {
"file_path": "engine/flow/layers/layer_state_stack_unittests.cc",
"repo_id": "engine",
"token_count": 8044
} | 174 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/shader_mask_layer.h"
#include "flutter/flow/raster_cache_util.h"
namespace flutter {
ShaderMaskLayer::ShaderMaskLayer(std::... | engine/flow/layers/shader_mask_layer.cc/0 | {
"file_path": "engine/flow/layers/shader_mask_layer.cc",
"repo_id": "engine",
"token_count": 1016
} | 175 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_RASTER_CACHE_ITEM_H_
#include <memory>
#include <optional>
#include <utility>
#include "fl... | engine/flow/raster_cache_item.h/0 | {
"file_path": "engine/flow/raster_cache_item.h",
"repo_id": "engine",
"token_count": 879
} | 176 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/surface.h"
namespace flutter {
Surface::Surface() = default;
Surface::~Surface() = default;
std::unique_ptr<GLContextResult> Sur... | engine/flow/surface.cc/0 | {
"file_path": "engine/flow/surface.cc",
"repo_id": "engine",
"token_count": 249
} | 177 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_TESTING_MOCK_RASTER_CACHE_H_
#define FLUTTER_FLOW_TESTING_MOCK_RASTER_CACHE_H_
#include <vector>
#include "flutter/flow/layers/layer.... | engine/flow/testing/mock_raster_cache.h/0 | {
"file_path": "engine/flow/testing/mock_raster_cache.h",
"repo_id": "engine",
"token_count": 2172
} | 178 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef VMA_STATIC_VULKAN_FUNCTIONS
#undef VMA_STATIC_VULKAN_FUNCTIONS
#endif // VMA_STATIC_VULKAN_FUNCTIONS
#ifdef VMA_DYNAMIC_VULKAN_FUNCTIONS
#undef VM... | engine/flutter_vma/flutter_vma.cc/0 | {
"file_path": "engine/flutter_vma/flutter_vma.cc",
"repo_id": "engine",
"token_count": 478
} | 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.
#include "flutter/fml/command_line.h"
namespace fml {
// CommandLine -----------------------------------------------------------------
CommandLine::Opti... | engine/fml/command_line.cc/0 | {
"file_path": "engine/fml/command_line.cc",
"repo_id": "engine",
"token_count": 1845
} | 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_ENDIANNESS_H_
#define FLUTTER_FML_ENDIANNESS_H_
#include <cstdint>
#include <type_traits>
#if defined(_MSC_VER)
#include "intrin.h"
#e... | engine/fml/endianness.h/0 | {
"file_path": "engine/fml/endianness.h",
"repo_id": "engine",
"token_count": 1031
} | 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 <algorithm>
#include <cstring>
#include <iostream>
#include "flutter/fml/build_config.h"
#include "flutter/fml/log_level.h"
#include "flutter/fml... | engine/fml/logging.cc/0 | {
"file_path": "engine/fml/logging.cc",
"repo_id": "engine",
"token_count": 2501
} | 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.
#ifndef FLUTTER_FML_MEMORY_TASK_RUNNER_CHECKER_H_
#define FLUTTER_FML_MEMORY_TASK_RUNNER_CHECKER_H_
#include "flutter/fml/message_loop.h"
#include "flutte... | engine/fml/memory/task_runner_checker.h/0 | {
"file_path": "engine/fml/memory/task_runner_checker.h",
"repo_id": "engine",
"token_count": 416
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/message_loop_task_queues.h"
#include <algorithm>
#include <cstdlib>
#include <thread>
#include <utilit... | engine/fml/message_loop_task_queues_unittests.cc/0 | {
"file_path": "engine/fml/message_loop_task_queues_unittests.cc",
"repo_id": "engine",
"token_count": 5730
} | 184 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/platform/android/scoped_java_ref.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/platform/android/jni_util.h"
namespace f... | engine/fml/platform/android/scoped_java_ref.cc/0 | {
"file_path": "engine/fml/platform/android/scoped_java_ref.cc",
"repo_id": "engine",
"token_count": 867
} | 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/platform/darwin/scoped_nsobject.h"
namespace fml {
namespace internal {
id ScopedNSProtocolTraitsRetain(id obj) {
return [obj re... | engine/fml/platform/darwin/scoped_nsobject.mm/0 | {
"file_path": "engine/fml/platform/darwin/scoped_nsobject.mm",
"repo_id": "engine",
"token_count": 172
} | 186 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PLATFORM_FUCHSIA_LOG_STATE_H_
#define FLUTTER_FML_PLATFORM_FUCHSIA_LOG_STATE_H_
#include <fidl/fuchsia.logger/cpp/fidl.h>
#include <li... | engine/fml/platform/fuchsia/log_state.h/0 | {
"file_path": "engine/fml/platform/fuchsia/log_state.h",
"repo_id": "engine",
"token_count": 536
} | 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/fml/platform/win/wstring_conversion.h"
#include <codecvt>
#include <locale>
#include <string>
namespace fml {
using WideStringConverte... | engine/fml/platform/win/wstring_conversion.cc/0 | {
"file_path": "engine/fml/platform/win/wstring_conversion.cc",
"repo_id": "engine",
"token_count": 408
} | 188 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_SYNCHRONIZATION_ATOMIC_OBJECT_H_
#define FLUTTER_FML_SYNCHRONIZATION_ATOMIC_OBJECT_H_
#include <mutex>
namespace fml {
// A wrapper ... | engine/fml/synchronization/atomic_object.h/0 | {
"file_path": "engine/fml/synchronization/atomic_object.h",
"repo_id": "engine",
"token_count": 298
} | 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_FML_TASK_QUEUE_ID_H_
#define FLUTTER_FML_TASK_QUEUE_ID_H_
#include "flutter/fml/logging.h"
namespace fml {
/**
* `MessageLoopTaskQueues... | engine/fml/task_queue_id.h/0 | {
"file_path": "engine/fml/task_queue_id.h",
"repo_id": "engine",
"token_count": 293
} | 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/fml/time/chrono_timestamp_provider.h"
#include "flutter/runtime/dart_timestamp_provider.h"
#include <thread>
#include "gtest/gtest.h"
... | engine/fml/time/time_point_unittest.cc/0 | {
"file_path": "engine/fml/time/time_point_unittest.cc",
"repo_id": "engine",
"token_count": 358
} | 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_AIKS_AIKS_CONTEXT_H_
#define FLUTTER_IMPELLER_AIKS_AIKS_CONTEXT_H_
#include <memory>
#include "flutter/fml/macros.h"
#include "i... | engine/impeller/aiks/aiks_context.h/0 | {
"file_path": "engine/impeller/aiks/aiks_context.h",
"repo_id": "engine",
"token_count": 830
} | 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 "impeller/aiks/color_filter.h"
#include <utility>
#include "impeller/entity/contents/filters/color_filter_contents.h"
#include "impeller/entity/c... | engine/impeller/aiks/color_filter.cc/0 | {
"file_path": "engine/impeller/aiks/color_filter.cc",
"repo_id": "engine",
"token_count": 2084
} | 193 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_
#define FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_MOCK_H_
#include <string>
#include <utility>
#include ... | engine/impeller/aiks/testing/context_mock.h/0 | {
"file_path": "engine/impeller/aiks/testing/context_mock.h",
"repo_id": "engine",
"token_count": 1626
} | 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/compiler/compiler.h"
#include <cstdint>
#include <filesystem>
#include <memory>
#include <optional>
#include <sstream>
#include <string... | engine/impeller/compiler/compiler.cc/0 | {
"file_path": "engine/impeller/compiler/compiler.cc",
"repo_id": "engine",
"token_count": 7355
} | 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/compiler/runtime_stage_data.h"
#include <array>
#include <cstdint>
#include <memory>
#include <optional>
#include "fml/backtrace.h"
#i... | engine/impeller/compiler/runtime_stage_data.cc/0 | {
"file_path": "engine/impeller/compiler/runtime_stage_data.cc",
"repo_id": "engine",
"token_count": 5635
} | 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.
#ifndef DITHERING_GLSL_
#define DITHERING_GLSL_
#include <impeller/types.glsl>
/// The dithering rate, which is 1.0 / 64.0, or 0.015625.
const float kDit... | engine/impeller/compiler/shader_lib/impeller/dithering.glsl/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/dithering.glsl",
"repo_id": "engine",
"token_count": 725
} | 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.
#include "impeller/compiler/switches.h"
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <map>
#include "flutter/fml/file.h"
#includ... | engine/impeller/compiler/switches.cc/0 | {
"file_path": "engine/impeller/compiler/switches.cc",
"repo_id": "engine",
"token_count": 4434
} | 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_IMPELLER_CORE_CAPTURE_H_
#define FLUTTER_IMPELLER_CORE_CAPTURE_H_
#include <functional>
#include <initializer_list>
#include <memory>
#inc... | engine/impeller/core/capture.h/0 | {
"file_path": "engine/impeller/core/capture.h",
"repo_id": "engine",
"token_count": 4127
} | 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_IMPELLER_CORE_RUNTIME_TYPES_H_
#define FLUTTER_IMPELLER_CORE_RUNTIME_TYPES_H_
#include <cstddef>
#include <optional>
#include <string>
#in... | engine/impeller/core/runtime_types.h/0 | {
"file_path": "engine/impeller/core/runtime_types.h",
"repo_id": "engine",
"token_count": 427
} | 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 "impeller/display_list/dl_image_impeller.h"
#include "impeller/aiks/aiks_context.h"
#include "impeller/entity/contents/filters/filter_contents.h"... | engine/impeller/display_list/dl_image_impeller.cc/0 | {
"file_path": "engine/impeller/display_list/dl_image_impeller.cc",
"repo_id": "engine",
"token_count": 1219
} | 201 |
# Enable Metal Validation without Xcode.
Metal validation can be enabled for command-line application using environment
variables.
Apple [documents these environment variables on their developer site](https://developer.apple.com/documentation/xcode/validating-your-apps-metal-api-usage#Enable-API-Validation-with-envir... | engine/impeller/docs/metal_validation.md/0 | {
"file_path": "engine/impeller/docs/metal_validation.md",
"repo_id": "engine",
"token_count": 433
} | 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 <optional>
#include "fml/logging.h"
#include "impeller/core/formats.h"
#include "impeller/entity/contents/clip_contents.h"
#include "impeller/ent... | engine/impeller/entity/contents/clip_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/clip_contents.cc",
"repo_id": "engine",
"token_count": 4042
} | 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_CONTENTS_FILTERS_COLOR_FILTER_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_FILTER_CONTENTS_H_
#inclu... | engine/impeller/entity/contents/filters/color_filter_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/color_filter_contents.h",
"repo_id": "engine",
"token_count": 630
} | 204 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_PLACEHOLDER_FILTER_INPUT_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_PLACEHOLDER_FIL... | engine/impeller/entity/contents/filters/inputs/placeholder_filter_input.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/inputs/placeholder_filter_input.h",
"repo_id": "engine",
"token_count": 582
} | 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.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FRAMEBUFFER_BLEND_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FRAMEBUFFER_BLEND_CONTENTS_H_
#include <me... | engine/impeller/entity/contents/framebuffer_blend_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/framebuffer_blend_contents.h",
"repo_id": "engine",
"token_count": 529
} | 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 "sweep_gradient_contents.h"
#include "flutter/fml/logging.h"
#include "impeller/entity/contents/clip_contents.h"
#include "impeller/entity/conten... | engine/impeller/entity/contents/sweep_gradient_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/sweep_gradient_contents.cc",
"repo_id": "engine",
"token_count": 2530
} | 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/entity/entity.h"
#include <algorithm>
#include <limits>
#include <optional>
#include "impeller/base/validation.h"
#include "impeller/e... | engine/impeller/entity/entity.cc/0 | {
"file_path": "engine/impeller/entity/entity.cc",
"repo_id": "engine",
"token_count": 1888
} | 208 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include "flutter/impeller/entity/geometry/ellipse_geometry.h"
#include "flutter/impeller/entity/geometry/line_geometry.h"
namespac... | engine/impeller/entity/geometry/ellipse_geometry.cc/0 | {
"file_path": "engine/impeller/entity/geometry/ellipse_geometry.cc",
"repo_id": "engine",
"token_count": 562
} | 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.
#ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_STROKE_PATH_GEOMETRY_H_
#define FLUTTER_IMPELLER_ENTITY_GEOMETRY_STROKE_PATH_GEOMETRY_H_
#include "impeller/entit... | engine/impeller/entity/geometry/stroke_path_geometry.h/0 | {
"file_path": "engine/impeller/entity/geometry/stroke_path_geometry.h",
"repo_id": "engine",
"token_count": 1447
} | 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 <impeller/conversions.glsl>
#include <impeller/types.glsl>
uniform FrameInfo {
mat4 mvp;
float depth;
float texture_sampler_y_coord_scale;
... | engine/impeller/entity/shaders/blending/porter_duff_blend.vert/0 | {
"file_path": "engine/impeller/entity/shaders/blending/porter_duff_blend.vert",
"repo_id": "engine",
"token_count": 271
} | 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.
precision mediump float;
#include <impeller/color.glsl>
#include <impeller/dithering.glsl>
#include <impeller/gradient.glsl>
#include <impeller/texture.gl... | engine/impeller/entity/shaders/radial_gradient_ssbo_fill.frag/0 | {
"file_path": "engine/impeller/entity/shaders/radial_gradient_ssbo_fill.frag",
"repo_id": "engine",
"token_count": 670
} | 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.
precision mediump float;
#include <impeller/types.glsl>
uniform FragInfo {
float16_t alpha;
}
frag_info;
in f16vec4 v_color;
out f16vec4 frag_color;
... | engine/impeller/entity/shaders/vertices.frag/0 | {
"file_path": "engine/impeller/entity/shaders/vertices.frag",
"repo_id": "engine",
"token_count": 132
} | 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.
uniform UniformBuffer {
mat4 mvp;
}
uniform_buffer;
in vec3 position;
in vec4 color;
out vec4 v_color;
void main() {
gl_Position = uniform_buffer.mv... | engine/impeller/fixtures/colors.vert/0 | {
"file_path": "engine/impeller/fixtures/colors.vert",
"repo_id": "engine",
"token_count": 123
} | 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.
out vec4 frag_color;
layout(input_attachment_index = 0) uniform subpassInputMS subpass_input;
void main() {
// https://github.com/chinmaygarde/merle/bl... | engine/impeller/fixtures/sepia.frag/0 | {
"file_path": "engine/impeller/fixtures/sepia.frag",
"repo_id": "engine",
"token_count": 355
} | 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.
uniform FrameInfo {
mat4 mvp;
}
frame_info;
in vec2 vtx;
void main() {
gl_Position = frame_info.mvp * vec4(vtx, 0.0, 1.0);
}
| engine/impeller/fixtures/test_texture.vert/0 | {
"file_path": "engine/impeller/fixtures/test_texture.vert",
"repo_id": "engine",
"token_count": 105
} | 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 <algorithm>
#include "flutter/fml/logging.h"
#include "impeller/geometry/gradient.h"
namespace impeller {
static void AppendColor(const Color& ... | engine/impeller/geometry/gradient.cc/0 | {
"file_path": "engine/impeller/geometry/gradient.cc",
"repo_id": "engine",
"token_count": 1355
} | 217 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_GEOMETRY_POINT_H_
#define FLUTTER_IMPELLER_GEOMETRY_POINT_H_
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <o... | engine/impeller/geometry/point.h/0 | {
"file_path": "engine/impeller/geometry/point.h",
"repo_id": "engine",
"token_count": 3939
} | 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_GOLDEN_TESTS_METAL_SCREENSHOT_H_
#define FLUTTER_IMPELLER_GOLDEN_TESTS_METAL_SCREENSHOT_H_
#include "flutter/impeller/golden_test... | engine/impeller/golden_tests/metal_screenshot.h/0 | {
"file_path": "engine/impeller/golden_tests/metal_screenshot.h",
"repo_id": "engine",
"token_count": 401
} | 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/playground/backend/vulkan/playground_impl_vk.h"
#include "flutter/fml/paths.h"
#include "impeller/renderer/backend/vulkan/vk.h"
#defin... | engine/impeller/playground/backend/vulkan/playground_impl_vk.cc/0 | {
"file_path": "engine/impeller/playground/backend/vulkan/playground_impl_vk.cc",
"repo_id": "engine",
"token_count": 3318
} | 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.
#ifndef FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
#define FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
#include <memory>
#incl... | engine/impeller/playground/imgui/imgui_impl_impeller.h/0 | {
"file_path": "engine/impeller/playground/imgui/imgui_impl_impeller.h",
"repo_id": "engine",
"token_count": 300
} | 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/gles/allocator_gles.h"
#include <memory>
#include "impeller/base/allocation.h"
#include "impeller/base/config.h"
#inc... | engine/impeller/renderer/backend/gles/allocator_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/allocator_gles.cc",
"repo_id": "engine",
"token_count": 627
} | 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/gles/device_buffer_gles.h"
#include <cstring>
#include <memory>
#include "flutter/fml/trace_event.h"
#include "impell... | engine/impeller/renderer/backend/gles/device_buffer_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/device_buffer_gles.cc",
"repo_id": "engine",
"token_count": 1377
} | 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_RENDERER_BACKEND_GLES_REACTOR_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_REACTOR_GLES_H_
#include <functional>
#inclu... | engine/impeller/renderer/backend/gles/reactor_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/reactor_gles.h",
"repo_id": "engine",
"token_count": 3657
} | 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 "flutter/testing/testing.h" // IWYU pragma: keep
#include "gtest/gtest.h"
#include "impeller/renderer/backend/gles/gpu_tracer_gles.h"
#include "i... | engine/impeller/renderer/backend/gles/test/gpu_tracer_gles_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/test/gpu_tracer_gles_unittests.cc",
"repo_id": "engine",
"token_count": 740
} | 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.
#include "impeller/renderer/backend/metal/command_buffer_mtl.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/fml/synchronization/semaphore.h"
... | engine/impeller/renderer/backend/metal/command_buffer_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/command_buffer_mtl.mm",
"repo_id": "engine",
"token_count": 2626
} | 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/metal/lazy_drawable_holder.h"
#include <QuartzCore/CAMetalLayer.h>
#include <future>
#include <memory>
#include "flut... | engine/impeller/renderer/backend/metal/lazy_drawable_holder.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/lazy_drawable_holder.mm",
"repo_id": "engine",
"token_count": 638
} | 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/backend/metal/shader_library_mtl.h"
#include "flutter/fml/closure.h"
#include "impeller/base/validation.h"
#include "impeller/... | engine/impeller/renderer/backend/metal/shader_library_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/shader_library_mtl.mm",
"repo_id": "engine",
"token_count": 2256
} | 228 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/testing/testing.h" // IWYU pragma: keep.
#include "fml/synchronization/waitable_event.h"
#include "impeller/renderer/backend/vulkan/comm... | engine/impeller/renderer/backend/vulkan/command_pool_vk_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/command_pool_vk_unittests.cc",
"repo_id": "engine",
"token_count": 1722
} | 229 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEVICE_BUFFER_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEVICE_BUFFER_VK_H_
#include <memory... | engine/impeller/renderer/backend/vulkan/device_buffer_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/device_buffer_vk.h",
"repo_id": "engine",
"token_count": 874
} | 230 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_LIBRARY_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_LIBRARY_VK_H_
#include <... | engine/impeller/renderer/backend/vulkan/pipeline_library_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/pipeline_library_vk.h",
"repo_id": "engine",
"token_count": 1025
} | 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_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
#include "flutter/fml/macros... | engine/impeller/renderer/backend/vulkan/sampler_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/sampler_vk.h",
"repo_id": "engine",
"token_count": 561
} | 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_RENDERER_BACKEND_VULKAN_SWAPCHAIN_KHR_KHR_SWAPCHAIN_IMPL_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_KHR_KHR_... | engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.h",
"repo_id": "engine",
"token_count": 1233
} | 233 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VK_H_
#include "flutter/fml/build_config.h"
#inclu... | engine/impeller/renderer/backend/vulkan/vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/vk.h",
"repo_id": "engine",
"token_count": 817
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_COMMAND_H_
#define FLUTTER_IMPELLER_RENDERER_COMMAND_H_
#include <cstdint>
#include <memory>
#include <optional>
#includ... | engine/impeller/renderer/command.h/0 | {
"file_path": "engine/impeller/renderer/command.h",
"repo_id": "engine",
"token_count": 2236
} | 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_RENDERER_CONTEXT_H_
#define FLUTTER_IMPELLER_RENDERER_CONTEXT_H_
#include <memory>
#include <string>
#include "impeller/core/all... | engine/impeller/renderer/context.h/0 | {
"file_path": "engine/impeller/renderer/context.h",
"repo_id": "engine",
"token_count": 2617
} | 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_RENDER_PASS_H_
#define FLUTTER_IMPELLER_RENDERER_RENDER_PASS_H_
#include <string>
#include "fml/status.h"
#include "imp... | engine/impeller/renderer/render_pass.h/0 | {
"file_path": "engine/impeller/renderer/render_pass.h",
"repo_id": "engine",
"token_count": 2188
} | 237 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
#define FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
#include <functional>
#include <memory>
#include <vector>
#in... | engine/impeller/renderer/snapshot.h/0 | {
"file_path": "engine/impeller/renderer/snapshot.h",
"repo_id": "engine",
"token_count": 592
} | 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/impeller/runtime_stage/runtime_stage_playground.h"
#include <future>
#include "flutter/fml/make_copyable.h"
#include "flutter/testing/t... | engine/impeller/runtime_stage/runtime_stage_playground.cc/0 | {
"file_path": "engine/impeller/runtime_stage/runtime_stage_playground.cc",
"repo_id": "engine",
"token_count": 370
} | 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_SCENE_CAMERA_H_
#define FLUTTER_IMPELLER_SCENE_CAMERA_H_
#include <optional>
#include "impeller/geometry/matrix.h"
namespace im... | engine/impeller/scene/camera.h/0 | {
"file_path": "engine/impeller/scene/camera.h",
"repo_id": "engine",
"token_count": 333
} | 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.
#include "impeller/scene/material.h"
#include "impeller/base/validation.h"
#include "impeller/core/formats.h"
#include "impeller/core/sampler_descriptor.h"... | engine/impeller/scene/material.cc/0 | {
"file_path": "engine/impeller/scene/material.cc",
"repo_id": "engine",
"token_count": 2574
} | 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.
uniform FragInfo {
vec4 color;
float vertex_color_weight;
}
frag_info;
uniform sampler2D base_color_texture;
in vec3 v_position;
in mat3 v_tangent_sp... | engine/impeller/scene/shaders/unlit.frag/0 | {
"file_path": "engine/impeller/scene/shaders/unlit.frag",
"repo_id": "engine",
"token_count": 219
} | 242 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/shader_archive/shader_archive_writer.h"
#include <array>
#include <filesystem>
#include <optional>
#include "impeller/shader_archive/s... | engine/impeller/shader_archive/shader_archive_writer.cc/0 | {
"file_path": "engine/impeller/shader_archive/shader_archive_writer.cc",
"repo_id": "engine",
"token_count": 1503
} | 243 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/toolkit/android/hardware_buffer.h"
#include "impeller/base/validation.h"
namespace impeller::android {
static AHardwareBuffer_Format ... | engine/impeller/toolkit/android/hardware_buffer.cc/0 | {
"file_path": "engine/impeller/toolkit/android/hardware_buffer.cc",
"repo_id": "engine",
"token_count": 1441
} | 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/toolkit/egl/display.h"
#include <vector>
#include "impeller/toolkit/egl/context.h"
#include "impeller/toolkit/egl/surface.h"
namespac... | engine/impeller/toolkit/egl/display.cc/0 | {
"file_path": "engine/impeller/toolkit/egl/display.cc",
"repo_id": "engine",
"token_count": 2804
} | 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.
import("//build/compiled_action.gni")
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
declare_args() {
# Path to the Mali off... | engine/impeller/tools/malioc.gni/0 | {
"file_path": "engine/impeller/tools/malioc.gni",
"repo_id": "engine",
"token_count": 2693
} | 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/typographer/backends/stb/glyph_atlas_context_stb.h"
namespace impeller {
BitmapSTB::BitmapSTB() = default;
BitmapSTB::~BitmapSTB() = ... | engine/impeller/typographer/backends/stb/glyph_atlas_context_stb.cc/0 | {
"file_path": "engine/impeller/typographer/backends/stb/glyph_atlas_context_stb.cc",
"repo_id": "engine",
"token_count": 571
} | 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/typographer/lazy_glyph_atlas.h"
#include "fml/logging.h"
#include "impeller/base/validation.h"
#include "impeller/typographer/glyph_atl... | engine/impeller/typographer/lazy_glyph_atlas.cc/0 | {
"file_path": "engine/impeller/typographer/lazy_glyph_atlas.cc",
"repo_id": "engine",
"token_count": 1277
} | 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_LIB_GPU_COMMAND_BUFFER_H_
#define FLUTTER_LIB_GPU_COMMAND_BUFFER_H_
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/gpu/export.... | engine/lib/gpu/command_buffer.h/0 | {
"file_path": "engine/lib/gpu/command_buffer.h",
"repo_id": "engine",
"token_count": 606
} | 249 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.