open-src/data/ogl-select/ogl-select.man
changeset 970 272328fe1b4a
child 977 46c5e46c27fb
equal deleted inserted replaced
969:f3e9f1ddd6a8 970:272328fe1b4a
       
     1 '\" t
       
     2 .\" Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
       
     3 .\"
       
     4 .\" Permission is hereby granted, free of charge, to any person obtaining a
       
     5 .\" copy of this software and associated documentation files (the "Software"),
       
     6 .\" to deal in the Software without restriction, including without limitation
       
     7 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
       
     8 .\" and/or sell copies of the Software, and to permit persons to whom the
       
     9 .\" Software is furnished to do so, subject to the following conditions:
       
    10 .\"
       
    11 .\" The above copyright notice and this permission notice (including the next
       
    12 .\" paragraph) shall be included in all copies or substantial portions of the
       
    13 .\" Software.
       
    14 .\"
       
    15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    16 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    17 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
       
    18 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    19 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    20 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
       
    21 .\" DEALINGS IN THE SOFTWARE.
       
    22 .\" 
       
    23 .ds q \N'34'
       
    24 .TH ogl-select 1 "2 Jul 2010"
       
    25 .SH NAME
       
    26 ogl-select \- boot time selection of OpenGL vendor files 
       
    27 .PP
       
    28 .SH DESCRIPTION
       
    29 .I ogl-select
       
    30 is a service for the Service Management Facility (SMF) under
       
    31 the identifier \fIsvc:/application/opengl/ogl-select\fP
       
    32 that determines at boot time which vendor supplied OpenGL headers
       
    33 and libraries will be used.  The selection of the OpenGL vendor
       
    34 should be automatic and in most cases will not require any
       
    35 configuration.  However, for system configurations with special
       
    36 needs a property can be used to select the vendor.  The property
       
    37 is described in the SMF PROPERTIES section below. 
       
    38 .PP
       
    39 The SMF method performs the automatic probe by querying the
       
    40 device driver attached to the primary framebuffer device, /dev/fb.
       
    41 If the name reported by the driver matches the value advertised
       
    42 by a vendor registry, the rules in the vendor registry will be
       
    43 used to select the OpenGL headers and libraries.  The name reported
       
    44 by the driver can be verfied with \fIconstype\fP(1).  If the system
       
    45 configuration does not match the desired OpenGL vendor, a SMF
       
    46 property can be used to force the vendor selection.
       
    47 .SH SMF PROPERTIES
       
    48 .PP
       
    49 Configuration properties for \fBogl-select\fP program are
       
    50 managed by the service management facility, \fBsmf\fR(5), under the service 
       
    51 identifier:
       
    52 .PP
       
    53 .nf
       
    54 svc:/application/opengl/ogl-select
       
    55 .fi
       
    56 Use \fBsvccfg\fR(1M) to make configuration changes and to view configuration 
       
    57 information for this service\&. 
       
    58 .PP
       
    59 These properties may be set for ogl-select:
       
    60 .TP
       
    61 .B options/vendor 
       
    62 (Type astring) The vendor tag to use for selecting the OpenGL headers
       
    63 and libraries, overriding the results of the automatic probe.  Available
       
    64 vendors can be found with 'ls /lib/opengl/ogl_select/*_vendor_select'.
       
    65 If the property is set to an unknown vendor tag, the method will default
       
    66 to "mesa".  Setting the property to "" or "notset" causes it to be ignored
       
    67 and the results of the automatic probe are used instead.  The default
       
    68 value is "notset". 
       
    69 .TP
       
    70 .SH FILES
       
    71 .TP 30
       
    72 .I /var/svc/manifest/opengl/ogl-select.xml
       
    73 The SMF manifest
       
    74 .TP 30
       
    75 .I /lib/svc/method/ogl-select
       
    76 The SMF method run by the manifest
       
    77 .TP 30
       
    78 .I /lib/opengl/ogl_select/\fB*\fP_vendor_select
       
    79 Vendor registry files scanned by the manifest
       
    80 .PP
       
    81 .SH SEE ALSO
       
    82 .PP
       
    83 \fIsmf\fP(5), \fIsvcadm\fP(1M), \fIsvccfg\fP(1M)
       
    84 .SH ATTRIBUTES
       
    85 See
       
    86 .BR attributes (5)
       
    87 for descriptions of the following attributes:
       
    88 .sp
       
    89 .TS
       
    90 box;
       
    91 cbp-1 | cbp-1
       
    92 l | l .
       
    93 ATTRIBUTE TYPE	ATTRIBUTE VALUE
       
    94 =
       
    95 Availability	pkg:/service/application/opengl/ogl-select
       
    96 Interface Stability	Uncommitted
       
    97 .TE
       
    98