… | |
… | |
212 | |
212 | |
213 | rxvt_screen (); |
213 | rxvt_screen (); |
214 | #endif |
214 | #endif |
215 | |
215 | |
216 | void set (rxvt_display *disp); |
216 | void set (rxvt_display *disp); |
217 | void select_visual (int bitdepth); |
217 | void select_visual (int id); |
|
|
218 | void select_depth (int bitdepth); // select visual by depth |
218 | void clear (); |
219 | void clear (); |
219 | }; |
220 | }; |
220 | |
221 | |
221 | enum { |
222 | enum |
|
|
223 | { |
222 | DISPLAY_HAS_RENDER = 1 << 0, |
224 | DISPLAY_HAS_RENDER = 1 << 0, |
223 | DISPLAY_HAS_RENDER_10 = 1 << 1, |
|
|
224 | DISPLAY_HAS_RENDER_MUL = 1 << 2, |
|
|
225 | DISPLAY_HAS_RENDER_CONV = 1 << 3, |
225 | DISPLAY_HAS_RENDER_CONV = 1 << 1, |
226 | }; |
226 | }; |
227 | |
227 | |
228 | struct rxvt_display : refcounted |
228 | struct rxvt_display : refcounted |
229 | { |
229 | { |
230 | event_vec<xevent_watcher> xw; |
230 | event_vec<xevent_watcher> xw; |