1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
gpu / command_buffer / common / raster_cmd_ids_autogen.h [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is auto-generated from
// gpu/command_buffer/build_raster_cmd_buffer.py
// It's formatted by clang-format using chromium coding style:
// clang-format -i -style=chromium filename
// DO NOT EDIT!
#ifndef GPU_COMMAND_BUFFER_COMMON_RASTER_CMD_IDS_AUTOGEN_H_
#define GPU_COMMAND_BUFFER_COMMON_RASTER_CMD_IDS_AUTOGEN_H_
#define RASTER_COMMAND_LIST(OP) \
OP(Finish) /* 256 */ \
OP(Flush) /* 257 */ \
OP(GetError) /* 258 */ \
OP(GenQueriesEXTImmediate) /* 259 */ \
OP(DeleteQueriesEXTImmediate) /* 260 */ \
OP(QueryCounterEXT) /* 261 */ \
OP(BeginQueryEXT) /* 262 */ \
OP(EndQueryEXT) /* 263 */ \
OP(LoseContextCHROMIUM) /* 264 */ \
OP(BeginRasterCHROMIUMImmediate) /* 265 */ \
OP(RasterCHROMIUM) /* 266 */ \
OP(EndRasterCHROMIUM) /* 267 */ \
OP(CreateTransferCacheEntryINTERNAL) /* 268 */ \
OP(DeleteTransferCacheEntryINTERNAL) /* 269 */ \
OP(UnlockTransferCacheEntryINTERNAL) /* 270 */ \
OP(DeletePaintCachePathsINTERNALImmediate) /* 271 */ \
OP(DeletePaintCachePathsINTERNAL) /* 272 */ \
OP(ClearPaintCacheINTERNAL) /* 273 */ \
OP(CopySharedImageINTERNALImmediate) /* 274 */ \
OP(WritePixelsINTERNALImmediate) /* 275 */ \
OP(WritePixelsYUVINTERNALImmediate) /* 276 */ \
OP(ReadbackARGBImagePixelsINTERNALImmediate) /* 277 */ \
OP(ReadbackYUVImagePixelsINTERNALImmediate) /* 278 */ \
OP(TraceBeginCHROMIUM) /* 279 */ \
OP(TraceEndCHROMIUM) /* 280 */ \
OP(SetActiveURLCHROMIUM) /* 281 */
enum CommandId {
kOneBeforeStartPoint =
cmd::kLastCommonId, // All Raster commands start after this.
#define RASTER_CMD_OP(name) k##name,
RASTER_COMMAND_LIST(RASTER_CMD_OP)
#undef RASTER_CMD_OP
kNumCommands,
kFirstRasterCommand = kOneBeforeStartPoint + 1
};
#endif // GPU_COMMAND_BUFFER_COMMON_RASTER_CMD_IDS_AUTOGEN_H_