XGL Reference Manual

Total Page:16

File Type:pdf, Size:1020Kb

XGL Reference Manual XGL Reference Manual Sun Microsystems, Inc. 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. A Sun Microsystems, Inc. Business 1997 Sun Microsystems, Inc., 2550 Garcia Avenue, Mountain View, California 94043-1100 USA. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, SunSoft, SunDocs, SunExpress, XGL, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun(TM) Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun's licensees who implement OPEN LOOK GUIs and otherwise comply with Sun's written license agreements. RESTRICTED RIGHTS: Use, duplication, or disclosure by the U.S. Government is subject to restrictions of FAR 52.227- 14(g)(2)(6/87) and FAR 52.227-19(6/87), or DFAR 252.227-7015(b)(6/95) and DFAR 227.7202-3(a). DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. XGL Graphics Library Intro ( 3 ) NAME intro − introduces the XGL graphics library DESCRIPTION These Reference Manual pages describe the syntax for using the operators (functions) and attributes in the XGL Graphics Library. Special sections immediately following this introduction describe the XGL enumerated types, XGL macro values, XGL point list struc- tures, and XGL data structures. The next two sections describe, in alphabetical order, the XGL attributes and operators. The XGL programming paradigm is built around objects, which are instances of abstract data types. The application can create an object and apply operators to it. The applica- tion cannot, however, extend the de®nition of an object or modify the behavior of opera- tors. Therefore, XGL is not an object-oriented programming system, although its design does incorporate some object-oriented concepts. The XGL operators are standard C language library calls and are documented as such. Note that some operators can take a variable number of parameters. For example, the operator xgl_object_set is described this way: #include <xgl/xgl.h> void xgl_object_set ( Xgl_object obj, <attribute-list> attributes ); The ®rst parameter is of the type Xgl_object, which is a handle to the XGL object data. The next argument, whose type is shown as <attribute-list>,isavariable length list of attribute-value pairs. A zero (ASCII NULL character) is used to mark the end of the list. Each XGL object has a set of attributes associated with it. An attribute is a named ®eld inside the object. The application can set an attribute's value, or it can retrieve its value, or both. The documentation for the XGL attributes speci®es the C data type needed for setting the attribute and the C data type needed for getting (retrieving) its value. The fol- lowing example describes how to set and get the attribute XGL_CTX_LINE_WIDTH_SCALE_- FACTOR(3), which controls the width of lines in the Context object. #include <xgl/xgl.h> Xgl_ctx ctx; xgl_object_set(ctx, XGL_CTX_LINE_WIDTH_SCALE_FACTOR, ¯oat, 0); xgl_object_get(ctx, XGL_CTX_LINE_WIDTH_SCALE_FACTOR, ¯oat ∗); This notation indicates that to set the attribute value, the application passes a ¯oat, and to get the value, the application passes a pointer to a ¯oat, which is overwritten with a new value. Naming Scheme The XGL library de®nes symbols that start with XGL, Xgl, xgl, XGLI, Xgli, and xgli. The application program should not de®ne any symbols (type names, enumerated values, cpp de®nitions, function names, and so on) beginning with these pre®xes. modi®ed August 1994 1 Intro ( 3 ) XGL Graphics Library Printed Manual vs. Most attributes and operators are discussed on their own separate manual page. In some On-line Manual cases, however, several related attributes are discussed together on a single manual page. In the printed reference manual, only the page where they are discussed is printed, but for the on-line manual, you can use man (1) for any of the topics discussed on that page. For example, both XGL_3D_CTX_SURF_BACK_AMBIENT(3) and XGL_3D_CTX_SURF_FRONT_- AMBIENT(3) are discussed on the page for XGL_3D_CTX_SURF_FRONT_AMBIENT(3). In the printed reference manual, you will ®nd only the page for XGL_3D_CTX_SURF_FRONT_- AMBIENT(3) printed. You can look up XGL_3D_CTX_SURF_BACK_AMBIENT(3) in the index to see where it is discussed. You can issue either of the following commands for the on-line version, however: man XGL_3D_CTX_SURF_BACK_AMBIENT man XGL_3D_CTX_SURF_FRONT_AMBIENT You can also access the following descriptions of other aspects of XGL: Data Structures described in xgl_struct(3) Enumerated Types described in xgl_enum_types(3) Macro Values described in xgl_macro_values(3) Point Lists described in xgl_pt_list(3) Object Types described on their individual man pages XGL_2D_CTX(3) XGL_3D_CTX(3) XGL_CGM_DEV(3) XGL_CMAP(3) XGL_DMAP_TEXTURE(3) XGL_GCACHE(3) XGL_LIGHT(3) XGL_LPAT(3) XGL_MARKER(3) XGL_MEM_RAS(3) XGL_MIPMAP_TEXTURE(3) XGL_PCACHE(3) XGL_SFONT(3) XGL_STREAM(3) XGL_SYS_STATE(3) XGL_TMAP(3) XGL_TRANS(3) XGL_WIN_RAS(3) 2 modi®ed August 1994 XGL Graphics Library Intro ( 3 ) modi®ed August 1994 3 xgl_enum_types( 3 ) XGL Graphics Library NAME xgl_enum_types − XGL Enumerated Types DESCRIPTION This section lists the different C enumerated types XGL uses. The types appear with brief descriptions explaining their use, and they are listed by name in alphabetical order. Accumulation Buffer Depth typedef enum { XGL_ACCUM_DEPTH_1X, XGL_ACCUM_DEPTH_2X } Xgl_accum_depth; Arc Fill Styles Choices available for XGL_CTX_ARC_FILL_STYLE(3). Used when rendering arcs with xgl_- multiarc(3). typedef enum { XGL_ARC_OPEN, XGL_ARC_SECTOR, XGL_ARC_CHORD } Xgl_arc_®ll_style; Axes Used for Rotation Transforms typedef enum { XGL_AXIS_X, XGL_AXIS_Y, XGL_AXIS_Z } Xgl_axis; Bounding Box Data Types typedef enum { XGL_BBOX_I2D, XGL_BBOX_F2D, XGL_BBOX_F3D, XGL_BBOX_STATUS, XGL_BBOX_D2D, XGL_BBOX_D3D } Xgl_bbox_type; Blend Equation typedef enum { XGL_BLEND_NONE, XGL_BLEND_ARBITRARY_BG, XGL_BLEND_CONST_BG, 4 modi®ed February 1995 XGL Graphics Library xgl_enum_types( 3 ) XGL_BLEND_ADD_TO_BG } Xgl_blend_eq; Blend Draw Modes typedef enum { XGL_BLEND_DRAW_ALL, XGL_BLEND_DRAW_NOT_BLENDED, XGL_BLEND_DRAW_BLENDED } Xgl_blend_draw_mode; Status Returned by xgl_context_display_gcache typedef enum { XGL_CACHE_NOT_CHECKED,/∗displayed but not check ∗/ XGL_CACHE_DISPLAY_OK,/∗display OK on this ctx ∗/ XGL_CACHE_ATTR_STATE_DIFFERENT /∗ something in this cache's ∗ saved attribute state is ∗ different from the state in ctx ∗/ } Xgl_cache_display; Homogeneous Color Type typedef enum { XGL_COLOR_RGBW } Xgl_color_homogeneous_type; Color Types typedef enum { XGL_COLOR_INDEX, XGL_COLOR_GRAY, XGL_COLOR_RGB, XGL_COLOR_Z } Xgl_color_type; Curve Approximation Methods Choices available for XGL_CTX_NURBS_CURVE_APPROX(3). Used when rendering curves with xgl_nurbs_curve(3), and when rendering 3D circles using xgl_multicircle(3). typedef enum { XGL_CURVE_UNUSED,/∗was XGL_CURVE_CONST_PARAM_SUBDIV ∗/ XGL_CURVE_CONST_PARAM_SUBDIV_BETWEEN_KNOTS, XGL_CURVE_METRIC_WC, XGL_CURVE_METRIC_VDC, XGL_CURVE_METRIC_DC, XGL_CURVE_CHORDAL_DEVIATION_WC, XGL_CURVE_CHORDAL_DEVIATION_VDC, XGL_CURVE_CHORDAL_DEVIATION_DC, modi®ed February 1995 5 xgl_enum_types( 3 ) XGL Graphics Library XGL_CURVE_RELATIVE_WC, XGL_CURVE_RELATIVE_VDC, XGL_CURVE_RELATIVE_DC } Xgl_curve_approx; Data Types The data types supported within XGL for geometric representation of data, transforma- tions, and internal calculations. typedef enum { XGL_DATA_INT,/∗32-bit integer ∗/ XGL_DATA_FLT, /∗ single precision ¯oating point ∗/ XGL_DATA_DBL /∗ double precision ¯oating point ∗/ } Xgl_data_type; Deferral Modes Choices available for XGL_CTX_DEFERRAL_MODE(3). Used to specify whether to buffer rendering operations. typedef enum { XGL_DEFER_ASTI, XGL_DEFER_ASAP } Xgl_deferral_mode; Depth Cue Modes Choices available for XGL_3D_CTX_DEPTH_CUE_MODE(3). Used to specify the kind of depth-cueing desired. typedef enum { XGL_DEPTH_CUE_OFF, XGL_DEPTH_CUE_LINEAR, XGL_DEPTH_CUE_SCALED } Xgl_depth_cue_mode; Graphics Library Error Categories typedef enum { XGL_ERROR_SYSTEM, XGL_ERROR_CONFIGURATION, XGL_ERROR_RESOURCE, XGL_ERROR_ARITHMETIC, XGL_ERROR_USER } Xgl_error_category; 6 modi®ed February 1995 XGL Graphics
Recommended publications
  • Sun Ultratm 5 Workstation Just the Facts
    Sun UltraTM 5 Workstation Just the Facts Copyrights 1999 Sun Microsystems, Inc. All Rights Reserved. Sun, Sun Microsystems, the Sun logo, Ultra, PGX, PGX24, Solaris, Sun Enterprise, SunClient, UltraComputing, Catalyst, SunPCi, OpenWindows, PGX32, VIS, Java, JDK, XGL, XIL, Java 3D, SunVTS, ShowMe, ShowMe TV, SunForum, Java WorkShop, Java Studio, AnswerBook, AnswerBook2, Sun Enterprise SyMON, Solstice, Solstice AutoClient, ShowMe How, SunCD, SunCD 2Plus, Sun StorEdge, SunButtons, SunDials, SunMicrophone, SunFDDI, SunLink, SunHSI, SunATM, SLC, ELC, IPC, IPX, SunSpectrum, JavaStation, SunSpectrum Platinum, SunSpectrum Gold, SunSpectrum Silver, SunSpectrum Bronze, SunVIP, SunSolve, and SunSolve EarlyNotifier are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd. OpenGL is a registered trademark of Silicon Graphics, Inc. Display PostScript and PostScript are trademarks of Adobe Systems, Incorporated, which may be registered in certain jurisdictions. Netscape is a trademark of Netscape Communications Corporation. DLT is claimed as a trademark of Quantum Corporation in the United States and other countries. Just the Facts May 1999 Positioning The Sun UltraTM 5 Workstation Figure 1. The Ultra 5 workstation The Sun UltraTM 5 workstation is an entry-level workstation based upon the 333- and 360-MHz UltraSPARCTM-IIi processors. The Ultra 5 is Sun’s lowest-priced workstation, designed to meet the needs of price-sensitive and volume-purchase customers in the personal workstation market without sacrificing performance.
    [Show full text]
  • Trabajo Practico De Teoría De Aplicación a La Informática 2
    Trabajo Practico de Teoría de Aplicación a la Informática 2 XGL: aceleración OpenGL para el escritorio del sistema operativo Linux Nicolás González Oddone Universidad Católica Nuestra Señora de la Asunción 20 de setiembre de 2006 Breve historia del Xgl Xgl es concebido para proveer un servidor X basado en GL para escribir en el stack GL, proveyendo asi de un contexto OpenGL para que algun cliente OpenGL pueda hacer uso de este contexto y realize funciones de compisiting. Xgl fue desarrollado originalmente a través de listas de mail publicas, pero por un largo tiempo y hasta hasta el 2 de enero del 2006 la mayoría del desarrollo de Xgl se realizo a puertas cerradas por el equipo de desarrollo de escritorio de Novell. Ese 2 de enero el código volvió a liberarse al publico y fue incluido en freedesktop.org, junto con una reestructuración mayor para soporte mas amplio de drivers de display. En febrero del 2006 el servidor gano publicidad al ser exhibido por equipo de escritorio de Novell en una manera similar a la que se podrá apreciar en breve. Antes que nada es importante familiarizarse con algunos términos que serán necesarios para entender el funcionamiento del XGL y la comunicación del mismo con los servidores de ventanas del escritorio y los protocolos de comunicación utilizados. Comunicación entre el Xorg, Xgl y el cliente OpenGL, a través de libGL y el protocolo GLX Las aplicaciones X11 se comunican con el servidor utilizando libX11, una aplicación OpenGL se comunica con las extensiones GLX y al driver 3D utilizando libGL.
    [Show full text]
  • High Level Interface to Graphics and Zebra User's Guide User's Guide
    CERN Program Library Long Writeups Q120 and Y251 High Level Interface to Graphics and Zebra User’s Guide User’s Guide Application Software and Databases Computing and Networks Division CERN Geneva, Switzerland Copyright Notice CERN Program Library entries Q120 and Y251 HIGZ – High level Interface to Graphics and Zebra HPLOT – User’s Guide ⃝c Copyright CERN, Geneva 1998 Copyright and any other appropriate legal protection of these computer programs and associated documentation reserved in all countries of the world. These programs or documentation may not be reproduced by any method without prior written con- sent of the Director-General of CERN or his delegate. Permission for the usage of any programs described herein is granted apriori to those scientific institutes associated with the CERN experimental program or with whom CERN has concluded a scientific collaboration agreement. Requests for information should be addressed to: CERN Program Library Office CERN-IT Division CH-1211 Geneva 23 Switzerland Tel. +41 22 767 4951 Fax. +41 22 767 8630 Email: [email protected] Trademark notice: All trademarks appearing in this guide are acknowledged as such. Contact Person: Olivier Couet /IT ([email protected]) Technical Realization: Michel Goossens /IT ([email protected]) Edition – July 1998 i Preliminary remarks This guide conbines the user documentation for both the HIGZ (Part I) and HPLOT (Part II) packages. They are implemented on various mainframes (e.g. IBM VM/CMS, Cray and VAX/VMS) and Unix workstations (e.g. HP, Apollo, Ultrix, IBM RS6000, Silicon Graphics and Sun). HIGZ has been designed to provide basic graphics functions similar to GKS.
    [Show full text]
  • Beyond Eye Candy
    COVER STORY Xgl and Compiz An OpenGL-accelerated desktop with Xgl and Compiz BEYOND EYE CANDY www.sxc.hu A member of Suse’s X11 team delivers an insider’s look at Xgl. agement must work hand in hand, we can expect to see more compositing BY MATTHIAS HOPF window managers in the future with the ability to merge both processes. ac fans were ecstatic when The Render extension adds new basic Another important X server compo- Apple introduced the Quartz primitives for displaying images and nent that desperately needs reworking is MExtreme [1] graphics interface, polygons, along with a new glyph sys- the hardware acceleration architecture, which accelerated desktop effects using tem for enhanced font displays. This which is responsible for efficient hard- 3D hardware. Microsoft’s Windows Vista particularly reflects the fact that the leg- ware representation of graphic com- with its Aero technology looks to close acy graphics commands, called core re- mands. The previous XAA architecture is this gap with the Mac. In the world of quests, no longer meet the demands built around core requests, and is there- Linux, Xgl [2] now provides a compara- placed on modern toolkits such as Qt fore difficult to extend. The architecture ble and even more advanced technology and GTK. All primitives can now be outlived its usefulness and needs replac- that supports similar effects. linked to data in the framebuffer using ing. The most promising alternatives are Xgl is an X Server by David Revemann Porter-Duff operators [3], thus support- EXA and OpenGL. that uses OpenGL to implement graphics ing the rendering of semitransparent sur- EXA is straightforward and easy to im- output.
    [Show full text]
  • Opengl and the Linux Desktop LIFE in 3D New Technologies Will Change the Way You View the Objects on Your Linux Desktop
    The Future of Linux Graphics COVER STORY OpenGL and the Linux desktop LIFE IN 3D New technologies will change the way you view the objects on your Linux desktop. BY JOE CASAD he X graphics system has been at antiquated design of the X system is not, specification originally created by Silicon the heart of the Unix GUI desktop on its own, flexible enough to support Graphics. The OpenGL specification pro- Tsince 1984. Of course, its hori- this kind of performance. vides a standard for vendors to create zons expanded slowly. In the early years, In the Linux world, wherever you find graphics programming interfaces. The no one knew they even needed a graph- a very big and intriguing question, you purpose of OpenGL is to provide a single ics subsystem, and if anyone did venture can bet that someone out there is work- interface that gives graphics programs a out to try X with one of the few applica- ing on the answer. A solution to the wor- standard way of talking to graphics hard- tions that supported it, they needed to ries of the restless graphics developers is ware. One of the reasons why OpenGL be ready for late nights of tinkering. converging now around the emergence is necessary is that graphics hardware But the X system kept getting better, of two very important developments: vendors are busy with their own experi- and the X protocol, with its surrounding • Extensions to X that offer increased ments to deliver richer graphics and bet- technologies, served a key role in the flexibility and shortcuts around some ter performance to their customers.
    [Show full text]
  • Redhawk Linux Version 5.1.3 Release Notes Iii Contents
    Version 5.1.3 Release Notes Linux January 2009 0898003-5.1.3 ® READREAD MEME BEFOREBEFORE INSTALLINGINSTALLING THISTHIS PRODUCTPRODUCT Disclaimer The information contained in this document is subject to change without notice. Concurrent Computer Corporation has taken efforts to remove errors from this document, however, Concurrent Computer Corporation’s only liability regarding errors that may still exist is to correct said errors upon their being made known to Concurrent Computer Corporation. License Duplication of this manual without the written consent of Concurrent Computer Corporation is prohibited. Any copy of this manual reproduced with permission must include the Concurrent Computer Corporation copyright notice. Trademark Acknowledgments Concurrent Computer Corporation and its logo are registered trademarks of Concurrent Computer Corporation. All other Concurrent product names are trademarks of Concurrent while all other product names are trademarks or registered trademarks of their respective owners. Linux® is used pursuant to a sublicense from the Linux Mark Institute. © 2009 Concurrent Computer Corporation – All Rights Reserved Concurrent Computer Corporation 2881 Gateway Drive Pompano Beach, FL 33069 Note: Information subject to change without notice. Chapter 0 Contents 1.0 Introduction . 1 1.1 Product Description . 1 1.2 Product Media . 2 1.3 Version Numbers . 3 1.4 System Updates . 4 1.5 Syntax Notation . 4 2.0 Documentation . 5 2.1 RedHawk Linux Documentation . 5 2.2 Vendor Documentation . 6 3.0 Prerequisites . 7 3.1 Software . 7 3.2 Hardware . 7 4.0 Changes in this Release . 8 4.1 Kernel Updates . 8 4.2 Enhancements in Version 5.1 . 9 4.2.1 RedHawk based on RHEL 5.1 .
    [Show full text]
  • New Evolutions in the X Window System
    New Evolutions in the X Window System Matthieu Herrb∗ and Matthias Hopf† October 2005 Abstract This paper presents an overview of recent and on-going evolutions in the X window system. First, the state of some features will be presented that are already available for several months in the X server, but not yet widely used in applications. Then some ongoing and future evolutions will be shown: on the short term, the new EXA acceleration framework and the new modular- ized build system. The last part will focus on a longer term project: the new Xgl server architecture, based on the OpenGL technology for both 2D and 3D acceleration. Introduction The X window system celebrated its twentieth birthday last year. After some quick evolution in its early years, its development slowed down during the nineties, be- cause the system had acquired a level of maturity that made it fit most of the needs of the users of graphical work stations. But after all this time, pushed by the com- petition with other systems (Mac OS X and Microsoft Windows) the need for more advanced graphics features triggered new developments. The first part of this paper is going to describe some of these features that are already available (and have been used) for a couple of years but not necessarily known by users of the X window system. A second part will address some on-going work that will be part of the X11R7 release: a new 2D acceleration architecture and the modularization of the source tree. In the third part, a complete redesign of the device dependent layer of the X server, based on OpenGL, will be presented.
    [Show full text]
  • Инструкция По Установке Multiseat Xgl На Ubuntu
    Инструкция по настройке Multiseat Поддубный Виталий ООО «Манускрипт Солюшн» г.Тула e-mail: [email protected] 27.12.2008г. Обновлено: 31.07.2011г. ВВЕДЕНИЕ Среди современных офисных компьютеров трудно найти такие, ресурсы которых использова- лись хотя бы на одну треть. С развитием фирмы как правило возникает потребность в новых рабо- чих местах, на которые нужно приобретать дополнительные компьютеры. Если Ваш компьютер страдает от избыточной мощности и вы желаете её задействовать, при этом сэкономив до 40% на покупке нового компьютера, эта статья Ð для Вас. В данной статье рассматривается возможность организации на одном компьютере сразу несколь- ких рабочих мест. В разных источниках этот способ может называться Multiterminal, Multistation, Multihead, Multiseat и т. д. Мы же для простоты будем называть его последним термином - «муль- тисит». В системах Линукс есть несколько вариантов реализации мультисита. Самый популярный из них Ð за счёт X-сервера Xorg с драйверами evdev (это единственный вариант, который реализуется по принципу «1видеокарта = 1 монитор», все остальные рассмотренные ниже варианты позволяют реа- лизовать мультисит даже на одной видеокарте с двумя выходами). Принцип действия заключается в том, что на каждой видеокарте стартует отдельный сеанс X- сервера. Этот вариант наиболее надёжен, стабилен, плюс ещё на каждом месте работает 3D- ускорение, следовательно на одном компьютере можно не только вдвоём работать, но и играть, всё зависит от мощности «железа». Раньше этот вариант был самым дорогим в плане стоимости комплектующих, нужно было покупать материнские платы с двумя разъёмами PCI-E и две видео- карты. Реализовать его на «офисных» материнских платах было очень тяжело, поскольку встроен- ная видеокарта отключалась при установке внешней, старые видеокарты PCI найти практически не- возможно, а новые (серии Matrox G450/550 и Nvidia Quadro NVS280) стоят очень дорого.
    [Show full text]
  • Развитие И Применение Основных Концепций X Window System
    Графические Системы. Часть II Лекция № 8 Развитие и применение основных концепций создания GUI, сформулированных в стандарте X11 Развитие и применение основных концепций X Window System. Итак, как показывает многолетняя практика развития концепций X Window System, этот стандарт доказал свою жизнеспособность и актуальность. X Window System — оконная система, обеспечивающая стандартные инструменты и протоколы для построения графического интерфейса пользователя. X Window System обеспечивает базовые функции графической среды: отрисовку и перемещение окон на экране, взаимодействие с мышью и клавиатурой. X Window System не определяет деталей интерфейса пользователя — этим занимаются менеджеры окон, которых разработано множество. В X Window System предусмотрена сетевая прозрачность: графические приложения могут выполняться на другой машине в сети, а их интерфейс при этом будет передаваться по сети и отображаться на локальной машине пользователя (в случае если это разрешено в настройках). В контексте X Window System термины «клиент» и «сервер» имеют непривычное для многих пользователей значение: «сервер» означает локальный дисплей пользователя (дисплейный сервер), а «клиент» — программу, которая этот дисплей использует (она может выполняться на удалённом компьютере). В настоящее время выпущена версия X11R7.5, базирующаяся на X.Org Server ("X.Org Foundation Open Source Public Implementation of X11") — свободной реализации сервера X Window System с открытым кодом. Текущая стабильная версия 1.16.2 является частью X11R7.7; выпущена в ноябре 2014. Развитие и применение основных концепций X Window System. X.Org Server применяется во многих вариантах Linux и BSD, за исключением NetBSD, где используется XFree86. В Solaris на платформе x86 также часто используется X.Org Server, однако в Solaris SPARC обычно используют Xsun, проприетарный X-сервер от Sun Microsystems. В будущих версиях OpenSolaris для обеих платформ планируется перейти на X.Org Server.
    [Show full text]
  • Fun with the Linux Desktop
    Fun with the Linux Desktop 3D-Desktop with XGL/AIGLX and compiz come2linux, Essen, 9. + 10.9.2006 Hanno Böck, http://www.hboeck.de/ Why we want fancy desktops? ● Can improve usability (virtual desktop -> side of a cube) ● A nicer system »feels« more usable ● People like MacOS X, there must be a reason Linux-Desktop in the past ● Xfree86 - very slow develop-ment, rarely new features ● »Nice« stuff only with strange workarounds (kompose, 3ddesk) ● E17 - the default desktop for GNU Hurd? Xorg ● Spring 2004 - license change at xfree86 ● Xorg-project forks last version ● Lot's of new development: composite, modularization, xgl, aiglx Composite Extension ● Renders window-content offscreen ● xcompmgr lets you have shadows and transparent windows ● Not very spectacular, but base for future stuff First look on XGL and friends ● Summer 2005, first impressions of XGL, rotating cube ● Around the same time, Luminocity presents wobbly windows XGL ● David Reveman (Novell) ● Xserver based on OpenGL ● (currently) Xserver on another Xserver ● All cards with DRI EGL/XEGL ● Problem: XGL needs already running Xserver ● EGL: direct interface to GL, no Xserver needed ● XEGL: XGL running on EGL ● Not working yet Compiz ● Composite and Windowmanager ● Very modular ● Lot's of plugins - rotating cube, wobbly windows AIGLX ● Kristian Høgsberg, Fedora ● Extension to already existing Xserver ● Same functionality as XGL ● All cards with free drivers We need better drivers ● Fast ● Stable ● Full-Featured ● Free! Binary drivers suck ● Security, Bugs ● Functionality (Composite,
    [Show full text]
  • XGL Architecture Guide
    XGL Architecture Guide 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. A Sun Microsystems, Inc. Business 1995 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Portions of this product may be derived from the UNIX® system, licensed from UNIX System Laboratories, Inc., a wholly owned subsidiary of Novell, Inc., and from the Berkeley 4.3 BSD system, licensed from the University of California. Third-party software, including font technology in this product, is protected by copyright and licensed from Sun’s suppliers. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR 52.227-19. The product described in this manual may be protected by one or more U.S. patents, foreign patents, or pending applications. TRADEMARKS Sun, Sun Microsystems, the Sun logo, SunSoft, the SunSoft logo, Solaris, SunOS, OpenWindows, DeskSet, ONC, ONC+, NFS, and XGL are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd. OPEN LOOK is a registered trademark of Novell, Inc.
    [Show full text]
  • Object-Oriented Applications Development with Nextstep Large and Medium-Sized Enterprise
    Object-Oriented Applications Development With NeXTstep large and medium-sized enterprise. But building Object-Oriented custom applications is proving to be very difficult. The demand for graphical user interfaces has risen Applications sharply, placing greater demands on developers. And even without the demand for friendlier appli- Development cations, MIS groups are faced with a three-to seven- year backlog of new applications to build and old With NeXTstep applications to maintain. One response has been to port applications from Executive Summary mainframes to workstations. A related response has Rapid development and deployment of mis- been to upgrade to machines with faster processors. sion-critical custom software applications But neither downsizing nor increasing the raw are key to success in the 1990’s. This paper horsepower available to programmers has produced describes the advantages of developing those applications more rapidly or with appreciably more applications using NeXTstep, the industry’s functionality than older mainframe software. most extensive object-oriented systems soft- ware. NeXTstep’s advantages include its Why? While desktop computing has made great thorough object orientation and its inte- leaps in performance, doubling in power every two grated set of development tools. years, improvements in the way software is written Programmers can develop applications five to ten times faster since they need to write have occurred at a snail's pace. The porting of cor- less code. Benefits also include reduced learn- porate applications from mainframes to networks of ing time, improved maintainability and workstations has not remedied the problem, since reliability, code reusability, increased pro- downsizing has often meant simply using old devel- gramming flexibility, and the ability to opment tools and methods on faster workstations.
    [Show full text]