Graphic Hardware
Graphic Hardware
Graphic Hardware
Hardware
Graphics Hardware
? Display Devices
– Vector Scan
• Image stored as line segments (vectors) that can be
drawn anywhere on display device
– Raster Scan
• Image stored as a 2D array of color values in a memory
area called the frame buffer
• Each value stored determines the color/intensity of an
accessible point on display device
? Both based historically on CRT (TV)
– Electron beam accelerated toward screen
• focused
• deflected
• strikes phosphorescent material on screen
-->pixel that glows
A Pixel
? Visible point where electron beam hits
screen
? Screen phosphors glow & fade
? Have a finite size
– Not a mathematical point
Resolution
? Maximum number of pixels that can be plotted
without overlap
? Expressed as: # horizontal X # vertical pixels
? Depends on:
– phosphor used
– focusing system (how small a point)
– Speed/precision of deflection system
– video memory size (raster scan)--as we'll see
Aspect Ratio
? Ratio of # of pixel columns to # of pixel rows
? Examples:
– SVGA VESA mode 100h: 640 X 400, A.R. = 1.6
– Standard Windows: 1280X1024. A.R. = 1.25
? Pixel Ratio (often called Aspect Ratio)
– Ratio of pixel height to pixel width
– Ratio of # of horizontal pixels to vertical pixels
needed to produce equal length lines
– For a square screen, A.R. = P.R.
– If Pixel Ratio != 1, figures are distorted
Dot Pitch
? Minimum distance between centers of
adjacent pixels of same color
? Should be less than 0.28 mm for sharp
images
? For fixed sized screen
– Decreasing distance between pixels ==>
Increase Resolution
– So dot pitch determines max resolution
Persistence
? After beam leaves a phosphor, it fades
? Definition of persistence:
– Time to reduce initial intensity to 10% of original value
– Value depends on type of phosphor (10 - 100 msec.)
? Finite persistence==>screen must be redrawn
– Refresh rate determined by persistence
? Example: If persistence = 20 msec
– 1st pixel on screen invisible after that time ==>
• screen must be refreshed once every 20 msec
• so refresh rate must be > 50 Hz.
? If refresh is too slow: flicker
? If refresh is too fast: shadowing
(ghosting)
Disadvantages to DVST
? No selective erase
– whole image or nothing
? No animation
? Low light output
– poor contrast
– must use in subdued light
? No color
? No area fill
Interlaced Displays
? All even then all odd screen lines scanned
? Typically 1/60 second each
– Same image presented twice in 1/30 second
– Image changed at 1/2 non-interlaced frequency
• less demands on image generation system
• can be less expensive
• 30 Hz is borderline for flicker
• lower quality image (seeing half the image at a time)
Color Graphics on a PC
? Graphics capabilities depend on display
adapter (video card) in the system
? Historical development:
– CGA (Color Graphics Adapter)
– EGA (Enhanced Graphics Adapter)
– VGA (Video Graphics Array)
– Many different types of SVGA cards
– Each display adapter can function in many
different text and graphics modes
– Backwards compatibility
SVGA Adapters
? Many manufacturers
? Each designed differently
– Each programmed differently at the pixel
level
– No compatibility
– Most compliant with VESA standards
• so VESA SVGA modes can be programmed
with relative ease
• often at the expense of performance