Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 0b55f4054b6cfcfeaf8649a350a94879 > files > 1

Mesa-5.0-3mdk.ppc.rpm

;; -*-lisp-*-
;;
;; KW: New mesa configuration file, syntax following a lisp style.
;;
;; valid syntax:
;; 
;; (include filename) 
;;     - not implemented
;;
;; (config-mesa version configs)
;;
;; where:
;;    version - is the version number of mesa for which the configuration
;;    was written.  Future versions will use this to check for upwards
;;    compatibility.  There is however no guarentee that old configurations
;;    will continue to be respected.
;;
;;    configs - is a list of valid configuration lists, as specified by: 
;;
;;       (set-var variable value) - not implemented, use to augment env vars
;;       (set-env variable value) - not implemented, use to augment env vars
;;       (default-hint variable value)
;;       (disable-extension name)
;;
;; Mesa will look for an environment variable MESA_CONFIG, and try to
;; execute that profile.  Otherwise, it will fallback to the profile
;; with the same name as the current mesa version.  As default
;; profiles should normally be empty or near-empty, this should be
;; sufficiently powerful.
;;


;; Default profile - should normally be an empty list of
;; configurations.
;;
(config-mesa mesa3.1beta1 ())



;; Really is an empty config.
;;
(config-mesa empty ())



;; Turn off some compliance for the sake of speed.  
;;
(config-mesa quake2
 (
  ;; Quake2 likes this extension, but it really hurts performance if
  ;; you don't also disable software fallbacks, below.  (And do
  ;; something else to stop the eye-space calculations too...)
  ;;
  (disable-extension GL_EXT_point_parameters) 

  ;; These hints are honoured only by the 3dfx driver - the X driver
  ;; continues to function even if you specify hardware-only
  ;; rendering.
  ;;
  ;(default-hint GL_ALLOW_DRAW_OBJ_HINT_PGI GL_TRUE)   ; wishful thinking
  ;(default-hint GL_ALLOW_DRAW_WIN_HINT_PGI GL_TRUE)   ; allow 3dfx hardware...
  ;(default-hint GL_ALLOW_DRAW_SPN_HINT_PGI GL_FALSE)  ; no software spans
  ;(default-hint GL_ALLOW_DRAW_MEM_HINT_PGI GL_FALSE)  ; no softare pixels

  ;; Lock in the hints specified above.
  ;;
  (disable-extension GL_PGI_misc_hints)))