Window Conditions

Performance Optimized For:

Factors Affecting Performance:

• Window unobscured or obscured only by

Window obscured by many other image

overlay windows

plane windows

 

Backing store enabled (on supported

 

 

devices)

FillArea Primitives

Performance Optimized For:

Factors Affecting Performance:

• Best: shared vertex primitives with many

• More than 64 vertices in a single facet

vertices:

• Multiple Fill Areas in a set

o

PEXTriangleStrip,

• Color approximation type PEXColorRange

 

PEXExtTriangleStrip,

• Polygon offset ON (except when supported

o

PEXOCCTriangleStrip

 

by hardware)

PEXSetOfFillAreaSets,

2D polygons:

 

PEXExtSetOfFillAreaSets,

 

o

PEXFillAreaSet2D,

 

PEXOCCIndexedFillAreaSets

 

o

 

 

PEXFillArea2D

PEXOCCTriangles

These vertex data:

o

PEXQuadrilateralMesh,

 

o

PEXColorTypeIndexed color

 

PEXExtQuadrilateralMesh,

 

o No vertex normals (when lighting is

 

PEXOCCQuadrilateralMesh

 

 

 

 

enabled)

• Good: single-polygon primitives:

 

 

 

 

 

o

PEXFillAreaSetWithData,

 

 

 

 

PEXExtFillAreaSetWithData,

 

 

 

 

PEXFillAreaSet,

 

 

 

 

PEXOCCFillAreaSet, PEXFillArea,

 

 

 

 

PEXFillAreaWithData

 

 

 

• Color approximation type PEXColorSpace

 

 

 

• Best: edging off

 

 

 

Fair: edging on

 

 

 

Polyline Primitives

Performance Optimized For:

Factors Affecting Performance:

• Best: polylines with or without move/draw

These vertex data:

flags, many vertices per call:

 

o Color per vertex

o

PEXPolylineSetWithData (single

 

(PEXColorTypeIndexed or

 

set), PEXOCCPolylines

PEXColorTypeRGB)

• Polyline sets with multiple short disjoint

Color approximation type

sets:

PEXPolylineSetWithData (multiple

 

PEXColorRange

o

 

 

 

sets)

 

 

• Single short polylines:

 

 

o

PEXPolyline, PEXOCCPolyline

 

 

Page 107

Graphics Administration Guide for HP-UX 10.20