text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// Copyright 2020 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.
@TestOn('vm')
import 'dart:convert';
import 'dart:io';
import 'package:collection/collection.dart';
import 'package:devtools_app/src/screens/debugger/spa... | devtools/packages/devtools_app/test/shared/span_parser_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/span_parser_test.dart",
"repo_id": "devtools",
"token_count": 2584
} | 125 |
// Copyright 2019 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.
// ignore_for_file: avoid_print
import 'dart:async';
import 'dart:developer' as developer;
import 'package:ansicolor/ansicolor.dart';
void main() {
/... | devtools/packages/devtools_app/test/test_infra/fixtures/color_console_output_app.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/color_console_output_app.dart",
"repo_id": "devtools",
"token_count": 853
} | 126 |
# flutter_error_app
App for running DevTools integration tests.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
- [Cookbook: Us... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/README.md/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/README.md",
"repo_id": "devtools",
"token_count": 155
} | 127 |
// Copyright 2022 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.
const a = 'aaaaa';
const list1 = [];
const list2 = <String>[];
const list3 = ['', '$a'];
const list4 = <String>['', '$a'];
const set1 = {};
const set2 =... | devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/literals.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/literals.dart",
"repo_id": "devtools",
"token_count": 184
} | 128 |
// Copyright 2022 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 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/vm_developer/object_inspector/vm_class_display.dart';
import 'pa... | devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_class_display_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_class_display_test.dart",
"repo_id": "devtools",
"token_count": 1033
} | 129 |
@media (-webkit-max-device-pixel-ratio: 1) {
* {
image-rendering: pixelated;
}
}
| devtools/packages/devtools_app/web/styles.css/0 | {
"file_path": "devtools/packages/devtools_app/web/styles.css",
"repo_id": "devtools",
"token_count": 39
} | 130 |
// Copyright 2018 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 code is directly based on src/io/flutter/inspector/EvalOnDartLibrary.java
// If you add a method to this class you should also add it to EvalOnDar... | devtools/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart",
"repo_id": "devtools",
"token_count": 7725
} | 131 |
// Copyright 2019 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 'package:flutter/material.dart';
import '../ui_utils.dart';
import 'ide_theme.dart';
// TODO(kenz): try to eliminate as many custom colors as pos... | devtools/packages/devtools_app_shared/lib/src/ui/theme/theme.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/theme/theme.dart",
"repo_id": "devtools",
"token_count": 6005
} | 132 |
// 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 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/material.dart';
import 'package:flu... | devtools/packages/devtools_app_shared/test/ui/common_test.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/test/ui/common_test.dart",
"repo_id": "devtools",
"token_count": 741
} | 133 |
// 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;
/// Command that buil... | devtools/packages/devtools_extensions/bin/_build_and_copy.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/bin/_build_and_copy.dart",
"repo_id": "devtools",
"token_count": 1514
} | 134 |
// 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 'package:dart_foo/dart_foo.dart';
import 'package:flutter/material.dart';
import 'package:foo/foo.dart';
void main() {
runApp(const MyAppThatUse... | devtools/packages/devtools_extensions/example/app_that_uses_foo/lib/main.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/lib/main.dart",
"repo_id": "devtools",
"token_count": 552
} | 135 |
// Copyright 2024 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.
class DartFoo {
Future<void> loop() async {
for (var i = 0; i < 10000; i++) {
// ignore: avoid_print, used in an example
print('Looping ... | devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/lib/dart_foo.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/lib/dart_foo.dart",
"repo_id": "devtools",
"token_count": 148
} | 136 |
!build
| devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/.pubignore/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/.pubignore",
"repo_id": "devtools",
"token_count": 3
} | 137 |
# foo_devtools_extension
An example DevTools extension for `package:foo`. This Flutter web app, `foo_devtools_extension`,
is included with the parent `package:foo` by including its pre-compiled build output in the
`foo/extension/devtools/build` directory.
Then, when using DevTools to debugging an app that imports the... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/README.md/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/README.md",
"repo_id": "devtools",
"token_count": 205
} | 138 |
// 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 'package:devtools_shared/devtools_test_utils.dart';
// To run integration tests, run the following from `devtools_extensions/`:
// `dart run integ... | devtools/packages/devtools_extensions/integration_test/run_tests.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/integration_test/run_tests.dart",
"repo_id": "devtools",
"token_count": 455
} | 139 |
// Copyright 2020 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:convert';
import 'package:vm_service/vm_service.dart';
import 'heap_sample.dart';
abstract class DecodeEncode<T> {
int get version;
S... | devtools/packages/devtools_shared/lib/src/memory/memory_json.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/memory/memory_json.dart",
"repo_id": "devtools",
"token_count": 3870
} | 140 |
// Copyright 2022 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.
// ignore_for_file: avoid_print
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as path;
/// The director... | devtools/packages/devtools_shared/lib/src/test/io_utils.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/test/io_utils.dart",
"repo_id": "devtools",
"token_count": 1116
} | 141 |
// Copyright 2022 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 'package:devtools_shared/src/service_utils.dart';
import 'package:test/test.dart';
void main() {
group('normalizeVmServiceUri', () {
test('n... | devtools/packages/devtools_shared/test/service_utils_test.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/service_utils_test.dart",
"repo_id": "devtools",
"token_count": 1311
} | 142 |
// Copyright 2019 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.
// ignore_for_file: invalid_use_of_visible_for_testing_member, devtools_test is only used in test code.
import 'package:devtools_app_shared/service.dart'... | devtools/packages/devtools_test/lib/src/mocks/fake_isolate_manager.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/mocks/fake_isolate_manager.dart",
"repo_id": "devtools",
"token_count": 818
} | 143 |
# 0.0.1
* Initial commit for package:perfetto_compiled sources.
| devtools/third_party/packages/perfetto_ui_compiled/CHANGELOG.md/0 | {
"file_path": "devtools/third_party/packages/perfetto_ui_compiled/CHANGELOG.md",
"repo_id": "devtools",
"token_count": 22
} | 144 |
A set of icons representing Flutter widgets. | devtools/third_party/packages/widget_icons/README.md/0 | {
"file_path": "devtools/third_party/packages/widget_icons/README.md",
"repo_id": "devtools",
"token_count": 9
} | 145 |
#!/bin/bash -e
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
if [ ! -z "$DEVTOOLS_TOOL_FLUTTER_FROM_PATH" ]
then
echo Running devtools_tool using Dart/Flutter from PATH because DEVTOOLS_TOOL_FLUTTER_FROM_PATH is set
dart run "$SCRIPT_DIR/devtools_tool.dart" "$@"
else
if [ ! -d ... | devtools/tool/bin/devtools_tool/0 | {
"file_path": "devtools/tool/bin/devtools_tool",
"repo_id": "devtools",
"token_count": 300
} | 146 |
#!/bin/bash
# Copyright 2022 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.
# Any subsequent commands failure will cause this script to exit immediately
set -e
# To determine the most recent candidate available on g3 fi... | devtools/tool/latest_flutter_candidate.sh/0 | {
"file_path": "devtools/tool/latest_flutter_candidate.sh",
"repo_id": "devtools",
"token_count": 276
} | 147 |
// 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:devtools_tool/model.dart';
import 'package:io/io.dart';
import 'package:path... | devtools/tool/lib/commands/update_perfetto.dart/0 | {
"file_path": "devtools/tool/lib/commands/update_perfetto.dart",
"repo_id": "devtools",
"token_count": 3015
} | 148 |
# Below is a list of people and organizations that have contributed
# to the Sky project. Names should be added to the list like so:
#
# Name/Organization <email address>
Google Inc.
The Chromium Authors
The Fuchsia Authors
Jim Simon <jim.j.simon@gmail.com>
Ali Bitek <alibitek@protonmail.ch>
Jacob Greenfield <jacob.... | engine/AUTHORS/0 | {
"file_path": "engine/AUTHORS",
"repo_id": "engine",
"token_count": 433
} | 149 |
// Copyright 2013 The Flutter 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 "benchmarking.h"
#include "flutter/fml/backtrace.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/command_line.h"
#include "flutter... | engine/benchmarking/benchmarking.cc/0 | {
"file_path": "engine/benchmarking/benchmarking.cc",
"repo_id": "engine",
"token_count": 320
} | 150 |
#!/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.
import sys
import subprocess
import os
import argparse
import errno
import shutil
def get_llvm_bin_directory():
buildtool_dir = o... | engine/build/generate_coverage.py/0 | {
"file_path": "engine/build/generate_coverage.py",
"repo_id": "engine",
"token_count": 2318
} | 151 |
# Copyright 2021 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(flutter/flutter#85356): This file was originally generated by the
# fuchsia.git script: `package_importer.py`. The generated `BUILD.gn` files were
# co... | engine/build/secondary/third_party/dart/third_party/pkg/args/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/dart/third_party/pkg/args/BUILD.gn",
"repo_id": "engine",
"token_count": 392
} | 152 |
# Copyright 2014 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.
declare_args() {
use_system_libsrtp = false
use_srtp_boringssl = true
}
config("libsrtp_config") {
defines = [
"HAVE_CONFIG_H",
"HAVE_STDLIB_H... | engine/build/secondary/third_party/libsrtp/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/libsrtp/BUILD.gn",
"repo_id": "engine",
"token_count": 5398
} | 153 |
#!/bin/bash
#
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links... | engine/ci/analyze.sh/0 | {
"file_path": "engine/ci/analyze.sh",
"repo_id": "engine",
"token_count": 1092
} | 154 |
{
"builds": [
{
"drone_dimensions": [
"device_type=none",
"os=Linux",
"cores=32"
],
"gclient_variables": {
"use_rbe": true
},
"gn": [
"--runtime-mode",
... | engine/ci/builders/linux_unopt.json/0 | {
"file_path": "engine/ci/builders/linux_unopt.json",
"repo_id": "engine",
"token_count": 6101
} | 155 |
#!/bin/bash
#
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links... | engine/ci/clang_tidy.sh/0 | {
"file_path": "engine/ci/clang_tidy.sh",
"repo_id": "engine",
"token_count": 992
} | 156 |
#!/bin/bash
#
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links... | engine/ci/pylint.sh/0 | {
"file_path": "engine/ci/pylint.sh",
"repo_id": "engine",
"token_count": 434
} | 157 |
// Copyright 2013 The Flutter 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_COMMON_GRAPHICS_MSAA_SAMPLE_COUNT_H_
#define FLUTTER_COMMON_GRAPHICS_MSAA_SAMPLE_COUNT_H_
// Supported MSAA sample count values.
enum clas... | engine/common/graphics/msaa_sample_count.h/0 | {
"file_path": "engine/common/graphics/msaa_sample_count.h",
"repo_id": "engine",
"token_count": 178
} | 158 |
// Copyright 2013 The Flutter 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_GL_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_COMPLEXITY_GL_H_
#include "flutter/display_list... | engine/display_list/benchmarking/dl_complexity_gl.h/0 | {
"file_path": "engine/display_list/benchmarking/dl_complexity_gl.h",
"repo_id": "engine",
"token_count": 1602
} | 159 |
// Copyright 2013 The Flutter 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_CANVAS_H_
#define FLUTTER_DISPLAY_LIST_DL_CANVAS_H_
#include "flutter/display_list/dl_blend_mode.h"
#include "flutter/disp... | engine/display_list/dl_canvas.h/0 | {
"file_path": "engine/display_list/dl_canvas.h",
"repo_id": "engine",
"token_count": 4634
} | 160 |
// Copyright 2013 The Flutter 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_builder.h"
#include "flutter/display_list/dl_vertices.h"
#include "flutter/display_list/testing/dl_test_equality.h"
#incl... | engine/display_list/dl_vertices_unittests.cc/0 | {
"file_path": "engine/display_list/dl_vertices_unittests.cc",
"repo_id": "engine",
"token_count": 13537
} | 161 |
// Copyright 2013 The Flutter 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/effects/dl_runtime_effect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
namespace flutter {
//------------------... | engine/display_list/effects/dl_runtime_effect.cc/0 | {
"file_path": "engine/display_list/effects/dl_runtime_effect.cc",
"repo_id": "engine",
"token_count": 614
} | 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/display_list/dl_blend_mode.h"
#include "flutter/display_list/dl_paint.h"
#include "flutter/display_list/dl_sampling_options.h"
#include "... | engine/display_list/skia/dl_sk_conversions_unittests.cc/0 | {
"file_path": "engine/display_list/skia/dl_sk_conversions_unittests.cc",
"repo_id": "engine",
"token_count": 6127
} | 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.
#include "flutter/display_list/testing/dl_test_surface_provider.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/... | engine/display_list/testing/dl_test_surface_provider.cc/0 | {
"file_path": "engine/display_list/testing/dl_test_surface_provider.cc",
"repo_id": "engine",
"token_count": 896
} | 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.
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
import 'package:flutter_spink... | engine/examples/glfw_drm/main.dart/0 | {
"file_path": "engine/examples/glfw_drm/main.dart",
"repo_id": "engine",
"token_count": 946
} | 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.
#ifndef FLUTTER_FLOW_EMBEDDED_VIEWS_H_
#define FLUTTER_FLOW_EMBEDDED_VIEWS_H_
#include <memory>
#include <utility>
#include <vector>
#include "flutter/di... | engine/flow/embedded_views.h/0 | {
"file_path": "engine/flow/embedded_views.h",
"repo_id": "engine",
"token_count": 6084
} | 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.
#include "flutter/flow/layers/clip_path_layer.h"
namespace flutter {
ClipPathLayer::ClipPathLayer(const SkPath& clip_path, Clip clip_behavior)
: Clip... | engine/flow/layers/clip_path_layer.cc/0 | {
"file_path": "engine/flow/layers/clip_path_layer.cc",
"repo_id": "engine",
"token_count": 201
} | 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/flow/layers/display_list_layer.h"
#include <utility>
#include "flutter/display_list/dl_builder.h"
#include "flutter/flow/layer_snapshot... | engine/flow/layers/display_list_layer.cc/0 | {
"file_path": "engine/flow/layers/display_list_layer.cc",
"repo_id": "engine",
"token_count": 2202
} | 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.
#ifndef FLUTTER_FLOW_LAYERS_LAYER_TREE_H_
#define FLUTTER_FLOW_LAYERS_LAYER_TREE_H_
#include <cstdint>
#include <memory>
#include "flutter/common/graphic... | engine/flow/layers/layer_tree.h/0 | {
"file_path": "engine/flow/layers/layer_tree.h",
"repo_id": "engine",
"token_count": 1364
} | 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 "flutter/flow/layers/shader_mask_layer.h"
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/flow/layers/opacity_layer.h"
#include "fl... | engine/flow/layers/shader_mask_layer_unittests.cc/0 | {
"file_path": "engine/flow/layers/shader_mask_layer_unittests.cc",
"repo_id": "engine",
"token_count": 8039
} | 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.
#ifndef FLUTTER_FLOW_RASTER_CACHE_KEY_H_
#define FLUTTER_FLOW_RASTER_CACHE_KEY_H_
#include <optional>
#include <unordered_map>
#include <utility>
#include... | engine/flow/raster_cache_key.h/0 | {
"file_path": "engine/flow/raster_cache_key.h",
"repo_id": "engine",
"token_count": 1497
} | 171 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/surface_frame.h"
#include <limits>
#include <utility>
#include "flutter/fml/logging.h"
#include "flutter/fml/trace_event.h"
#incl... | engine/flow/surface_frame.cc/0 | {
"file_path": "engine/flow/surface_frame.cc",
"repo_id": "engine",
"token_count": 967
} | 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_TESTING_MOCK_TEXTURE_H_
#define FLUTTER_FLOW_TESTING_MOCK_TEXTURE_H_
#include <ostream>
#include <vector>
#include "flutter/common/g... | engine/flow/testing/mock_texture.h/0 | {
"file_path": "engine/flow/testing/mock_texture.h",
"repo_id": "engine",
"token_count": 569
} | 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.
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
if (is_fuchsia) {
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")... | engine/fml/BUILD.gn/0 | {
"file_path": "engine/fml/BUILD.gn",
"repo_id": "engine",
"token_count": 5386
} | 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/fml/command_line.h"
#include <string_view>
#include <utility>
#include "flutter/fml/macros.h"
#include "flutter/fml/size.h"
#include "g... | engine/fml/command_line_unittest.cc/0 | {
"file_path": "engine/fml/command_line_unittest.cc",
"repo_id": "engine",
"token_count": 6858
} | 175 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/file.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/unique_fd.h"
namespace fml {
static fml::UniqueFD CreateDirectory(c... | engine/fml/file.cc/0 | {
"file_path": "engine/fml/file.cc",
"repo_id": "engine",
"token_count": 1749
} | 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 <signal.h>
#include "flutter/fml/build_config.h"
#include "flutter/fml/log_settings.h"
#include "flutter/fml/logging.h"
#include "fml/log_level.h... | engine/fml/logging_unittests.cc/0 | {
"file_path": "engine/fml/logging_unittests.cc",
"repo_id": "engine",
"token_count": 1187
} | 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_FML_NATIVE_LIBRARY_H_
#define FLUTTER_FML_NATIVE_LIBRARY_H_
#include <optional>
#include "flutter/fml/build_config.h"
#include "flutter/f... | engine/fml/native_library.h/0 | {
"file_path": "engine/fml/native_library.h",
"repo_id": "engine",
"token_count": 733
} | 178 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "flutter/fml/platform/darwin/scoped_nsautorelease_pool.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#include "gt... | engine/fml/platform/darwin/scoped_nsobject_unittests.mm/0 | {
"file_path": "engine/fml/platform/darwin/scoped_nsobject_unittests.mm",
"repo_id": "engine",
"token_count": 1449
} | 179 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PLATFORM_FUCHSIA_MESSAGE_LOOP_FUCHSIA_H_
#define FLUTTER_FML_PLATFORM_FUCHSIA_MESSAGE_LOOP_FUCHSIA_H_
#include <lib/async-loop/cpp/loo... | engine/fml/platform/fuchsia/message_loop_fuchsia.h/0 | {
"file_path": "engine/fml/platform/fuchsia/message_loop_fuchsia.h",
"repo_id": "engine",
"token_count": 414
} | 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.
#include "flutter/fml/platform/posix/shared_mutex_posix.h"
#include "flutter/fml/logging.h"
namespace fml {
SharedMutex* SharedMutex::Create() {
retur... | engine/fml/platform/posix/shared_mutex_posix.cc/0 | {
"file_path": "engine/fml/platform/posix/shared_mutex_posix.cc",
"repo_id": "engine",
"token_count": 287
} | 181 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/platform/win/wstring_conversion.h"
#include "gtest/gtest.h"
namespace fml {
namespace testing {
TEST(StringConversion, Utf8ToWideS... | engine/fml/platform/win/wstring_conversion_unittests.cc/0 | {
"file_path": "engine/fml/platform/win/wstring_conversion_unittests.cc",
"repo_id": "engine",
"token_count": 681
} | 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_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_
#define FLUTTER_FML_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_
#include <atomic>
#include "flutter/fml/m... | engine/fml/synchronization/count_down_latch.h/0 | {
"file_path": "engine/fml/synchronization/count_down_latch.h",
"repo_id": "engine",
"token_count": 278
} | 183 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_TASK_RUNNER_H_
#define FLUTTER_FML_TASK_RUNNER_H_
#include "flutter/fml/closure.h"
#include "flutter/fml/macros.h"
#include "flutter/f... | engine/fml/task_runner.h/0 | {
"file_path": "engine/fml/task_runner.h",
"repo_id": "engine",
"token_count": 871
} | 184 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_TIME_TIMESTAMP_PROVIDER_H_
#define FLUTTER_FML_TIME_TIMESTAMP_PROVIDER_H_
#include <cstdint>
#include "flutter/fml/time/time_point.h"... | engine/fml/time/timestamp_provider.h/0 | {
"file_path": "engine/fml/time/timestamp_provider.h",
"repo_id": "engine",
"token_count": 240
} | 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/impeller/aiks/aiks_unittests.h"
#include "impeller/aiks/canvas.h"
#include "impeller/geometry/path_builder.h"
#include "impeller/playgro... | engine/impeller/aiks/aiks_path_unittests.cc/0 | {
"file_path": "engine/impeller/aiks/aiks_path_unittests.cc",
"repo_id": "engine",
"token_count": 5945
} | 186 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/aiks/color_source.h"
#include <memory>
#include <vector>
#include "impeller/aiks/paint.h"
#include "impeller/core/sampler_descriptor.h... | engine/impeller/aiks/color_source.cc/0 | {
"file_path": "engine/impeller/aiks/color_source.cc",
"repo_id": "engine",
"token_count": 4358
} | 187 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_SPY_H_
#define FLUTTER_IMPELLER_AIKS_TESTING_CONTEXT_SPY_H_
#include <memory>
#include "impeller/aiks/testi... | engine/impeller/aiks/testing/context_spy.h/0 | {
"file_path": "engine/impeller/aiks/testing/context_spy.h",
"repo_id": "engine",
"token_count": 463
} | 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 "impeller/base/strings.h"
#include <cstdarg>
namespace impeller {
IMPELLER_PRINTF_FORMAT(1, 2)
std::string SPrintF(const char* format, ...) {
... | engine/impeller/base/strings.cc/0 | {
"file_path": "engine/impeller/base/strings.cc",
"repo_id": "engine",
"token_count": 511
} | 189 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/compiler/compiler_backend.h"
#include "impeller/base/comparable.h"
namespace impeller {
namespace compiler {
CompilerBackend::Compile... | engine/impeller/compiler/compiler_backend.cc/0 | {
"file_path": "engine/impeller/compiler/compiler_backend.cc",
"repo_id": "engine",
"token_count": 1175
} | 190 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/compiler/shader_bundle.h"
#include "impeller/compiler/compiler.h"
#include "impeller/compiler/reflector.h"
#include "impeller/compiler/s... | engine/impeller/compiler/shader_bundle.cc/0 | {
"file_path": "engine/impeller/compiler/shader_bundle.cc",
"repo_id": "engine",
"token_count": 3520
} | 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 GAUSSIAN_GLSL_
#define GAUSSIAN_GLSL_
#include <impeller/constants.glsl>
#include <impeller/types.glsl>
/// Gaussian distribution function.
float... | engine/impeller/compiler/shader_lib/impeller/gaussian.glsl/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/gaussian.glsl",
"repo_id": "engine",
"token_count": 1044
} | 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 <initializer_list>
#include <vector>
#include "flutter/fml/command_line.h"
#include "flutter/fml/file.h"
#include "flutter/testing/testing.h"
#in... | engine/impeller/compiler/switches_unittests.cc/0 | {
"file_path": "engine/impeller/compiler/switches_unittests.cc",
"repo_id": "engine",
"token_count": 1439
} | 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_CORE_DEVICE_BUFFER_H_
#define FLUTTER_IMPELLER_CORE_DEVICE_BUFFER_H_
#include <memory>
#include <string>
#include "impeller/core... | engine/impeller/core/device_buffer.h/0 | {
"file_path": "engine/impeller/core/device_buffer.h",
"repo_id": "engine",
"token_count": 791
} | 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_IMPELLER_CORE_SAMPLER_H_
#define FLUTTER_IMPELLER_CORE_SAMPLER_H_
#include <unordered_map>
#include "impeller/base/comparable.h"
#include... | engine/impeller/core/sampler.h/0 | {
"file_path": "engine/impeller/core/sampler.h",
"repo_id": "engine",
"token_count": 427
} | 195 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/display_list/dl_playground.h"
#include "flutter/testing/testing.h"
#include "impeller/aiks/aiks_context.h"
#include "impeller/display_l... | engine/impeller/display_list/dl_playground.cc/0 | {
"file_path": "engine/impeller/display_list/dl_playground.cc",
"repo_id": "engine",
"token_count": 808
} | 196 |
# Frame Capture with RenderDoc
[RenderDoc](https://renderdoc.org/) is a graphics debugger that can be used to capture frames. With Impeller starting to support OpenGL ES and Vulkan backends, RenderDoc can provide insights into the application's frames.
1. First step is to set up RenderDoc. Follow the [quickstart inst... | engine/impeller/docs/renderdoc_frame_capture.md/0 | {
"file_path": "engine/impeller/docs/renderdoc_frame_capture.md",
"repo_id": "engine",
"token_count": 822
} | 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/entity/contents/color_source_contents.h"
#include "impeller/entity/entity.h"
#include "impeller/geometry/matrix.h"
namespace impeller ... | engine/impeller/entity/contents/color_source_contents.cc/0 | {
"file_path": "engine/impeller/entity/contents/color_source_contents.cc",
"repo_id": "engine",
"token_count": 444
} | 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_ENTITY_CONTENTS_FILTERS_COLOR_MATRIX_FILTER_CONTENTS_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_COLOR_MATRIX_FILTER_CONTE... | engine/impeller/entity/contents/filters/color_matrix_filter_contents.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/color_matrix_filter_contents.h",
"repo_id": "engine",
"token_count": 463
} | 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_ENTITY_CONTENTS_FILTERS_INPUTS_TEXTURE_FILTER_INPUT_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_TEXTURE_FILTER_INPU... | engine/impeller/entity/contents/filters/inputs/texture_filter_input.h/0 | {
"file_path": "engine/impeller/entity/contents/filters/inputs/texture_filter_input.h",
"repo_id": "engine",
"token_count": 601
} | 200 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_GRADIENT_GENERATOR_H_
#define FLUTTER_IMPELLER_ENTITY_CONTENTS_GRADIENT_GENERATOR_H_
#include <functional>
#inclu... | engine/impeller/entity/contents/gradient_generator.h/0 | {
"file_path": "engine/impeller/entity/contents/gradient_generator.h",
"repo_id": "engine",
"token_count": 504
} | 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 "impeller/entity/entity_pass.h"
#include <limits>
#include <memory>
#include <utility>
#include <variant>
#include "flutter/fml/closure.h"
#incl... | engine/impeller/entity/entity_pass.cc/0 | {
"file_path": "engine/impeller/entity/entity_pass.cc",
"repo_id": "engine",
"token_count": 19172
} | 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 "impeller/entity/geometry/fill_path_geometry.h"
#include "fml/logging.h"
#include "impeller/core/formats.h"
#include "impeller/entity/contents/co... | engine/impeller/entity/geometry/fill_path_geometry.cc/0 | {
"file_path": "engine/impeller/entity/geometry/fill_path_geometry.cc",
"repo_id": "engine",
"token_count": 2553
} | 203 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_VERTICES_GEOMETRY_H_
#define FLUTTER_IMPELLER_ENTITY_GEOMETRY_VERTICES_GEOMETRY_H_
#include "impeller/entity/geom... | engine/impeller/entity/geometry/vertices_geometry.h/0 | {
"file_path": "engine/impeller/entity/geometry/vertices_geometry.h",
"repo_id": "engine",
"token_count": 1021
} | 204 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <impeller/texture.glsl>
#include <impeller/types.glsl>
// Unused, see See PointFieldGeometry::GetPositionBuffer
layout(local_size_x = 16) in;
la... | engine/impeller/entity/shaders/geometry/points.comp/0 | {
"file_path": "engine/impeller/entity/shaders/geometry/points.comp",
"repo_id": "engine",
"token_count": 707
} | 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/types.glsl>
uniform FrameInfo {
mat4 mvp;
float depth;
}
frame_info;
in vec2 position;
out vec2 v_position;
void main() {
gl_P... | engine/impeller/entity/shaders/rrect_blur.vert/0 | {
"file_path": "engine/impeller/entity/shaders/rrect_blur.vert",
"repo_id": "engine",
"token_count": 180
} | 206 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_GEOMETRY_HALF_H_
#define FLUTTER_IMPELLER_GEOMETRY_HALF_H_
#include <cstdint>
#include "flutter/fml/build_config.h"
#include "i... | engine/impeller/geometry/half.h/0 | {
"file_path": "engine/impeller/geometry/half.h",
"repo_id": "engine",
"token_count": 2233
} | 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_GEOMETRY_QUATERNION_H_
#define FLUTTER_IMPELLER_GEOMETRY_QUATERNION_H_
#include <ostream>
#include "impeller/geometry/vector.h"
... | engine/impeller/geometry/quaternion.h/0 | {
"file_path": "engine/impeller/geometry/quaternion.h",
"repo_id": "engine",
"token_count": 1184
} | 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 <math.h>
#include "fml/logging.h"
#include "gtest/gtest.h"
#include "flutter/impeller/geometry/trig.h"
namespace impeller {
namespace testing {... | engine/impeller/geometry/trig_unittests.cc/0 | {
"file_path": "engine/impeller/geometry/trig_unittests.cc",
"repo_id": "engine",
"token_count": 890
} | 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_GOLDEN_TESTS_METAL_SCREENSHOTTER_H_
#define FLUTTER_IMPELLER_GOLDEN_TESTS_METAL_SCREENSHOTTER_H_
#include "flutter/fml/macros.h"
... | engine/impeller/golden_tests/metal_screenshotter.h/0 | {
"file_path": "engine/impeller/golden_tests/metal_screenshotter.h",
"repo_id": "engine",
"token_count": 427
} | 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 "flutter/impeller/playground/backend/vulkan/swiftshader_utilities.h"
#include <cstdlib>
#include "flutter/fml/build_config.h"
#include "flutter/... | engine/impeller/playground/backend/vulkan/swiftshader_utilities.cc/0 | {
"file_path": "engine/impeller/playground/backend/vulkan/swiftshader_utilities.cc",
"repo_id": "engine",
"token_count": 1095
} | 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.
uniform UniformBuffer {
mat4 mvp;
}
uniform_buffer;
in vec2 vertex_position;
in vec2 texture_coordinates;
in vec4 vertex_color;
out vec2 frag_texture_c... | engine/impeller/playground/imgui/imgui_raster.vert/0 | {
"file_path": "engine/impeller/playground/imgui/imgui_raster.vert",
"repo_id": "engine",
"token_count": 178
} | 212 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/gles/blit_command_gles.h"
#include "flutter/fml/closure.h"
#include "impeller/base/validation.h"
#include "impeller/re... | engine/impeller/renderer/backend/gles/blit_command_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/blit_command_gles.cc",
"repo_id": "engine",
"token_count": 2142
} | 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/renderer/backend/gles/formats_gles.h"
namespace impeller {
std::string DebugToFramebufferError(int status) {
switch (status) {
c... | engine/impeller/renderer/backend/gles/formats_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/formats_gles.cc",
"repo_id": "engine",
"token_count": 352
} | 214 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_RENDER_PASS_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_RENDER_PASS_GLES_H_
#include <memory>
#... | engine/impeller/renderer/backend/gles/render_pass_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/render_pass_gles.h",
"repo_id": "engine",
"token_count": 486
} | 215 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEST_MOCK_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEST_MOCK_GLES_H_
#include <memory>
#inclu... | engine/impeller/renderer/backend/gles/test/mock_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/test/mock_gles.h",
"repo_id": "engine",
"token_count": 801
} | 216 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/metal/compute_pass_bindings_cache_mtl.h"
namespace impeller {
void ComputePassBindingsCacheMTL::SetComputePipelineSta... | engine/impeller/renderer/backend/metal/compute_pass_bindings_cache_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/compute_pass_bindings_cache_mtl.mm",
"repo_id": "engine",
"token_count": 891
} | 217 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/metal/pass_bindings_cache_mtl.h"
namespace impeller {
void PassBindingsCacheMTL::SetEncoder(id<MTLRenderCommandEncode... | engine/impeller/renderer/backend/metal/pass_bindings_cache_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/pass_bindings_cache_mtl.mm",
"repo_id": "engine",
"token_count": 2243
} | 218 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/metal/surface_mtl.h"
#include "flutter/fml/trace_event.h"
#include "flutter/impeller/renderer/command_buffer.h"
#inclu... | engine/impeller/renderer/backend/metal/surface_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/surface_mtl.mm",
"repo_id": "engine",
"token_count": 4086
} | 219 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/blit_command_vk.h"
#include <cstdint>
#include "impeller/renderer/backend/vulkan/command_encoder_vk.h"
#includ... | engine/impeller/renderer/backend/vulkan/blit_command_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/blit_command_vk.cc",
"repo_id": "engine",
"token_count": 6643
} | 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_RENDERER_BACKEND_VULKAN_COMMAND_QUEUE_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_QUEUE_VK_H_
#include "impell... | engine/impeller/renderer/backend/vulkan/command_queue_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/command_queue_vk.h",
"repo_id": "engine",
"token_count": 341
} | 221 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/driver_info_vk.h"
namespace impeller {
constexpr VendorVK IdentifyVendor(uint32_t vendor) {
// Check if the ... | engine/impeller/renderer/backend/vulkan/driver_info_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/driver_info_vk.cc",
"repo_id": "engine",
"token_count": 1078
} | 222 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_VK_H_
#include <future>
#include... | engine/impeller/renderer/backend/vulkan/pipeline_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/pipeline_vk.h",
"repo_id": "engine",
"token_count": 1258
} | 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_VULKAN_SHADER_FUNCTION_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SHADER_FUNCTION_VK_H_
#include "fl... | engine/impeller/renderer/backend/vulkan/shader_function_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/shader_function_vk.h",
"repo_id": "engine",
"token_count": 580
} | 224 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.