7686729069
Extract protocol-agnostic FenceTimeline from Intel to shared src/drivers/fence.rs — atomic-based fence tracking suitable for Intel, VIRGL, and AMD drivers. Extract protocol-agnostic SyncobjManager from Intel to shared src/drivers/syncobj.rs — syncobj create/destroy/signal/reset/ wait/query and sync_file fd export/import. Wire both into VirtioDriver: - Add FenceTimeline + SyncobjManager fields - Implement all 5 GpuDriver syncobj trait methods (create, destroy, wait, export_fd, import_fd) - Track fence seqnos in virgl_submit_3d (allocate before submit, signal after completion) Intel fence.rs and syncobj.rs converted to thin re-export modules pointing at shared sources — no behavioral change for Intel driver. This gives Mesa VIRGL userspace the standard DRM syncobj API for GPU/compositor synchronization.
33 lines
972 B
Plaintext
33 lines
972 B
Plaintext
|
|
#------------------------------------------------------------------------------
|
|
# $File: visx,v 1.5 2009/09/19 16:28:13 christos Exp $
|
|
# visx: file(1) magic for Visx format files
|
|
#
|
|
0 short 0x5555 VISX image file
|
|
>2 byte 0 (zero)
|
|
>2 byte 1 (unsigned char)
|
|
>2 byte 2 (short integer)
|
|
>2 byte 3 (float 32)
|
|
>2 byte 4 (float 64)
|
|
>2 byte 5 (signed char)
|
|
>2 byte 6 (bit-plane)
|
|
>2 byte 7 (classes)
|
|
>2 byte 8 (statistics)
|
|
>2 byte 10 (ascii text)
|
|
>2 byte 15 (image segments)
|
|
>2 byte 100 (image set)
|
|
>2 byte 101 (unsigned char vector)
|
|
>2 byte 102 (short integer vector)
|
|
>2 byte 103 (float 32 vector)
|
|
>2 byte 104 (float 64 vector)
|
|
>2 byte 105 (signed char vector)
|
|
>2 byte 106 (bit plane vector)
|
|
>2 byte 121 (feature vector)
|
|
>2 byte 122 (feature vector library)
|
|
>2 byte 124 (chain code)
|
|
>2 byte 126 (bit vector)
|
|
>2 byte 130 (graph)
|
|
>2 byte 131 (adjacency graph)
|
|
>2 byte 132 (adjacency graph library)
|
|
>2 string .VISIX (ascii text)
|