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.
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
## Syntax highlighting for HTML.
|
|
|
|
syntax html "\.html?$"
|
|
magic "HTML document"
|
|
comment "<!--|-->"
|
|
|
|
formatter tidy -m -q
|
|
|
|
# Tags:
|
|
color cyan "<[[:alpha:]/!?][^>]*>"
|
|
# Bold, italic, underlined, emphasis, and importance:
|
|
color brightmagenta "</?(b|i|u|em|strong)>"
|
|
|
|
# Named character references:
|
|
color red "&[^;[:space:]]*;"
|
|
|
|
# Attributes:
|
|
color red "\<(abbr|accept(-charset)?|accesskey|action|alink|align|alt|archive|axis|background|bgcolor|border)="
|
|
color red "\<(cell(padding|spacing)|char(off|set)?|checked|cite|class(id)?|compact|code(base|tag)?|cols(pan)?)="
|
|
color red "\<(content(editable)?|contextmenu|coords|data|datetime|declare|defer|dir|disabled|enctype)="
|
|
color red "\<(for|frame(border)?|headers|height|hidden|href(lang)?|hspace|http-equiv|id|ismap)="
|
|
color red "\<(label|lang|link|longdesc|margin(height|width)|maxlength|media|method|multiple)="
|
|
color red "\<(name|nohref|noresize|noshade|object|onclick|onfocus|onload|onmouseover|profile|readonly|rel|rev)="
|
|
color red "\<(rows(pan)?|rules|scheme|scope|scrolling|selected|shape|size|span|src|standby|start|style|summary)="
|
|
color red "\<(tabindex|target|text|title|type|usemap|valign|value(type)?|vlink|vspace|width|xmlns|xml:space)="
|
|
|
|
# Strings:
|
|
color green ""([^"\]|\\.)*""
|
|
|
|
# Comments:
|
|
color yellow start="<!--" end="-->"
|