Viewing a single comment thread. View all comments

Iz-kan-reddit t1_j6m4buu wrote

To dumb it down some more, the CPU tells the GPU to draw a 45 degree line from A (pixel point 1, 1) to B (pixel point 1,000,1,000.)

The GPU puts a pixel at A, then adds 1 to each coordinate and puts a pixel there (at point 2,2.) It repeats this 999 times until it gets to B.

In this case, the math is really simple. X+1, Y+1. Rinse and repeat.

A CPU can do that simple math, but a GPU can do even that simple math faster. The more complicated the calculations are, the more advantage the GPU has, as the CPU is a jack of all trades, while a GPU is a math wizard.

4