Window Conditions
Performance Optimized For: Factors Affecting Performance:
• Window unobscured or obscured only by
overlay windows
• Window obscured by many other image
plane windows
• Backing store enabled (on supported
devices)
FillArea Primitives
Performance Optimized For: Factors Affecting Performance:
• Best: shared vertex primitives with many
vertices:
o PEXTriangleStrip,
PEXExtTriangleStrip,
PEXOCCTriangleStrip
o PEXSetOfFillAreaSets,
PEXExtSetOfFillAreaSets,
PEXOCCIndexedFillAreaSets
o PEXOCCTriangles
o PEXQuadrilateralMesh,
PEXExtQuadrilateralMesh,
PEXOCCQuadrilateralMesh
• Good: single-polygon primitives:
o PEXFillAreaSetWithData,
PEXExtFillAreaSetWithData,
PEXFillAreaSet,
PEXOCCFillAreaSet, PEXFillArea,
PEXFillAreaWithData
• Color approximation type PEXColorSpace
• Best: edging off
Fair: edging on
• More than 64 vertices in a single facet
• Multiple Fill Areas in a set
• Color approximation type PEXColorRange
• Polygon offset ON (except when supported
by hardware)
• 2D polygons:
o PEXFillAreaSet2D,
PEXFillArea2D
• These vertex data:
o PEXColorTypeIndexed color
o No vertex normals (when lighting is
enabled)
Polyline Primitives
Performance Optimized For: Factors Affecting Performance:
• Best: polylines with or without move/draw
flags, many vertices per call:
o PEXPolylineSetWithData (single
set), PEXOCCPolylines
• Polyline sets with multiple short disjoint
sets:
o PEXPolylineSetWithData (multiple
sets)
• Single short polylines:
o PEXPolyline, PEXOCCPolyline
• These vertex data:
o Color per vertex
(PEXColorTypeIndexed or
PEXColorTypeRGB)
• Color approximation type
PEXColorRange
Graphics Administration Guide for HP-UX 10.20
Page 107