3lcomputer Graphics
3lcomputer Graphics
Video Controller
A fixed area of the system memory is reserved for the frame buffer, and the video controller is given direct access to the frame buffer memory.
Video Controller
Frame buffer location, and the corresponding screen positions, are referenced in Cartesian coordinates.
Video Controller
Scan lines are then labeled from ymax at the top of the screen to 0 at the bottom. Along each scan line, screen pixel positions are labeled from 0 to xmax.
y max y max
x max x max
Video Controller
Two registers are used to store the coordinates of the screen pixels.
Raster Scan Generator
x Register
y Register
Memory Address
Frame Buffer
Video Controller
Some of operations can be performed by the Video Controller: Refreshing operation
Transformation (Areas of the screen can be enlarged, reduces, or moved during the refresh cycles)
A raster system containing a separate display processor (graphics controller, display coprocessor) The purpose of the DP is to free the CPU from the graphics chores.
DP
A major task of the display processor is Scan Conversion. Scan Conversion: is digitizing a picture definition given in an application program into a set of pixel intensity values for storage in the frame buffer.( scan conversion straight line segment, Character ) Generation various line styles (dashed, dotted, or solid)