The application first needs query for the opengl extension string arb


Chapter 7.
When used properly, Quadro FX, GeForce 6 Series, and GeForce 7 Series GPUs can achieve extremely high levels of performance for video applications. This section explains some of the guidelines video developers should follow to get the most out of the GPU.
Video developers writing a playback application are concerned with uploading textures as quickly as possible to the video card. Video typically has a video frame size with a resolution that is not a power of 2, some typical video resolutions are:
| Standard Definition Video (SD) | 720 × 480i | |
|---|---|---|
| High Definition Video (HD) | 1280 × 720p |
GeForce FX Programming Tips
1.GL_TEXTURE_2D
POT (power of two) texture coordinates range from [0..uscale] x [0..vscale].
This [uscale, vscale] factor shown below handles all various image widths and heights.
|
, | v | ⎤ | = | ⎡ | NP | 2 | width | , | NP | 2 | height | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ⎢⎣ | scale | scale | ⎥⎦ | ⎢ ⎢⎣ |
POT width | POT height | |||||||||
glTexSubImage2D (GL_TEXTURE_2D, … )
7.1.2. NP2 with Mipmaps


