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.
27 lines
822 B
Plaintext
27 lines
822 B
Plaintext
## Syntax highlighting for Javascript.
|
|
|
|
syntax javascript "\.js$"
|
|
comment "//"
|
|
|
|
# Declarational stuff.
|
|
color green "\<(async|class|const|extends|function|let|this|typeof|var|void)\>"
|
|
# Flow control and special keywords.
|
|
color brightyellow "\<(do|while|if|else|switch|case|default|for|each|in|of|with)\>"
|
|
color brightyellow "\<(await|export|import|throw|try|catch|finally|new|delete)\>"
|
|
# "Exit" points.
|
|
color magenta "\<(break|continue|return|yield)\>"
|
|
|
|
# Octal/decimal and hexadecimal numbers.
|
|
color cyan "\<([0-9]+|0x[[:xdigit:]]+)\>"
|
|
# Special values.
|
|
color cyan "\<(true|false|null|undefined)\>"
|
|
|
|
# Strings.
|
|
color brightmagenta ""([^"\]|\\.)*"|'([^'\]|\\.)*'|`([^`\]|\\.)*`"
|
|
# Comments.
|
|
color brightblue "(^|[[:blank:]])//.*"
|
|
color brightblue start="/\*" end="\*/"
|
|
|
|
# Trailing whitespace.
|
|
color ,green "[[:space:]]+$"
|