Theory of Computation & Computer Graphics — Introduction of Computer Graphics, NEC licence examination syllabus (Nepal Engineering Council).
Offloading the grunt work of "drawing," so the main CPU doesn't have to.
A display processor (the conceptual ancestor of a modern GPU) is dedicated hardware that takes high-level drawing commands and handles the actual work of converting them into pixel data in the frame buffer — freeing the main CPU to focus on everything else the program needs to do.
The gain is not simply having a second processor. It is that graphics work is the same small operation repeated over millions of pixels, and that shape of problem suits hardware built specifically for it far better than a general-purpose CPU.
A CPU is optimised to run varied instructions quickly one after another. A display processor — and its descendant the GPU — is optimised to run one instruction across enormous numbers of data items simultaneously. Filling a million pixels is a million independent, identical operations, which is exactly the case where that design wins.Scan conversionTurning "draw a line from A to B" into the specific pixels that approximate it.
RefreshRe-reading the frame buffer to the screen dozens of times a second, endlessly.
Region fillSetting large blocks of pixels to a colour.
TransformationsApplying the matrices from the transformation chapters to every vertex of a model.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…