int error = Flip(APTR handle, struct hwTagList *tags);
The following tags may be passed in the second parameter:
HWFLIPTAG_VSYNC:
iData
element of this tag item is set to True
, Hollywood wants you
to synchronize buffer flips with the vertical blank interrupt. If this is
False
, Hollywood doesn't want you to do any synchronization and your Flip()
implementation
should exit immediately after flipping front and back buffers.
Flip()
is an optional API and must only be implemented if HWSDAFLAGS_DOUBLEBUFFERADAPTER
has been passed to hw_SetDisplayAdapter(). See hw_SetDisplayAdapter for details.