perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
58 lines • 3.5 kB
JavaScript
;
//
// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.SurfaceFlingerTransactionsConfig_ModeSchema = exports.SurfaceFlingerTransactionsConfig_Mode = exports.SurfaceFlingerTransactionsConfigSchema = exports.file_protos_perfetto_config_android_surfaceflinger_transactions_config = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/config/android/surfaceflinger_transactions_config.proto.
*/
exports.file_protos_perfetto_config_android_surfaceflinger_transactions_config = (0, codegenv1_1.fileDesc)("Ckdwcm90b3MvcGVyZmV0dG8vY29uZmlnL2FuZHJvaWQvc3VyZmFjZWZsaW5nZXJfdHJhbnNhY3Rpb25zX2NvbmZpZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIqwBCiBTdXJmYWNlRmxpbmdlclRyYW5zYWN0aW9uc0NvbmZpZxJECgRtb2RlGAEgASgOMjYucGVyZmV0dG8ucHJvdG9zLlN1cmZhY2VGbGluZ2VyVHJhbnNhY3Rpb25zQ29uZmlnLk1vZGUiQgoETW9kZRIUChBNT0RFX1VOU1BFQ0lGSUVEEAASEwoPTU9ERV9DT05USU5VT1VTEAESDwoLTU9ERV9BQ1RJVkUQAg");
/**
* Describes the message perfetto.protos.SurfaceFlingerTransactionsConfig.
* Use `create(SurfaceFlingerTransactionsConfigSchema)` to create a new message.
*/
exports.SurfaceFlingerTransactionsConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_android_surfaceflinger_transactions_config, 0);
/**
* @generated from enum perfetto.protos.SurfaceFlingerTransactionsConfig.Mode
*/
var SurfaceFlingerTransactionsConfig_Mode;
(function (SurfaceFlingerTransactionsConfig_Mode) {
/**
* @generated from enum value: MODE_UNSPECIFIED = 0;
*/
SurfaceFlingerTransactionsConfig_Mode[SurfaceFlingerTransactionsConfig_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* Default mode (applied by SurfaceFlinger if no mode is specified).
* SurfaceFlinger writes its internal ring buffer of transactions every time
* the data source is flushed. The ring buffer contains the SurfaceFlinger's
* initial state and the latest transactions.
*
* @generated from enum value: MODE_CONTINUOUS = 1;
*/
SurfaceFlingerTransactionsConfig_Mode[SurfaceFlingerTransactionsConfig_Mode["CONTINUOUS"] = 1] = "CONTINUOUS";
/**
* SurfaceFlinger writes the initial state and then each incoming
* transaction until the data source is stopped.
*
* @generated from enum value: MODE_ACTIVE = 2;
*/
SurfaceFlingerTransactionsConfig_Mode[SurfaceFlingerTransactionsConfig_Mode["ACTIVE"] = 2] = "ACTIVE";
})(SurfaceFlingerTransactionsConfig_Mode || (exports.SurfaceFlingerTransactionsConfig_Mode = SurfaceFlingerTransactionsConfig_Mode = {}));
/**
* Describes the enum perfetto.protos.SurfaceFlingerTransactionsConfig.Mode.
*/
exports.SurfaceFlingerTransactionsConfig_ModeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_android_surfaceflinger_transactions_config, 0, 0);
//# sourceMappingURL=surfaceflinger_transactions_config_pb.js.map