Struct xcb_dl::XcbPresent [−][src]
pub struct XcbPresent { /* fields omitted */ }
Expand description
A dynamically loaded libxcb-present
.
Implementations
The libxcb identifier of the Present
extension.
Returns true
iff the symbol xcb_present_id
could be loaded.
Advances a xcb_present_notify_iterator_t
iterator by 1 element.
Returns true
iff the symbol xcb_present_notify_next
could be loaded.
pub unsafe fn xcb_present_notify_end(
&self,
i: xcb_present_notify_iterator_t
) -> xcb_generic_iterator_t
pub unsafe fn xcb_present_notify_end(
&self,
i: xcb_present_notify_iterator_t
) -> xcb_generic_iterator_t
Returns a xcb_generic_iterator_t
pointing just past the end of a xcb_present_notify_iterator_t
.
Returns true
iff the symbol xcb_present_notify_end
could be loaded.
pub unsafe fn xcb_present_query_version(
&self,
c: *mut xcb_connection_t,
major_version: u32,
minor_version: u32
) -> xcb_present_query_version_cookie_t
pub unsafe fn xcb_present_query_version(
&self,
c: *mut xcb_connection_t,
major_version: u32,
minor_version: u32
) -> xcb_present_query_version_cookie_t
Sends a Present::QueryVersion
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_present_query_version_reply
.
Returns true
iff the symbol xcb_present_query_version
could be loaded.
pub unsafe fn xcb_present_query_version_unchecked(
&self,
c: *mut xcb_connection_t,
major_version: u32,
minor_version: u32
) -> xcb_present_query_version_cookie_t
pub unsafe fn xcb_present_query_version_unchecked(
&self,
c: *mut xcb_connection_t,
major_version: u32,
minor_version: u32
) -> xcb_present_query_version_cookie_t
Sends a Present::QueryVersion
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_present_query_version_reply
.
Returns true
iff the symbol xcb_present_query_version_unchecked
could be loaded.
pub unsafe fn xcb_present_query_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_present_query_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_present_query_version_reply_t
pub unsafe fn xcb_present_query_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_present_query_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_present_query_version_reply_t
Waits for the reply to a Present::QueryVersion
request.
Returns true
iff the symbol xcb_present_query_version_reply
could be loaded.
Computes the size of a xcb_present_pixmap_request_t
object.
Returns true
iff the symbol xcb_present_pixmap_sizeof
could be loaded.
pub unsafe fn xcb_present_pixmap_checked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
pixmap: xcb_pixmap_t,
serial: u32,
valid: xcb_xfixes_region_t,
update: xcb_xfixes_region_t,
x_off: i16,
y_off: i16,
target_crtc: xcb_randr_crtc_t,
wait_fence: xcb_sync_fence_t,
idle_fence: xcb_sync_fence_t,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies_len: u32,
notifies: *const xcb_present_notify_t
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_pixmap_checked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
pixmap: xcb_pixmap_t,
serial: u32,
valid: xcb_xfixes_region_t,
update: xcb_xfixes_region_t,
x_off: i16,
y_off: i16,
target_crtc: xcb_randr_crtc_t,
wait_fence: xcb_sync_fence_t,
idle_fence: xcb_sync_fence_t,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies_len: u32,
notifies: *const xcb_present_notify_t
) -> xcb_void_cookie_t
Sends a Present::Pixmap
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_request_check
.
Returns true
iff the symbol xcb_present_pixmap_checked
could be loaded.
pub unsafe fn xcb_present_pixmap(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
pixmap: xcb_pixmap_t,
serial: u32,
valid: xcb_xfixes_region_t,
update: xcb_xfixes_region_t,
x_off: i16,
y_off: i16,
target_crtc: xcb_randr_crtc_t,
wait_fence: xcb_sync_fence_t,
idle_fence: xcb_sync_fence_t,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies_len: u32,
notifies: *const xcb_present_notify_t
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_pixmap(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
pixmap: xcb_pixmap_t,
serial: u32,
valid: xcb_xfixes_region_t,
update: xcb_xfixes_region_t,
x_off: i16,
y_off: i16,
target_crtc: xcb_randr_crtc_t,
wait_fence: xcb_sync_fence_t,
idle_fence: xcb_sync_fence_t,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies_len: u32,
notifies: *const xcb_present_notify_t
) -> xcb_void_cookie_t
Sends a Present::Pixmap
request (unchecked).
Returns true
iff the symbol xcb_present_pixmap
could be loaded.
pub unsafe fn xcb_present_pixmap_notifies(
&self,
r: *const xcb_present_pixmap_request_t
) -> *mut xcb_present_notify_t
pub unsafe fn xcb_present_pixmap_notifies(
&self,
r: *const xcb_present_pixmap_request_t
) -> *mut xcb_present_notify_t
Returns a pointer to the notifies
field of a xcb_present_pixmap_request_t
struct.
Returns true
iff the symbol xcb_present_pixmap_notifies
could be loaded.
pub unsafe fn xcb_present_pixmap_notifies_length(
&self,
r: *const xcb_present_pixmap_request_t
) -> c_int
pub unsafe fn xcb_present_pixmap_notifies_length(
&self,
r: *const xcb_present_pixmap_request_t
) -> c_int
Returns the number of elements of the notifies
field of a xcb_present_pixmap_request_t
struct.
Returns true
iff the symbol xcb_present_pixmap_notifies_length
could be loaded.
pub unsafe fn xcb_present_pixmap_notifies_iterator(
&self,
r: *const xcb_present_pixmap_request_t
) -> xcb_present_notify_iterator_t
pub unsafe fn xcb_present_pixmap_notifies_iterator(
&self,
r: *const xcb_present_pixmap_request_t
) -> xcb_present_notify_iterator_t
Returns an iterator over the elements of the
notifies
field of a xcb_present_pixmap_request_t
struct.
Returns true
iff the symbol xcb_present_pixmap_notifies_iterator
could be loaded.
pub unsafe fn xcb_present_notify_msc_checked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
serial: u32,
target_msc: u64,
divisor: u64,
remainder: u64
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_notify_msc_checked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
serial: u32,
target_msc: u64,
divisor: u64,
remainder: u64
) -> xcb_void_cookie_t
Sends a Present::NotifyMSC
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_request_check
.
Returns true
iff the symbol xcb_present_notify_msc_checked
could be loaded.
pub unsafe fn xcb_present_notify_msc(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
serial: u32,
target_msc: u64,
divisor: u64,
remainder: u64
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_notify_msc(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
serial: u32,
target_msc: u64,
divisor: u64,
remainder: u64
) -> xcb_void_cookie_t
Sends a Present::NotifyMSC
request (unchecked).
Returns true
iff the symbol xcb_present_notify_msc
could be loaded.
Advances a xcb_present_event_iterator_t
iterator by 1 element.
Returns true
iff the symbol xcb_present_event_next
could be loaded.
pub unsafe fn xcb_present_event_end(
&self,
i: xcb_present_event_iterator_t
) -> xcb_generic_iterator_t
pub unsafe fn xcb_present_event_end(
&self,
i: xcb_present_event_iterator_t
) -> xcb_generic_iterator_t
Returns a xcb_generic_iterator_t
pointing just past the end of a xcb_present_event_iterator_t
.
Returns true
iff the symbol xcb_present_event_end
could be loaded.
pub unsafe fn xcb_present_select_input_checked(
&self,
c: *mut xcb_connection_t,
eid: xcb_present_event_t,
window: xcb_window_t,
event_mask: u32
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_select_input_checked(
&self,
c: *mut xcb_connection_t,
eid: xcb_present_event_t,
window: xcb_window_t,
event_mask: u32
) -> xcb_void_cookie_t
Sends a Present::SelectInput
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_request_check
.
Returns true
iff the symbol xcb_present_select_input_checked
could be loaded.
pub unsafe fn xcb_present_select_input(
&self,
c: *mut xcb_connection_t,
eid: xcb_present_event_t,
window: xcb_window_t,
event_mask: u32
) -> xcb_void_cookie_t
pub unsafe fn xcb_present_select_input(
&self,
c: *mut xcb_connection_t,
eid: xcb_present_event_t,
window: xcb_window_t,
event_mask: u32
) -> xcb_void_cookie_t
Sends a Present::SelectInput
request (unchecked).
Returns true
iff the symbol xcb_present_select_input
could be loaded.
pub unsafe fn xcb_present_query_capabilities(
&self,
c: *mut xcb_connection_t,
target: u32
) -> xcb_present_query_capabilities_cookie_t
pub unsafe fn xcb_present_query_capabilities(
&self,
c: *mut xcb_connection_t,
target: u32
) -> xcb_present_query_capabilities_cookie_t
Sends a Present::QueryCapabilities
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_present_query_capabilities_reply
.
Returns true
iff the symbol xcb_present_query_capabilities
could be loaded.
pub unsafe fn xcb_present_query_capabilities_unchecked(
&self,
c: *mut xcb_connection_t,
target: u32
) -> xcb_present_query_capabilities_cookie_t
pub unsafe fn xcb_present_query_capabilities_unchecked(
&self,
c: *mut xcb_connection_t,
target: u32
) -> xcb_present_query_capabilities_cookie_t
Sends a Present::QueryCapabilities
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_present_query_capabilities_reply
.
Returns true
iff the symbol xcb_present_query_capabilities_unchecked
could be loaded.
pub unsafe fn xcb_present_query_capabilities_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_present_query_capabilities_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_present_query_capabilities_reply_t
pub unsafe fn xcb_present_query_capabilities_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_present_query_capabilities_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_present_query_capabilities_reply_t
Waits for the reply to a Present::QueryCapabilities
request.
Returns true
iff the symbol xcb_present_query_capabilities_reply
could be loaded.
Computes the size of a xcb_present_redirect_notify_event_t
object.
Returns true
iff the symbol xcb_present_redirect_notify_sizeof
could be loaded.
pub unsafe fn xcb_present_redirect_notify_notifies(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> *mut xcb_present_notify_t
pub unsafe fn xcb_present_redirect_notify_notifies(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> *mut xcb_present_notify_t
Returns a pointer to the notifies
field of a xcb_present_redirect_notify_event_t
struct.
Returns true
iff the symbol xcb_present_redirect_notify_notifies
could be loaded.
pub unsafe fn xcb_present_redirect_notify_notifies_length(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> c_int
pub unsafe fn xcb_present_redirect_notify_notifies_length(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> c_int
Returns the number of elements of the notifies
field of a xcb_present_redirect_notify_event_t
struct.
Returns true
iff the symbol xcb_present_redirect_notify_notifies_length
could be loaded.
pub unsafe fn xcb_present_redirect_notify_notifies_iterator(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> xcb_present_notify_iterator_t
pub unsafe fn xcb_present_redirect_notify_notifies_iterator(
&self,
r: *const xcb_present_redirect_notify_event_t
) -> xcb_present_notify_iterator_t
Returns an iterator over the elements of the
notifies
field of a xcb_present_redirect_notify_event_t
struct.
Returns true
iff the symbol xcb_present_redirect_notify_notifies_iterator
could be loaded.
Loads the library from the default location, potentially loading an incompatible SO version.
For example, this function first tries to load libxcb.so.1
. If this fails, it tries
to load libxcb.so
.