home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XdbeGetVisualInfo(3X11) X FUNCTIONS XdbeGetVisualInfo(3X11)
-
-
- NNAAMMEE
- XdbeGetVisualInfo
-
- SSYYNNOOPPSSIISS
- #include <X11/extensions/Xdbe.h>
-
- XdbeScreenVisualInfo *XdbeGetVisualInfo(
- Display *dpy,
- Drawable *screen_specifiers,
- int *num_screens)
-
- DDEESSCCRRIIPPTTIIOONN
- This function returns information about which visuals sup-
- port double buffering. The argument _n_u_m___s_c_r_e_e_n_s specifies
- how many elements there are in the _s_c_r_e_e_n___s_p_e_c_i_f_i_e_r_s list.
- Each drawable in _s_c_r_e_e_n___s_p_e_c_i_f_i_e_r_s designates a screen for
- which the supported visuals are being requested. If
- _n_u_m___s_c_r_e_e_n_s is zero, information for all screens is
- requested. In this case, upon return from this function,
- _n_u_m___s_c_r_e_e_n_s will be set to the number of screens that were
- found. If an error occurs, this function returns NULL,
- else it returns a pointer to a list of _X_d_b_e_S_c_r_e_e_n_V_i_s_u_a_l_-
- _I_n_f_o structures of length _n_u_m___s_c_r_e_e_n_s_. The nth element in
- the returned list corresponds to the nth drawable in the
- _s_c_r_e_e_n___s_p_e_c_i_f_i_e_r_s list, unless _n_u_m___s_c_r_e_e_n_s was passed in
- with the value zero, in which case the nth element in the
- returned list corresponds to the nth screen of the server,
- starting with screen zero. The _X_d_b_e_S_c_r_e_e_n_V_i_s_u_a_l_I_n_f_o
- structure has the following fields:
-
- int count
- XdbeVisualInfo *visinfo
-
- _c_o_u_n_t specifies the number of items in _v_i_s_i_n_f_o_. _v_i_s_i_n_f_o
- specifies a list of visuals, depths, and performance hints
- for this screen.
-
- The _X_d_b_e_V_i_s_u_a_l_I_n_f_o structure has the following fields:
-
- VisualID visual
- int depth
- int perflevel
-
- _v_i_s_u_a_l specifies one visual ID that supports double-
- buffering. _d_e_p_t_h specifies the depth of the visual. _p_e_r_-
- _f_l_e_v_e_l is a performance hint.
-
- The only operation defined on a _p_e_r_f_l_e_v_e_l is comparison to
- a _p_e_r_f_l_e_v_e_l of another visual on the same screen. The
- visual having the higher _p_e_r_f_l_e_v_e_l is likely to have bet-
- ter double-buffering graphics performance than the visual
- having the lower _p_e_r_f_l_e_v_e_l_. Nothing can be deduced from
- the following: the magnitude of the difference of two _p_e_r_-
- _f_l_e_v_e_l_s_, a _p_e_r_f_l_e_v_e_l value in isolation, or comparing
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XdbeGetVisualInfo(3X11) X FUNCTIONS XdbeGetVisualInfo(3X11)
-
-
- _p_e_r_f_l_e_v_e_l_s from different servers.
-
-
- EERRRROORRSS
- BadDrawable
- One or more values passed in _s_c_r_e_e_n___s_p_e_c_i_f_i_e_r_s is
- not a valid drawable.
-
- SSEEEE AALLSSOO
- DBE, _X_d_b_e_A_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e_(_)_, _X_d_b_e_B_e_g_i_n_I_d_i_o_m_(_)_, _X_d_b_e_-
- _D_e_a_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e_(_)_, _X_d_b_e_E_n_d_I_d_i_o_m_(_)_, _X_d_b_e_F_r_e_e_V_i_s_u_-
- _a_l_I_n_f_o_(_)_, _X_d_b_e_G_e_t_B_a_c_k_B_u_f_f_e_r_A_t_t_r_i_b_u_t_e_s_(_)_, _X_d_b_e_Q_u_e_r_y_E_x_t_e_n_-
- _s_i_o_n_(_)_, _X_d_b_e_S_w_a_p_B_u_f_f_e_r_s_(_)_.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-