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.
18 lines
505 B
Plaintext
18 lines
505 B
Plaintext
|
|
#------------------------------------------------------------------------------
|
|
# $File: gcc,v 1.5 2016/07/01 23:31:13 christos Exp $
|
|
# gcc: file(1) magic for GCC special files
|
|
#
|
|
0 string gpch GCC precompiled header
|
|
|
|
# The version field is annoying. It's 3 characters, not zero-terminated.
|
|
>5 byte x (version %c
|
|
>6 byte x \b%c
|
|
>7 byte x \b%c)
|
|
|
|
# 67 = 'C', 111 = 'o', 43 = '+', 79 = 'O'
|
|
>4 byte 67 for C
|
|
>4 byte 111 for Objective-C
|
|
>4 byte 43 for C++
|
|
>4 byte 79 for Objective-C++
|