Changeset 102143 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 17, 2023 7:06:12 PM (14 months ago)
- Location:
- trunk/src/VBox/Devices/Graphics/vmsvga_include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/vmsvga_include/svga3d_cmd.h
r96407 r102143 337 337 SVGA_3D_CMD_MAX = 1278, 338 338 SVGA_3D_CMD_FUTURE_MAX = 3000 339 340 #ifdef VBOX 341 , 342 /* VirtualBox commands */ 343 VBSVGA_3D_CMD_BASE = 1000000, /* Arbitrary */ 344 VBSVGA_3D_CMD_MIN = VBSVGA_3D_CMD_BASE, 345 VBSVGA_3D_CMD_DX_DEFINE_VIDEO_PROCESSOR = VBSVGA_3D_CMD_BASE + 0, 346 VBSVGA_3D_CMD_DX_DEFINE_VIDEO_DECODER_OUTPUT_VIEW = VBSVGA_3D_CMD_BASE + 1, 347 VBSVGA_3D_CMD_DX_DEFINE_VIDEO_DECODER = VBSVGA_3D_CMD_BASE + 2, 348 VBSVGA_3D_CMD_DX_VIDEO_DECODER_BEGIN_FRAME = VBSVGA_3D_CMD_BASE + 3, 349 VBSVGA_3D_CMD_DX_VIDEO_DECODER_SUBMIT_BUFFERS = VBSVGA_3D_CMD_BASE + 4, 350 VBSVGA_3D_CMD_DX_VIDEO_DECODER_END_FRAME = VBSVGA_3D_CMD_BASE + 5, 351 VBSVGA_3D_CMD_DX_DEFINE_VIDEO_PROCESSOR_INPUT_VIEW = VBSVGA_3D_CMD_BASE + 6, 352 VBSVGA_3D_CMD_DX_DEFINE_VIDEO_PROCESSOR_OUTPUT_VIEW = VBSVGA_3D_CMD_BASE + 7, 353 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_BLT = VBSVGA_3D_CMD_BASE + 8, 354 VBSVGA_3D_CMD_DX_DESTROY_VIDEO_DECODER = VBSVGA_3D_CMD_BASE + 9, 355 VBSVGA_3D_CMD_DX_DESTROY_VIDEO_DECODER_OUTPUT_VIEW = VBSVGA_3D_CMD_BASE + 10, 356 VBSVGA_3D_CMD_DX_DESTROY_VIDEO_PROCESSOR = VBSVGA_3D_CMD_BASE + 11, 357 VBSVGA_3D_CMD_DX_DESTROY_VIDEO_PROCESSOR_INPUT_VIEW = VBSVGA_3D_CMD_BASE + 12, 358 VBSVGA_3D_CMD_DX_DESTROY_VIDEO_PROCESSOR_OUTPUT_VIEW = VBSVGA_3D_CMD_BASE + 13, 359 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_TARGET_RECT = VBSVGA_3D_CMD_BASE + 14, 360 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_BACKGROUND_COLOR = VBSVGA_3D_CMD_BASE + 15, 361 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_COLOR_SPACE = VBSVGA_3D_CMD_BASE + 16, 362 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_ALPHA_FILL_MODE = VBSVGA_3D_CMD_BASE + 17, 363 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_CONSTRICTION = VBSVGA_3D_CMD_BASE + 18, 364 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_OUTPUT_STEREO_MODE = VBSVGA_3D_CMD_BASE + 19, 365 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_FRAME_FORMAT = VBSVGA_3D_CMD_BASE + 20, 366 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_COLOR_SPACE = VBSVGA_3D_CMD_BASE + 21, 367 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_OUTPUT_RATE = VBSVGA_3D_CMD_BASE + 22, 368 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_SOURCE_RECT = VBSVGA_3D_CMD_BASE + 23, 369 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_DEST_RECT = VBSVGA_3D_CMD_BASE + 24, 370 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_ALPHA = VBSVGA_3D_CMD_BASE + 25, 371 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_PALETTE = VBSVGA_3D_CMD_BASE + 26, 372 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_PIXEL_ASPECT_RATIO = VBSVGA_3D_CMD_BASE + 27, 373 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_LUMA_KEY = VBSVGA_3D_CMD_BASE + 28, 374 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_STEREO_FORMAT = VBSVGA_3D_CMD_BASE + 29, 375 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_AUTO_PROCESSING_MODE = VBSVGA_3D_CMD_BASE + 30, 376 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_FILTER = VBSVGA_3D_CMD_BASE + 31, 377 VBSVGA_3D_CMD_DX_VIDEO_PROCESSOR_SET_STREAM_ROTATION = VBSVGA_3D_CMD_BASE + 32, 378 VBSVGA_3D_CMD_DX_GET_VIDEO_CAPABILITY = VBSVGA_3D_CMD_BASE + 33, 379 VBSVGA_3D_CMD_MAX = VBSVGA_3D_CMD_BASE + 34 380 #endif 339 381 } SVGAFifo3dCmdId; 340 382 341 383 #define SVGA_NUM_3D_CMD (SVGA_3D_CMD_MAX - SVGA_3D_CMD_BASE) 384 #ifdef VBOX 385 #define VBSVGA_NUM_COMMANDS (SVGA_NUM_3D_CMD + (VBSVGA_3D_CMD_MAX - VBSVGA_3D_CMD_BASE)) 386 #endif 342 387 343 388 /* -
trunk/src/VBox/Devices/Graphics/vmsvga_include/svga3d_types.h
r96407 r102143 1934 1934 SVGA_COTABLE_UAVIEW = 11, 1935 1935 SVGA_COTABLE_MAX = 12, 1936 #ifdef VBOX 1937 VBSVGA_COTABLE_BASE = 100, 1938 VBSVGA_COTABLE_MIN = VBSVGA_COTABLE_BASE, 1939 VBSVGA_COTABLE_VIDEOPROCESSOR = VBSVGA_COTABLE_BASE + 0, 1940 VBSVGA_COTABLE_VDOV = VBSVGA_COTABLE_BASE + 1, /* Video Decoder Output View */ 1941 VBSVGA_COTABLE_VIDEODECODER = VBSVGA_COTABLE_BASE + 2, 1942 VBSVGA_COTABLE_VPIV = VBSVGA_COTABLE_BASE + 3, /* Video Processor Input View */ 1943 VBSVGA_COTABLE_VPOV = VBSVGA_COTABLE_BASE + 4, /* Video Processor Output View */ 1944 VBSVGA_COTABLE_MAX = VBSVGA_COTABLE_BASE + 5 1945 #endif 1936 1946 } SVGACOTableType; 1947 1948 #ifdef VBOX 1949 #define VBSVGA_NUM_COTABLES SVGA_COTABLE_MAX + (VBSVGA_COTABLE_MAX - VBSVGA_COTABLE_MIN) 1950 #endif 1937 1951 1938 1952 /*
Note:
See TracChangeset
for help on using the changeset viewer.