perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
74 lines (62 loc) • 2.5 kB
text/typescript
//
// Copyright (C) 2018 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.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/android/view/surface.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/view/surface.proto.
*/
export const file_protos_perfetto_trace_android_view_surface: GenFile = /*@__PURE__*/
fileDesc("CjBwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L3N1cmZhY2UucHJvdG8SD3BlcmZldHRvLnByb3RvcyJfCgxTdXJmYWNlUHJvdG8iTwoIUm90YXRpb24SDgoKUk9UQVRJT05fMBAAEg8KC1JPVEFUSU9OXzkwEAESEAoMUk9UQVRJT05fMTgwEAISEAoMUk9UQVRJT05fMjcwEAM");
/**
* @generated from message perfetto.protos.SurfaceProto
*/
export type SurfaceProto = Message<"perfetto.protos.SurfaceProto"> & {
};
/**
* Describes the message perfetto.protos.SurfaceProto.
* Use `create(SurfaceProtoSchema)` to create a new message.
*/
export const SurfaceProtoSchema: GenMessage<SurfaceProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_view_surface, 0);
/**
* @generated from enum perfetto.protos.SurfaceProto.Rotation
*/
export enum SurfaceProto_Rotation {
/**
* @generated from enum value: ROTATION_0 = 0;
*/
ROTATION_0 = 0,
/**
* @generated from enum value: ROTATION_90 = 1;
*/
ROTATION_90 = 1,
/**
* @generated from enum value: ROTATION_180 = 2;
*/
ROTATION_180 = 2,
/**
* @generated from enum value: ROTATION_270 = 3;
*/
ROTATION_270 = 3,
}
/**
* Describes the enum perfetto.protos.SurfaceProto.Rotation.
*/
export const SurfaceProto_RotationSchema: GenEnum<SurfaceProto_Rotation> = /*@__PURE__*/
enumDesc(file_protos_perfetto_trace_android_view_surface, 0, 0);