perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
104 lines (86 loc) • 3.19 kB
text/typescript
//
// Copyright (C) 2024 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/graphics/pixelformat.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/graphics/pixelformat.proto.
*/
export const file_protos_perfetto_trace_android_graphics_pixelformat: GenFile = /*@__PURE__*/
fileDesc("Cjhwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9ncmFwaGljcy9waXhlbGZvcm1hdC5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIssBChBQaXhlbEZvcm1hdFByb3RvIrYBCgZGb3JtYXQSCwoHVU5LTk9XThAAEhgKC1RSQU5TTFVDRU5UEP3//////////wESGAoLVFJBTlNQQVJFTlQQ/v//////////ARITCgZPUEFRVUUQ////////////ARINCglSR0JBXzg4ODgQARINCglSR0JYXzg4ODgQAhILCgdSR0JfODg4EAMSCwoHUkdCXzU2NRAEEgwKCFJHQkFfRjE2EBYSEAoMUkdCQV8xMDEwMTAyECs");
/**
* @generated from message perfetto.protos.PixelFormatProto
*/
export type PixelFormatProto = Message<"perfetto.protos.PixelFormatProto"> & {
};
/**
* Describes the message perfetto.protos.PixelFormatProto.
* Use `create(PixelFormatProtoSchema)` to create a new message.
*/
export const PixelFormatProtoSchema: GenMessage<PixelFormatProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_graphics_pixelformat, 0);
/**
* @generated from enum perfetto.protos.PixelFormatProto.Format
*/
export enum PixelFormatProto_Format {
/**
* @generated from enum value: UNKNOWN = 0;
*/
UNKNOWN = 0,
/**
* @generated from enum value: TRANSLUCENT = -3;
*/
TRANSLUCENT = -3,
/**
* @generated from enum value: TRANSPARENT = -2;
*/
TRANSPARENT = -2,
/**
* @generated from enum value: OPAQUE = -1;
*/
OPAQUE = -1,
/**
* @generated from enum value: RGBA_8888 = 1;
*/
RGBA_8888 = 1,
/**
* @generated from enum value: RGBX_8888 = 2;
*/
RGBX_8888 = 2,
/**
* @generated from enum value: RGB_888 = 3;
*/
RGB_888 = 3,
/**
* @generated from enum value: RGB_565 = 4;
*/
RGB_565 = 4,
/**
* @generated from enum value: RGBA_F16 = 22;
*/
RGBA_F16 = 22,
/**
* @generated from enum value: RGBA_1010102 = 43;
*/
RGBA_1010102 = 43,
}
/**
* Describes the enum perfetto.protos.PixelFormatProto.Format.
*/
export const PixelFormatProto_FormatSchema: GenEnum<PixelFormatProto_Format> = /*@__PURE__*/
enumDesc(file_protos_perfetto_trace_android_graphics_pixelformat, 0, 0);