// opcode 74 - poly text8 /** * @see <a href="XDrawText.html">XDrawText</a> */ public void poly_text(GC gc, int x, int y, Text [] texts) { Request request = new Request(display, 74, 4 + Data.unit(length(texts, 8))); request.write4(id); request.write4(gc.id); request.write2(x); request.write2(y); for (int i = 0; i < texts.Length; i++) { if (texts [i].font != null) { request.write1(255); // font-shift indicator request.write4(texts [i].font.id); // java = MSB } request.write1(texts [i].s.Length); request.write1(texts [i].delta); request.write1(texts [i].s); } display.send_request(request); }
// opcode 22 - set selection owner /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XSetSelectionOwner.html">XSetSelectionOwner</a> */ public void set_selection_owner (Atom selection, int time) { Request request = new Request (display, 22, 4); request.write4 (id); request.write4 (selection.id); request.write4 (time); display.send_request (request); }
// opcode 89 - store colors /** * @see <a href="XStoreColors.html">XStoreColors</a> */ public void store_colors(int [] pixels, bool [] do_reds, bool [] do_greens, bool [] do_blues, RGB [] rgbs) { Request request = new Request(display, 89, 2 + 3 * pixels.Length); request.write4(id); for (int i = 0; i < pixels.Length; i++) { request.write4(pixels [i]); request.write2(rgbs [i].red); request.write2(rgbs [i].green); request.write2(rgbs [i].blue); int do_color = 0; if (do_reds [i]) { do_color |= 0x01; } if (do_greens [i]) { do_color |= 0x02; } if (do_blues [i]) { do_color |= 0x04; } request.write1(do_color); request.write1_unused(); } display.send_request(request); }
// xtest opcode 1 - compare cursor /** * @param cursor possible: * {@link Cursor#NONE}, * {@link Cursor#CURRENT} * * @see <a href="XTestCompareCursorWithWindow.html"> * XTestCompareCursorWithWindow</a> */ public bool compare_cursor(Window window, Cursor cursor) { Request request = new Request (display, major_opcode, 1, 3); request.write4 (window.id); request.write4 (cursor.id); return display.read_reply (request).read_bool (1); }
// opcode 90 - store named color /** * @see <a href="XStoreNamedColor.html">XStoreNamedColor</a> */ public void store_named_color(int pixel, String name, bool do_reds, bool do_greens, bool do_blues) { int do_color = 0; if (do_reds) { do_color |= 0x01; } if (do_greens) { do_color |= 0x02; } if (do_blues) { do_color |= 0x04; } Request request = new Request(display, 90, do_color, 4 + Data.unit(name)); request.write4(id); request.write4(pixel); request.write2(name.Length); request.write1(name); display.send_request(request); }
// opcode 39 - get motion events /** * @param start possible: {@link Display#CURRENT_TIME} * @param stop possible: {@link Display#CURRENT_TIME} * @see <a href="XGetMotionEvents.html">XGetMotionEvents</a> */ public MotionEventsReply motion_events (int start, int stop) { Request request = new Request (display, 39, 4); request.write4 (id); request.write4 (start); request.write4 (stop); return new MotionEventsReply (display.read_reply (request)); }
// opcode 7 - reparent window /** * @see <a href="XReparentWindow.html">XReparentWindow</a> */ public void reparent (Window parent, int x, int y) { Request request = new Request (display, 7, 4); request.write4 (id); request.write4 (parent.id); request.write2 (x); request.write2 (y); display.send_request (request); }
// opcode 25 - send event /** * @see <a href="XSendEvent.html">XSendEvent</a> */ public void send_event (bool propagate, int event_mask, Event evt) { Request request = new Request (display, 25, propagate, 11); request.write4 (id); request.write4 (event_mask); request.write1 (evt.data); display.send_request (request); }
// opcode 57 - copy gc /** * @see <a href="XCopyGC.html">XCopyGC</a> */ public void copy(GC dest, int mask) { Request request = new Request(display, 57, 4); request.write4(id); request.write4(dest.id); request.write4(mask); display.send_request(request); }
// render opcode 5 - change picture /** * @see <a href="XRenderChangePicture.html">XRenderChangePicture</a> */ public void change(Attributes attr) { Request request = new Request (display, render.major_opcode, 5, 5+attr.count ()); request.write4 (id); request.write4 (attr.bitmask); attr.write (request); display.send_request (request); }
// opcode 78 - create colormap /** * @param alloc valid: * {@link #NONE}, * {@link #ALL} * * @see <a href="XCreateColormap.html">XCreateColormap</a> */ public Colormap(Window window, int visual_id, bool alloc_all) : base(window.display) { Request request = new Request (display, 78, alloc_all, 4); request.write4 (id); request.write4 (window.id); request.write4 (visual_id); display.send_request (request); }
// render opcode 17 - create glyph set /** * @see <a href="XRenderCreateGlyphSet.html">XRenderCreateGlyphSet</a> */ public GlyphSet(Render render, Picture.Format format) : base(render.display) { this.render = render; Request request = new Request (display, render.major_opcode, 17, 3); request.write4 (id); request.write4 (format.id ()); display.send_request (request); }
// opcode 30 - change active pointer grab /** * @param cursor possible: {@link Cursor#NONE} * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XChangeActivePointerGrab.html"> * XChangeActivePointerGrab</a> */ public void change_active_pointer_grab(int event_mask, Cursor cursor, int time) { Request request = new Request(display, 30, 4); request.write4(cursor.id); request.write4(time); request.write2(event_mask); display.send_request(request); }
// evi opcode 1 - get visual info /** * @see <a href="XeviGetVisualInfo.html">XeviGetVisualInfo</a> */ public VisualInfoReply visual_info(Visual [] visuals) { Request request = new Request (display, major_opcode, 1, 1); request.write4 (visuals.Length); for (int i=0; i<visuals.Length; i++) request.write4 (visuals [i].id ()); return new VisualInfoReply (display, display.read_reply (request)); }
// opcode 78 - create colormap /** * @param alloc valid: * {@link #NONE}, * {@link #ALL} * * @see <a href="XCreateColormap.html">XCreateColormap</a> */ public Colormap(Window window, int visual_id, bool alloc_all) : base(window.display) { Request request = new Request(display, 78, alloc_all, 4); request.write4(id); request.write4(window.id); request.write4(visual_id); display.send_request(request); }
// render opcode 18 - reference glyph set /** * @see <a href="XRenderReferenceGlyphSet.html"> * XRenderReferenceGlyphSet</a> */ public GlyphSet(GlyphSet src) : base(src.display) { render = src.render; Request request = new Request (display, render.major_opcode, 18, 3); request.write4 (id); request.write4 (src.id); display.send_request (request); }
// opcode 31 - grab keyboard /** * @param pointer_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param keyboard_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param time possible: {@link Display#CURRENT_TIME} * * @return valid: * {@link #SUCCESS}, * {@link #ALREADY_GRABBED}, * {@link #FROZEN}, * {@link #INVALID_TIME}, * {@link #NOT_VIEWABLE} * * @see <a href="XGrabKeyboard.html">XGrabKeyboard</a> */ public int grab_keyboard (bool owner_events, int pointer_mode, int keyboard_mode, int time) { Request request = new Request (display, 31, owner_events, 4); request.write4 (id); request.write4 (time); request.write1 (pointer_mode); request.write1 (keyboard_mode); return display.read_reply (request).read1 (1); }
// opcode 55 - create gc /** * @see <a href="XCreateGC.html">XCreateGC</a> */ public void create(Drawable drawable, Values values) { Request request = new Request(display, 55, 4 + values.count()); request.write4(id); request.write4(drawable.id); request.write4(values.bitmask); values.write(request); display.send_request(request); }
// opcode 40 - translate coordinates /** * @see <a href="XTranslateCoordinates.html">XTranslateCoordinates</a> */ public CoordinateReply translate_coordinates (Window src, int src_x, int src_y) { Request request = new Request (display, 40, 4); request.write4 (src.id); request.write4 (id); request.write2 (src_x); request.write2 (src_y); return new CoordinateReply (display.read_reply (request)); }
// opcode 114 - rotate properties /** * @see <a href="XRotateWindowProperties.html"> * XRotateWindowProperties</a> */ public void rotate_properties (Atom [] properties, int delta) { Request request = new Request (display, 114, 3+properties.Length); request.write4 (id); request.write2 (properties.Length); request.write2 (delta); for (int i=0; i<properties.Length; i++) request.write4 (properties [i].id); display.send_request (request); }
// opcode 80 - copy colormap and free public Colormap copy_and_free(int new_id) { Colormap new_map = new Colormap(display, new_id); Request request = new Request(display, 80, 3); request.write4(new_id); request.write4(id); display.send_request(request); return(new_map); }
// opcode 20 - get property /** * @see <a href="XGetWindowProperty.html">XGetWindowProperty</a> */ public PropertyReply property (bool delete, Atom property, Atom type, int offset, int length) { Request request = new Request (display, 20, delete, 6); request.write4 (id); request.write4 (property.id); request.write4 (type.id); request.write4 (offset); request.write4 (length); return new PropertyReply (display.read_reply (request)); }
// glx opcode 5 - create glx pixmap /** * @see <a href="glXCreateGLXPixmap.html">glXCreateGLXPixmap</a> */ public Pixmap(GLX glx, int screen_no, gnu.x11.Visual visual, gnu.x11.Pixmap pixmap) : base(glx.display) { Request request = new Request (display, glx.major_opcode, 5, 5); request.write4 (screen_no); request.write4 (visual.id ()); request.write4 (pixmap.id); request.write4 (id); display.send_request (request); }
// opcode 24 - convert selection /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XConvertSelection.html">XConvertSelection</a> */ public void convert_selection (Atom selection, Atom target, Atom property, int time) { Request request = new Request (display, 24, 6); request.write4 (id); request.write4 (selection.id); request.write4 (target.id); request.write4 (property.id); request.write4 (time); display.send_request (request); }
// opcode 77 - image text16 /** * @see <a href="XDrawImageString16.html">XDrawImageString16</a> */ public void image_text16(GC gc, int x, int y, String s) { Request request = new Request(display, 77, s.Length / 2, 4 + Data.unit(s)); request.write4(id); request.write4(gc.id); request.write2(x); request.write2(y); request.write1(s); display.send_request(request); }
// opcode 53 - create pixmap /** * @see <a href="XCreatePixmap.html">XCreatePixmap</a> */ public Pixmap(Drawable drawable, int width, int height, int depth) : base(drawable.display) { this.width = width; this.height = height; Request request = new Request (display, 53, depth, 4); request.write4 (id); request.write4 (drawable.id); request.write2 (width); request.write2 (height); display.send_request (request); }
// opcode 88 - free colors /** * @see <a href="XFreeColors.html">XFreeColors</a> */ public void free_colors(int [] pixels, int plane_mask) { Request request = new Request(display, 88, 3 + pixels.Length); request.write4(id); request.write4(plane_mask); for (int i = 0; i < pixels.Length; i++) { request.write4(pixels [i]); } display.send_request(request); }
// opcode 53 - create pixmap /** * @see <a href="XCreatePixmap.html">XCreatePixmap</a> */ public Pixmap(Drawable drawable, int width, int height, int depth) : base(drawable.display) { this.width = width; this.height = height; Request request = new Request(display, 53, depth, 4); request.write4(id); request.write4(drawable.id); request.write2(width); request.write2(height); display.send_request(request); }
// opcode 41 - warp pointer /** * @param src possible: {@link #NONE} * @see <a href="XWarpPointer.html">XWarpPointer</a> */ public void warp_pointer (Window src, int src_x, int src_y, int src_width, int src_height, int dest_x, int dest_y) { Request request = new Request (display, 41, 6); request.write4 (src.id); request.write4 (id); request.write2 (src_x); request.write2 (src_y); request.write2 (src_width); request.write2 (src_height); request.write2 (dest_x); request.write2 (dest_y); display.send_request (request); }
// opcode 26 - grab pointer /** * @param pointer_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param keyboard_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param confine_to possible: {@link #NONE} * @param cursor possible: {@link Cursor#NONE} * @param time possible: {@link Display#CURRENT_TIME} * * @return valid: * {@link #SUCCESS}, * {@link #ALREADY_GRABBED}, * {@link #FROZEN}, * {@link #INVALID_TIME}, * {@link #NOT_VIEWABLE} * * @see <a href="XGrabPointer.html">XGrabPointer</a> */ public int grab_pointer (bool owner_events, int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor, int time) { Request request = new Request (display, 26, owner_events, 6); request.write4 (id); request.write2 (event_mask); request.write1 (pointer_mode); request.write1 (keyboard_mode); request.write4 (confine_to.id); request.write4 (cursor.id); request.write4 (time); return display.read_reply (request).read1 (1); }
// render opcode 4 - create picture /** * @see <a href="XRenderCreatePicture.html">XRenderCreatePicture</a> * @see Render#create_picture(Drawable, Picture.Format, * Picture.Attributes) */ public Picture(Render render, Drawable drawable, Format format, Attributes attr) : base(render.display) { this.render = render; Request request = new Request (display, render.major_opcode, 4, 5+attr.count ()); request.write4 (id); request.write4 (drawable.id); request.write4 (format.id ()); request.write4 (attr.bitmask); attr.write (request); display.send_request (request); }
public Enum colors(int [] pixels) { Request request = new Request(display, 91, 2 + pixels.Length); request.write4(id); for (int i = 0; i < pixels.Length; i++) { request.write4(pixels [i]); } Data reply = display.read_reply(request); return(new ColormapEnum(reply, 32, reply.read2(8))); }
// opcode 35 - allow events /** * @param mode valid: * {@link #ASYNC_POINTER}, * {@link #SYNC_POINTER}, * {@link #REPLY_POINTER}, * {@link #ASYNC_KEYBOARD}, * {@link #SYNC_KEYBOARD}, * {@link #REPLY_KEYBOARD}, * {@link #ASYNC_BOTH}, * {@link #SYNC_BOTH} * * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XAllowEvents.html">XAllowEvents</a> */ public void allow_events(int mode, int time) { Request request = new Request(display, 35, mode, 2); request.write4(time); display.send_request(request); }
// opcode 27 - ungrab pointer /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XUngrabPointer.html">XUngrabPointer</a> */ public void ungrab_pointer(int time) { Request request = new Request(display, 27, 2); request.write4(time); display.send_request(request); }
// opcode 47 - query font /** * @see <a href="XQueryFont.html">XQueryFont</a> */ public FontReply info() { Request request = new Request (display, 47, 2); request.write4 (id); return new FontReply (display.read_reply (request)); }
// opcode 62 - copy area /** * @see <a href="XCopyArea.html">XCopyArea</a> */ public void copy_area(Drawable src, GC gc, int src_x, int src_y, int width, int height, int dst_x, int dst_y) { Request request = new Request(display, 62, 7); request.write4(src.id); request.write4(id); request.write4(gc.id); request.write2(src_x); request.write2(src_y); request.write2(dst_x); request.write2(dst_y); request.write2(width); request.write2(height); display.send_request(request); }
// opcode 82 - uninstall colormap /** * @see <a href="XUninstallColormap.html">XUninstallColormap</a> */ public void uninstall() { Request request = new Request(display, 82, 2); request.write4(id); display.send_request(request); }
// opcode 28 - grab button /** * @param button possible: {@link #ANY_BUTTON} * @param modifiers possible: {@link #ANY_MODIFIER} * @param pointer_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param keyboard_mode valid: * {@link #SYNCHRONOUS}, * {@link #ASYNCHRONOUS} * * @param confine_to possible: {@link #NONE} * @param cursor possible: {@link Cursor#NONE} * @see <a href="XGrabButton.html">XGrabButton</a> */ public void grab_button (int button, int modifiers, bool owner_events, int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor) { Request request = new Request (display, 28, owner_events, 6); request.write4 (id); request.write2 (event_mask); request.write1 (pointer_mode); request.write1 (keyboard_mode); request.write4 (confine_to.id); request.write4 (cursor.id); request.write1 (button); request.write1_unused (); request.write2 (modifiers); display.send_request (request); }
// opcode 79 - free colormap /** * @see <a href="XFreeColormap.html">XFreeColormap</a> */ public void free() { Request request = new Request(display, 79, 2); request.write4(id); display.send_request(request); }
// opcode 32 - ungrab keyboard /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XUngrabKeyboard.html">XUngrabKeyboard</a> */ public void ungrab_keyboard(int time) { Request request = new Request(display, 32, 2); request.write4(time); display.send_request(request); }
// xc-misc opcode 2 - get xid list public Enum xid_list(int count) { Request request = new Request (display, major_opcode, 2, 2); request.write4 (count); Data reply = display.read_reply (request); return new Enum (reply, 32, reply.read4 (8)); }
// opcode 48 - query text extents /** * @see <a href="XQueryTextExtents.html">XQueryTextExtents</a> */ public TextExtentReply text_extent(String s) { Request request = new Request (display, 48, s.Length % 2 == 1, 2+Data.unit (s)); request.write4 (id); request.write1 (s); return new TextExtentReply (display.read_reply (request)); }
// opcode 97 - query best size /** * @param klass valid: * {@link #CURSOR}, * {@link #TILE}, * {@link #STIPPLE} * * @see <a href="XQueryBestSize.html">XQueryBestSize</a> */ public Size best_size(int klass, int width, int height) { Request request = new Request (display, 97, 3); request.write4 (id); request.write2 (width); request.write2 (height); Data reply = display.read_reply (request); return new Size (reply.read2 (8), reply.read2 (10)); }
// opcode 45 - open font /** * @see <a href="XLoadFont.html">XLoadFont</a> */ public Font(Display display, String name) : base(display) { this.name = name; Request request = new Request (display, 45, 3+Data.unit (name)); request.write4 (id); request.write2 (name.Length); request.write2_unused (); request.write1 (name); display.send_request (request); }
// opcode 84 - alloc color /** * @see <a href="XAllocColor.html">XAllocColor</a> */ public Color alloc_color(int red, int green, int blue) { Request request = new Request (display, 84, 4); request.write4 (id); request.write2 (red); request.write2 (green); request.write2 (blue); Data reply = display.read_reply (request); Color color = new Color (reply.read4 (16)); color.exact = new RGB (reply.read2 (8), reply.read2 (10), reply.read2 (12)); return color; }
// render opcode 26 - fill rectangles /** * @see <a href="XRenderFillRectangle.html">XRenderFillRectangle</a> */ public void fill_rectangle(int op, Color color, int x, int y, int width, int height) { Request request = new Request (display, render.major_opcode, 26, 7); request.write1 (op); request.write3_unused (); request.write4 (id); request.write2 (x); request.write2 (y); request.write2 (width); request.write2 (height); request.write2 (color.red); request.write2 (color.green); request.write2 (color.blue); request.write2 (color.alpha); display.send_request (request); }
// opcode 30 - change active pointer grab /** * @param cursor possible: {@link Cursor#NONE} * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XChangeActivePointerGrab.html"> * XChangeActivePointerGrab</a> */ public void change_active_pointer_grab(int event_mask, Cursor cursor, int time) { Request request = new Request (display, 30, 4); request.write4 (cursor.id); request.write4 (time); request.write2 (event_mask); display.send_request (request); }
// render opcode 19 - free glyph set /** * @see <a href="XRenderFreeGlyphSet.html">XRenderFreeGlyphSet</a> */ public void free() { Request request = new Request (display, render.major_opcode, 19, 2); request.write4 (id); display.send_request (request); }
// opcode 113 - kill client /** * @see <a href="XKillClient.html">XKillClient</a> */ public void kill_client(Resource resource) { Request request = new Request (this, 113, 2); request.write4 (resource.id); send_request (request); }
// render opcode 8 - scale public void scale(int color_scale, int alpha_scale, Picture src, int src_x, int src_y, int dst_x, int dst_y, int width, int height) { Request request = new Request (display, render.major_opcode, 9, 8); request.write4 (src.id); request.write4 (id); request.write4 (color_scale); request.write4 (alpha_scale); request.write2 (src_x); request.write2 (src_y); request.write2 (dst_x); request.write2 (dst_y); request.write2 (width); request.write2 (height); display.send_request (request); }
// opcode 57 - copy gc /** * @see <a href="XCopyGC.html">XCopyGC</a> */ public void copy(GC dest, int mask) { Request request = new Request (display, 57, 4); request.write4 (id); request.write4 (dest.id); request.write4 (mask); display.send_request (request); }
// opcode 35 - allow events /** * @param mode valid: * {@link #ASYNC_POINTER}, * {@link #SYNC_POINTER}, * {@link #REPLY_POINTER}, * {@link #ASYNC_KEYBOARD}, * {@link #SYNC_KEYBOARD}, * {@link #REPLY_KEYBOARD}, * {@link #ASYNC_BOTH}, * {@link #SYNC_BOTH} * * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XAllowEvents.html">XAllowEvents</a> */ public void allow_events(int mode, int time) { Request request = new Request (display, 35, mode, 2); request.write4 (time); display.send_request (request); }
// opcode 23 - get selection owner /** * @see <a href="XGetSelectionOwner.html">XGetSelectionOwner</a> */ public Window selection_owner(Atom selection) { Request request = new Request (this, 23, 2); request.write4 (selection.id); Data reply = read_reply (request); return (Window) Window.intern (this, reply.read4 (8)); }
// opcode 27 - ungrab pointer /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XUngrabPointer.html">XUngrabPointer</a> */ public void ungrab_pointer(int time) { Request request = new Request (display, 27, 2); request.write4 (time); display.send_request (request); }
// opcode 32 - ungrab keyboard /** * @param time possible: {@link Display#CURRENT_TIME} * @see <a href="XUngrabKeyboard.html">XUngrabKeyboard</a> */ public void ungrab_keyboard(int time) { Request request = new Request (display, 32, 2); request.write4 (time); display.send_request (request); }
// opcode 100 - change keyboard mapping /** * @see <a href="XChangeKeyboardMapping.html">XChangeKeyboardMapping</a> */ public void change_keyboard_mapping(int first_keycode, int keysyms_per_keycode, int [] keysyms) { int keycode_count = keysyms.Length / keysyms_per_keycode; Request request = new Request (display, 100, keycode_count, 2+keysyms.Length); request.write1 (first_keycode); request.write1 (keysyms_per_keycode); request.write2_unused (); for (int i=0; i<keysyms.Length; i++) request.write4 (keysyms [i]); display.send_request (request); }
// opcode 46 - close font /** * @see <a href="XFreeFont.html">XFreeFont</a> */ public void close() { Request request = new Request (display, 46, 2); request.write4 (id); display.send_request (request); }
// render opcode 6 - set picture clip rectangles /** * @see <a href="XRenderSetPictureClipRectangles.html"> * XRenderSetPictureClipRectangles</a> */ public void set_clip_rectangles(int x_origin, int y_origin, Rectangle [] rectangles) { Request request = new Request (display, render.major_opcode, 7, 3+2*rectangles.Length); request.write4 (id); for (int i=0; i<rectangles.Length; i++) { request.write2 (rectangles [i].x); request.write2 (rectangles [i].y); request.write2 (rectangles [i].width); request.write2 (rectangles [i].height); } display.send_request (request); }
// opcode 17 - get atom name /** * @see <a href="XGetAtomName.html">XGetAtomName</a> */ public Atom(Display display, int id, bool only_if_exists) { this.display = display; this.id = id; Request request = new Request (display, 17, 2); request.write4 (id); Data reply = display.read_reply (request); int len = reply.read2 (8); Decoder dec = Encoding.ASCII.GetDecoder(); char [] d = new char[len]; len = dec.GetChars(reply.data,32,len,d,0); name = new String (d, 0, len); display.atom_ids.Add (id, this); display.atom_names.Add (name, this); }
// glx opcode 6 - destroy glx pixmap /** * @see <a href="glXDestroyContext.html">glXDestroyContext</a> */ public void destroy() { Request request = new Request (display, glx.major_opcode, 6, 2); request.write4 (id); display.send_request (request); }