Subdividing geometry images in graphics hardware
A system may include a graphics memory, a data bus, a processor, and a vertex shader. The data bus may be operatively connected to the graphics memory. The processor may send vertex data to the graphics memory via the data bus. The vertex shader may read the vertex data from the graphics memory and may subdivide the vertex data into subdivided vertex data. The vertex shader may also write the subdivided vertex data to the graphics memory.
1. A system, comprising:
a memory to store first geometry images having a first resolution;
vertex shaders to subdivide the first geometry images into second geometry images having a second resolution higher than the first resolution and to store the second geometry images in the memory; and
pixel shaders to prepare the second geometry images for display.
2. The system of claim 1 , further comprising:
a frame buffer to buffer and output data from the pixel shaders.
3. The system of claim 1 , further comprising:
a processor to obtain the first geometry images and send the first geometry images to the memory.
4. The system of claim 3 , further comprising:
another memory to store the first geometry images for access by the processor.
5. The system of claim 1 , wherein the pixel shaders rasterize the second geometry images.
6. The system of claim 1 , wherein the second resolution is about four times greater than the first resolution.
7. A method, comprising:
storing first geometry images of a first size in a memory;
subdividing, using vertex shaders, the first geometry images into second geometry images of a second size that is larger than the first size; and
storing the second geometry images in said memory.
8. The method of claim 7 , wherein the obtaining includes:
computing the first geometry images.
9. The method of claim 7 , wherein the obtaining includes:
reading the first geometry images from a memory.
10. The method of claim 7 , wherein the second size is about four times greater than the first size.
11. The method of claim 7 , further comprising:
subdividing the second geometry images into third geometry images of a third size that is larger than the second size; and
storing the third geometry images.
12. The method of claim 7 , further comprising:
transmitting the first geometry images via a data bus before the storing the first geometry images.
13. The method of claim 7 , further comprising:
rasterizing the second geometry images.