Everything2
Near Matches
Ignore Exact
Full Text
Everything2

display list

created by ymelup

(thing) by ymelup (2.1 y) (print)   ?   (I like it!) Sat Aug 04 2001 at 14:52:42

A construct used in Computer Graphics, most frequently in association with OpenGL.

It works something like this: you have a sequence of graphical operations for drawing something like, say, a teapot. Now, you could write a sequence of commands that set up the colours and textures, then draw the geometry for it and so on, and every time you wanted to draw a teapot, you could call those same commands again.

This is fine, but it is slow, for a few reasons. Firstly, there is the cost of calling functions (e.g. for every polygon, you might have to call several functions. Secondly, it can't really live on the graphics hardware, since it's just a sequence of function calls. Thirdly, it's hard for the driver to optimise the calls or reorder them for improved performance.

The solution? Create a display list. Rather than calling the commands directly, you tell your graphics API: here are a sequence of commands I want you to execute the next time I tell you to. Usually, that sequence of commands would do something useful, e.g. draw a teapot. Now that you've explicitly told it the sequence of commands, it can overcome all of the problems mentioned above -- there's an overhead in constructing the list the first time, but then after that, it's a single function call and all the info is stored on the driver/hardware/server side.

There are disadvantages: Typically, you can not modify a display list once it's created. If you wanted to, say have a teapot with a spout that grew and shrunk, you'd have to create another display list every time. Secondly, there's a small overhead in calling a display list, so if it's only a few commands long, it's not worth doing it this way.


printable version
chaos

Utah Teapot OpenGL cole slaw teapot
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
The Star Trek Project
Tejano
Comfort women
Alex the Parrot
The Alice in Wonderland Project
Oedipus-Schmedipus, as long as he loves his mother
Teach your million tiny babies to parasail
spelling reform
A survival guide for the professionally outraged - constructing umbrage from common household items
satellites fallen from grace
lawnjart
resurrection
Jerilderie Letter
New Writeups
Aerobe
Watch out for falling meat(poetry)
C-Dawg
Beelzebub has a devil put aside for me(fiction)
Pavlovna
My Better Half(fiction)
kanoodle
Molson muscle(essay)
aneurin
You pays your money and you takes your choice(idea)
shaogo
July 20, 2008(log)
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
John_Fox
Good Intentions Gone Wrong(person)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
This page courtesy of The Everything Development Company