request_scroll man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

request_scroll(3)		Allegro manual		     request_scroll(3)

NAME
       request_scroll  -  Queues a hardware scroll request with triple buffer‐
       ing. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int request_scroll(int x, int y);

DESCRIPTION
       This function is used for triple	 buffering.  It	 requests  a  hardware
       scroll  to  the specified position, but returns immediately rather than
       waiting for a retrace. The scroll will then take place during the  next
       vertical	 retrace, but you can carry on running other code in the mean‐
       time and use the poll_scroll() routine to  detect  when	the  flip  has
       actually taken place.

       Triple buffering is only possible with certain drivers: you can look at
       the GFX_CAN_TRIPLE_BUFFER bit in the gfx_capabilities flag to see if it
       will work with the current driver.

RETURN VALUE
       This function returns zero on success, non-zero otherwise.

SEE ALSO
       poll_scroll(3),	    request_video_bitmap(3),	  gfx_capabilities(3),
       scroll_screen(3)

Allegro				 version 4.4.2		     request_scroll(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net