HP Workstation zx2000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 21

Enumerated Types for GLX Visual Transparency, Extended Area, Enumerated Types, Description

Page 21 highlights

overview of OpenGL Enumerated Types for GLX Visual Information Extended Area Enumerated Types Description Visual Type Visual Transparency Capabilities GLX_TRUE_COLOR_EXT, GLX_DIRECT_COLOR_EXT, GLX_PSEUDO_COLOR_EXT, GLX_STATIC_COLOR_EXT* GLX_GRAY_SCALE_EXT* GLX_STATIC_GRAY_EXT* Default: N/A Values associated with the GLX_X_VISUAL_TYPE_EXT eumerated type GLX_NONE__EXT, GLX_TRANSPARENT_RGB_EXT* GLX_TRANSPARENT_INDEX_EXT Default: GLX_NONE_EXT Values associated with the GLX_TRANSPARENT_TYPE_EXT enumerated type *These enumerated types are supported through the GLX client-side API library, but there are currently no HP X Server GLX visuals with these capabilities. They can still be used to query any Server and will operate properly if connected to a non-HP server with GLX support for these visual capabilities. The enumerated types listed below can be used only through glXGetConfig when it is known that the GLX visual being queried supports transparency or in other words, has a GLX_TRANSPARENT_TYPE_EXT property other than GLX_NONE_EXT. Enumerated Types for GLX Visual Transparency Extended Area Enumerated Types Description Transparency Index GLX_TRANSPARENT_INDEX_VALUE_EXT, for PseudoColor Default: N/A Visuals Returns the Pixel Index for the transparent color in a GLX_TRANSPARENT_INDEX_ EXT visual Transparency Values for RGBA Visuals GLX_TRANSPARENT_RED_VALUE_EXT GLX_TRANSPARENT_GREEN_VALUE_EXT GLX_TRANSPARENT_BLUE_VALUE_EXT GLX_TRANSPARENT_ALPHA_VALUE_EXT Default: N/A Returns the RGBA data values for the transparent color in a GLX_TRANSPARENT_RGB_EXT GLX visual (not supported on HP servers) OpenGL implementation guide 1-17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

OpenGL implementation guide
1–17
overview of OpenGL
The enumerated types listed below can be used only through
glXGetConfig
when it is known
that the GLX visual being queried supports transparency or in other words, has a
GLX_TRANSPARENT_TYPE_EXT
property other than
GLX_NONE_EXT
.
Enumerated Types for GLX Visual Transparency
Enumerated Types for GLX Visual Information
Extended Area
Enumerated Types
Description
Visual Type
GLX_TRUE_COLOR_EXT,
GLX_DIRECT_COLOR_EXT,
GLX_PSEUDO_COLOR_EXT,
GLX_STATIC_COLOR_EXT*
GLX_GRAY_SCALE_EXT*
GLX_STATIC_GRAY_EXT*
Default: N/A
Values associated with the
GLX_X_VISUAL_TYPE_EXT
eumerated type
Visual Transparency
Capabilities
GLX_NONE__EXT,
GLX_TRANSPARENT_RGB_EXT*
GLX_TRANSPARENT_INDEX_EXT
Default: GLX_NONE_EXT
Values associated with the
GLX_TRANSPARENT_TYPE_EXT
enumerated type
*These enumerated types are supported through the GLX client-side API library, but there are currently no HP X Server GLX
visuals with these capabilities. They can still be used to query any Server and will operate properly if connected to a
non-HP server with GLX support for these visual capabilities.
Extended Area
Enumerated Types
Description
Transparency Index
for PseudoColor
Visuals
GLX_TRANSPARENT_INDEX_VALUE_EXT,
Default: N/A
Returns the Pixel Index for the
transparent color in a
GLX_TRANSPARENT_INDEX_
EXT visual
Transparency
Values for RGBA
Visuals
GLX_TRANSPARENT_RED_VALUE_EXT
GLX_TRANSPARENT_GREEN_VALUE_EXT
GLX_TRANSPARENT_BLUE_VALUE_EXT
GLX_TRANSPARENT_ALPHA_VALUE_EXT
Default: N/A
Returns the RGBA data values
for the transparent color in a
GLX_TRANSPARENT_RGB_EXT
GLX visual (not supported on
HP servers)