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.
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Makefile for less.
|
|
# MS-DOS version (Borland C/C++ 4.02)
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
CC = bcc
|
|
LIBDIR = \bc\lib
|
|
|
|
CFLAGS = -A- -mm -O2 -w- -1- -2- -a -d -Z
|
|
LDFLAGS = -mm
|
|
LIBS =
|
|
EXT = .EXE
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
# This rule allows us to supply the necessary -D options
|
|
# in addition to whatever the user asks for.
|
|
.c.obj:
|
|
$(CC) -c -I. $(CPPFLAGS) $(CFLAGS) $<
|
|
|
|
OBJ = \
|
|
main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj \
|
|
command.obj cvt.obj decode.obj edit.obj filename.obj forwback.obj \
|
|
help.obj ifile.obj input.obj jump.obj lesskey_parse.obj line.obj linenum.obj \
|
|
lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
|
|
output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
|
|
tags.obj ttyin.obj version.obj xbuf.obj
|
|
|
|
all: less$(EXT) lesskey$(EXT)
|
|
|
|
# This is really horrible, but the command line is too long for
|
|
# MS-DOS if we try to link $(OBJ).
|
|
less$(EXT): $(OBJ)
|
|
ren lesskey.obj lesskey.obo
|
|
$(CC) $(LDFLAGS) -e$@ *.obj $(LIBS)
|
|
ren lesskey.obo lesskey.obj
|
|
|
|
lesskey$(EXT): lesskey.obj lesskey_parse.obj version.obj xbuf.obj
|
|
$(CC) $(LDFLAGS) -e$@ lesskey.obj lesskey_parse.obj version.obj xbuf.obj $(LIBS)
|
|
|
|
defines.h: defines.ds
|
|
-del defines.h
|
|
-copy defines.ds defines.h
|
|
|
|
$(OBJ): less.h defines.h
|
|
|
|
clean:
|
|
-del *.obj
|
|
-del less.exe
|
|
-del lesskey.exe
|
|
|