GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XPRESENT(3) FreeBSD Library Functions Manual XPRESENT(3)

Xpresent - X Present Extension

#include <X11/extensions/Xpresent.h>

Bool XPresentQueryExtension (Display *dpy, int *major_opcode_return,
	int *event_base_return, int *error_base_return);

Status XPresentQueryVersion (Display *dpy,
	int *major_version_return,
	int *minor_version_return);

int XPresentVersion (void);

Specifies the connection to the X server.

Xpresent is a library designed to interface the X Present Extension. The Present extension provides a way for applications to update their window contents from a pixmap in a well defined fashion, synchronizing with the display refresh and potentially using a more efficient mechanism than copying the contents of the source pixmap. The XPresentQueryExtension function checks if the X server specified by dpy supports the X Present extension. If the server does not support the extension, it returns False. If the server does support the extension, it returns True, and sets the values of major_opcode_return, event_base_return, and error_base_return if the pointers are not NULL.

Clients must call the XPresentQueryExtension function to verify the server supports the extension before calling any other function for this extension. The XPresentQueryVersion function sets the values pointed to by major_version_return and minor_version_return to the version of the extension supported by the X server specified by dpy. The XPresentQueryVersion function returns the version of the libXpresent library in use, as defined by the PRESENT_VERSION macro in <X11/extensions/Xpresent.h>.

XPresentNotifyMSC(3), XPresentPixmap(3), XPresentQueryCapabilities(3), XPresentSelectInput(3)

Xpresent will remain upward compatible after the 1.0 release.

Keith Packard, Intel

libXpresent 1.0.1 X Version 11

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.