Download ppt - Video Driver

Transcript
Page 1: Video Driver

ComputerGraphics mjb – April 2, 2007

VideoDriver

CPU

InputDevices

Double-bufferedFramebuffers

Rasterizer

Cursor

VideoInput

Bus

Network DisplayList

Texture Memory

Z-Buffer

Front

Back

MC Vertices

SC Vertices

Pixel Parameters

RGBAZPixels

MC = Model CoordinatesWC = World CoordinatesEC = Eye CoordinatesCC = Clip CoordinatesNDC = Normalized Device CoordinatesSC = Screen CoordinatesTC = Texture Coordinates

RGBATexels

TC

ShaderMemory

Varying variables

Varying variables

Attributevariables

Uniformvariables

gluLookAt Projection Viewport

NDCECWCMC SCHomogeneous

Division

CC

Uniformvariables

A Hardware-eye View of the Graphics Process

VertexProcessor

FragmentProcessor

Transform

Page 2: Video Driver

ComputerGraphics mjb – April 2, 2007

CPU

Rasterizer

VertexProcessor

Bus

FragmentProcessor

Vertices

Pixels

A Shader-eye View of the Graphics Process

Interpolated Values

AssembleGeometry

Transformed Vertices

Assembled Primitive

Page 3: Video Driver

ComputerGraphics mjb – April 2, 2007

Vertices

CPU

Rasterizer

VertexProcessor

Bus

FragmentProcessor

Pixels

A Shader-eye View of the Graphics Process, with Geometry Shaders

Interpolated Values

Transformed Vertices

Assembled Primitive

Create NewGeometry

Assemble NewGeometry

AssembleGeometry

Page 4: Video Driver

ComputerGraphics mjb – April 2, 2007

Color, LightIntensity

Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity,

Varying Variables are Interpolated by the Rasterizer

Rasterizer

FragmentProcessor

Page 5: Video Driver

ComputerGraphics mjb – April 2, 2007

In Hardware, it’s Really Parallel-Processed

Rasterizer

Vertex

Processor

Fragment

Processor

RGBAZPixels

Fragment

Processor

Fragment

Processor

Fragment

Processor

RGBAZPixels

RGBAZPixels

RGBAZPixels

Vertex

Processor

Vertex

Processor

Vertex

Processor

MC Vertices


Recommended